Public Member Functions | |
def | setUp (self) |
def | tearDown (self) |
def | test000 (self) |
def | test010 (self) |
def | test020 (self) |
def | test030 (self) |
def | test040 (self) |
def | test050 (self) |
def | test060 (self) |
Static Public Attributes | |
doc = FreeCAD.open(testfile) | |
job = doc.getObjectsByLabel("MainJob")[0] | |
string | testfile = FreeCAD.getHomePath() + "Mod/Path/PathTests/test_filenaming.fcstd" |
The postlist is the list of postprocessable elements from the job. The list varies depending on -The operations -The tool controllers -The work coordinate systems (WCS) or 'fixtures' -How the job is ordering the output (WCS, tool, operation) -Whether or not the output is being split to multiple files This test case ensures that the correct sequence of postable objects is created. The list will be comprised of a list of tuples. Each tuple consists of (subobject string, [list of objects]) The subobject string can be used in output name generation if splitting output the list of objects is all postable elements to be written to that file
def PathTests.TestPathPost.TestBuildPostList.setUp | ( | self | ) |
def PathTests.TestPathPost.TestBuildPostList.tearDown | ( | self | ) |
def PathTests.TestPathPost.TestBuildPostList.test000 | ( | self | ) |
def PathTests.TestPathPost.TestBuildPostList.test010 | ( | self | ) |
References PathScripts.PathCamoticsGui.CamoticsSimulation.job, PathScripts.PathJobDlg.JobTemplateExport.job, PathScripts.PathOp.ObjectOp.job, PathScripts.PathOpGui.TaskPanelPage.job, PathScripts.PathOpGui.CommandResources.job, PathScripts.PathSimulatorGui.PathSimulation.job, PathScripts.PathToolLibraryEditor.EditorPanel.job, PathTests.TestPathHelix.TestPathHelix.job, PathTests.TestPathPost.TestBuildPostList.job, PathTests.TestPathPost.TestOutputNameSubstitution.job, and PathTests.TestPathStock.TestPathStock.job.
def PathTests.TestPathPost.TestBuildPostList.test020 | ( | self | ) |
References PathScripts.PathCamoticsGui.CamoticsSimulation.job, PathScripts.PathJobDlg.JobTemplateExport.job, PathScripts.PathOp.ObjectOp.job, PathScripts.PathOpGui.TaskPanelPage.job, PathScripts.PathOpGui.CommandResources.job, PathScripts.PathSimulatorGui.PathSimulation.job, PathScripts.PathToolLibraryEditor.EditorPanel.job, PathTests.TestPathHelix.TestPathHelix.job, PathTests.TestPathPost.TestBuildPostList.job, PathTests.TestPathPost.TestOutputNameSubstitution.job, and PathTests.TestPathStock.TestPathStock.job.
def PathTests.TestPathPost.TestBuildPostList.test030 | ( | self | ) |
References PathScripts.PathCamoticsGui.CamoticsSimulation.job, PathScripts.PathJobDlg.JobTemplateExport.job, PathScripts.PathOp.ObjectOp.job, PathScripts.PathOpGui.TaskPanelPage.job, PathScripts.PathOpGui.CommandResources.job, PathScripts.PathSimulatorGui.PathSimulation.job, PathScripts.PathToolLibraryEditor.EditorPanel.job, PathTests.TestPathHelix.TestPathHelix.job, PathTests.TestPathPost.TestBuildPostList.job, PathTests.TestPathPost.TestOutputNameSubstitution.job, and PathTests.TestPathStock.TestPathStock.job.
def PathTests.TestPathPost.TestBuildPostList.test040 | ( | self | ) |
References PathScripts.PathCamoticsGui.CamoticsSimulation.job, PathScripts.PathJobDlg.JobTemplateExport.job, PathScripts.PathOp.ObjectOp.job, PathScripts.PathOpGui.TaskPanelPage.job, PathScripts.PathOpGui.CommandResources.job, PathScripts.PathSimulatorGui.PathSimulation.job, PathScripts.PathToolLibraryEditor.EditorPanel.job, PathTests.TestPathHelix.TestPathHelix.job, PathTests.TestPathPost.TestBuildPostList.job, PathTests.TestPathPost.TestOutputNameSubstitution.job, and PathTests.TestPathStock.TestPathStock.job.
def PathTests.TestPathPost.TestBuildPostList.test050 | ( | self | ) |
References PathScripts.PathCamoticsGui.CamoticsSimulation.job, PathScripts.PathJobDlg.JobTemplateExport.job, PathScripts.PathOp.ObjectOp.job, PathScripts.PathOpGui.TaskPanelPage.job, PathScripts.PathOpGui.CommandResources.job, PathScripts.PathSimulatorGui.PathSimulation.job, PathScripts.PathToolLibraryEditor.EditorPanel.job, PathTests.TestPathHelix.TestPathHelix.job, PathTests.TestPathPost.TestBuildPostList.job, PathTests.TestPathPost.TestOutputNameSubstitution.job, and PathTests.TestPathStock.TestPathStock.job.
def PathTests.TestPathPost.TestBuildPostList.test060 | ( | self | ) |
References PathScripts.PathCamoticsGui.CamoticsSimulation.job, PathScripts.PathJobDlg.JobTemplateExport.job, PathScripts.PathOp.ObjectOp.job, PathScripts.PathOpGui.TaskPanelPage.job, PathScripts.PathOpGui.CommandResources.job, PathScripts.PathSimulatorGui.PathSimulation.job, PathScripts.PathToolLibraryEditor.EditorPanel.job, PathTests.TestPathHelix.TestPathHelix.job, PathTests.TestPathPost.TestBuildPostList.job, PathTests.TestPathPost.TestOutputNameSubstitution.job, and PathTests.TestPathStock.TestPathStock.job.
|
static |
Referenced by draftguitools.gui_lineslope.LineSlope.accept(), draftguitools.gui_dimensions.Dimension.action(), draftguitools.gui_base.GuiCommandSimplest.Activated(), draftguitools.gui_beziers.BezCurve.Activated(), draftguitools.gui_beziers.CubicBezCurve.Activated(), draftguitools.gui_dimension_ops.FlipDimension.Activated(), draftguitools.gui_groups.AddToConstruction.Activated(), draftguitools.gui_heal.Heal.Activated(), draftguitools.gui_layers.Layer.Activated(), draftguitools.gui_splines.BSpline.Activated(), draftguitools.gui_wire2spline.WireToBSpline.Activated(), draftguitools.gui_lines.Line.Activated(), WorkingPlane.Plane.alignToPointAndAxis(), WorkingPlane.Plane.alignToPointAndAxis_SVG(), Mod.Show.SceneDetails.ClipPlane.ClipPlane.apply_data(), Mod.Show.SceneDetails.ObjectClipPlane.ObjectClipPlane.apply_data(), Mod.Show.SceneDetails.Pickability.Pickability.apply_data(), Mod.Show.SceneDetails.VProperty.VProperty.apply_data(), importSVG.svgHandler.characters(), draftguitools.gui_drawing.Drawing.createDefaultPage(), draftguitools.gui_fillets.Fillet.draw_arc(), importSVG.svgHandler.endElement(), draftguitools.gui_arcs.Arc_3Points.finish(), draftguitools.gui_fillets.Fillet.finish(), draftguitools.gui_arcs.Arc.finish(), draftguitools.gui_beziers.BezCurve.finish(), draftguitools.gui_beziers.CubicBezCurve.finish(), draftguitools.gui_polygons.Polygon.finish(), draftguitools.gui_rotate.Rotate.finish(), draftguitools.gui_splines.BSpline.finish(), Mod.Show.SceneDetail.SceneDetail.full_key(), draftguitools.gui_annotationstyleeditor.AnnotationStyleEditor.get_annotations(), importIFClegacy.IfcEntity.getProperties(), importIFClegacy.IfcEntity.getProperty(), draftguitools.gui_groups.AddToGroup.proceed(), draftguitools.gui_annotationstyleeditor.AnnotationStyleEditor.read_meta(), draftguitools.gui_trimex.Trimex.redraw(), draftguitools.gui_lines.Line.removeTemporaryObject(), WorkingPlane.Plane.reset(), draftguitools.gui_annotationstyleeditor.AnnotationStyleEditor.save_meta(), Mod.Show.SceneDetails.ObjectClipPlane.ObjectClipPlane.scene_value(), Mod.Show.SceneDetails.Pickability.Pickability.scene_value(), Mod.Show.SceneDetails.VProperty.VProperty.scene_value(), Mod.Show.SceneDetail.SceneDetail.set_doc(), drafttests.test_creation.DraftCreation.tearDown(), PathTests.TestPathDrillable.TestPathDrillable.tearDown(), PathTests.TestPathHelix.TestPathHelix.tearDown(), PathTests.TestPathPropertyBag.TestPathPropertyBag.tearDown(), PathTests.TestPathSetupSheet.TestPathSetupSheet.tearDown(), PathTests.TestPathToolController.TestPathToolController.tearDown(), TestSpreadsheet.SpreadsheetCases.tearDown(), PathTests.TestPathSetupSheet.TestPathSetupSheet.test00(), PathTests.TestPathUtil.TestPathUtil.test00(), PathTests.TestPathPost.TestOutputNameSubstitution.test000(), PathTests.TestPathSetupSheet.TestPathSetupSheet.test01(), PathTests.TestPathUtil.TestPathUtil.test01(), PathTests.TestPathAdaptive.TestPathAdaptive.test02(), PathTests.TestPathUtil.TestPathUtil.test02(), PathTests.TestPathAdaptive.TestPathAdaptive.test03(), PathTests.TestPathHelix.TestPathHelix.test03(), PathTests.TestPathUtil.TestPathUtil.test03(), PathTests.TestPathAdaptive.TestPathAdaptive.test04(), PathTests.TestPathHelix.TestPathHelix.test04(), PathTests.TestPathUtil.TestPathUtil.test04(), PathTests.TestPathAdaptive.TestPathAdaptive.test05(), PathTests.TestPathAdaptive.TestPathAdaptive.test06(), PathTests.TestPathAdaptive.TestPathAdaptive.test07(), PathTests.TestPathSetupSheet.TestPathSetupSheet.test13(), drafttests.test_creation.DraftCreation.test_dimension_linear_obj(), drafttests.test_creation.DraftCreation.test_dimension_radial_obj(), drafttests.test_creation.DraftCreation.test_facebinder(), drafttests.test_creation.DraftCreation.test_fillet(), drafttests.test_creation.DraftCreation.test_label(), TestSpreadsheet.SpreadsheetCases.testAggregates(), TestSpreadsheet.SpreadsheetCases.testAlias(), TestSpreadsheet.SpreadsheetCases.testAmbiguousAlias(), TestSpreadsheet.SpreadsheetCases.testBindAcrossSheets(), TestSpreadsheet.SpreadsheetCases.testBindHiddenRefAcrossSheets(), TestSpreadsheet.SpreadsheetCases.testClearAlias(), TestSpreadsheetGui.SpreadsheetGuiCases.testCopySingleCell(), TestSpreadsheet.SpreadsheetCases.testCrossDocumentLinks(), TestSpreadsheet.SpreadsheetCases.testExpressionWithAlias(), TestSpreadsheet.SpreadsheetCases.testFixPR6843(), TestSpreadsheet.SpreadsheetCases.testFunctions(), TestSpreadsheet.SpreadsheetCases.testInsertColumnsAlias(), TestSpreadsheet.SpreadsheetCases.testInsertRows(), TestSpreadsheet.SpreadsheetCases.testInsertRowsAlias(), TestSpreadsheet.SpreadsheetCases.testInvoluteGear(), TestSpreadsheet.SpreadsheetCases.testIssue3128(), TestSpreadsheet.SpreadsheetCases.testIssue3225(), TestSpreadsheet.SpreadsheetCases.testIssue3363(), TestSpreadsheet.SpreadsheetCases.testIssue3432(), TestSpreadsheet.SpreadsheetCases.testIssue4156(), TestSpreadsheet.SpreadsheetCases.testIssue6840(), TestSpreadsheet.SpreadsheetCases.testIssue6844(), TestSpreadsheet.SpreadsheetCases.testMatrix(), TestSpreadsheet.SpreadsheetCases.testMergeCells(), TestSpreadsheet.SpreadsheetCases.testMergeCellsAndBind(), TestSpreadsheet.SpreadsheetCases.testNumbers(), TestSpreadsheet.SpreadsheetCases.testPlacementName(), TestSpreadsheet.SpreadsheetCases.testPrecedence(), TestSpreadsheet.SpreadsheetCases.testQuantitiesAndFractionsAsNumbers(), TestSpreadsheet.SpreadsheetCases.testRelationalOperators(), TestSpreadsheet.SpreadsheetCases.testRemoveColumnsAlias(), TestSpreadsheet.SpreadsheetCases.testRemoveColumnsAliasReuseName(), TestSpreadsheet.SpreadsheetCases.testRemoveRows(), TestSpreadsheet.SpreadsheetCases.testRemoveRowsAlias(), TestSpreadsheet.SpreadsheetCases.testRemoveRowsAliasReuseName(), TestSpreadsheet.SpreadsheetCases.testRenameAlias(), TestSpreadsheet.SpreadsheetCases.testRenameAlias2(), TestSpreadsheet.SpreadsheetCases.testRenameAlias3(), TestSpreadsheet.SpreadsheetCases.testSetInvalidAlias(), TestSpreadsheet.SpreadsheetCases.testSetInvalidAlias2(), TestSpreadsheet.SpreadsheetCases.testSketcher(), TestSpreadsheet.SpreadsheetCases.testUndoAliasCreationReuseName(), TestSpreadsheet.SpreadsheetCases.testUnits(), draftguitools.gui_trimex.Trimex.trimObject(), draftguitools.gui_trimex.Trimex.trimObjects(), Mod.PartDesign.WizardShaft.Shaft.Shaft.updateConstraint(), Mod.PartDesign.WizardShaft.Shaft.Shaft.updateEdge(), and Mod.Show.SceneDetails.ObjectClipPlane.ObjectClipPlane.val().
|
static |
Referenced by PathScripts.PathOp.ObjectOp.addBase(), PathScripts.PathDrilling.ObjectDrilling.circularHoleExecute(), PathScripts.PathToolLibraryEditor.EditorPanel.copyTools(), PathScripts.PathOp.ObjectOp.execute(), PathScripts.PathOp.ObjectOp.getJob(), PathScripts.PathOpGui.TaskPanelBaseGeometryPage.modifyPanel(), PathScripts.PathSimulatorGui.PathSimulation.onJobChange(), PathScripts.PathPocket.ObjectPocket.opUpdateDepths(), PathScripts.PathSurface.ObjectSurface.opUpdateDepths(), PathScripts.PathWaterline.ObjectWaterline.opUpdateDepths(), PathScripts.PathOp.ObjectOp.setDefaultValues(), PathTests.TestPathStock.TestPathStock.test00(), PathTests.TestPathPost.TestOutputNameSubstitution.test000(), PathTests.TestPathStock.TestPathStock.test01(), PathTests.TestPathPost.TestBuildPostList.test010(), PathTests.TestPathPost.TestOutputNameSubstitution.test010(), PathTests.TestPathPost.TestOutputNameSubstitution.test015(), PathTests.TestPathHelix.TestPathHelix.test02(), PathTests.TestPathPost.TestBuildPostList.test020(), PathTests.TestPathPost.TestOutputNameSubstitution.test020(), PathTests.TestPathHelix.TestPathHelix.test03(), PathTests.TestPathPost.TestBuildPostList.test030(), PathTests.TestPathPost.TestOutputNameSubstitution.test030(), PathTests.TestPathHelix.TestPathHelix.test04(), PathTests.TestPathPost.TestBuildPostList.test040(), PathTests.TestPathPost.TestOutputNameSubstitution.test040(), PathTests.TestPathPost.TestBuildPostList.test050(), PathTests.TestPathPost.TestOutputNameSubstitution.test050(), PathTests.TestPathPost.TestBuildPostList.test060(), PathTests.TestPathPost.TestOutputNameSubstitution.test060(), PathTests.TestPathPost.TestOutputNameSubstitution.test070(), PathTests.TestPathPost.TestOutputNameSubstitution.test080(), PathTests.TestPathStock.TestPathStock.test10(), PathTests.TestPathStock.TestPathStock.test11(), PathTests.TestPathStock.TestPathStock.test12(), and PathScripts.PathJobDlg.JobTemplateExport.updateUI().
|
static |