Public Member Functions | |
def | setUp (self) |
def | tearDown (self) |
def | test00 (self) |
def | test01 (self) |
def | test02 (self) |
def | test03 (self) |
def | test04 (self) |
Public Member Functions inherited from PathTests.PathTestUtils.PathTestBase | |
def | assertArc (self, edge, pt1, pt2, direction='CW') |
def | assertCircle (self, edge, pt, r) |
def | assertCoincide (self, pt1, pt2, error=0.0001) |
def | assertCommandEqual (self, c1, c2) |
def | assertConeAt (self, solid, pt, r1, r2, h) |
def | assertCurve (self, edge, p1, p2, p3) |
def | assertCylinderAt (self, solid, pt, r, h) |
def | assertEdgeShapesMatch (self, e1, e2) |
def | assertEqualLocale (self, s1, s2) |
def | assertLine (self, edge, pt1, pt2) |
def | assertLines (self, edgs, tail, points) |
def | assertPlacement (self, p1, p2) |
def | assertPointsMatch (self, pts0, pts1) |
def | assertRoughly (self, f1, f2, error=0.00001) |
Public Attributes | |
doc | |
Member Function Documentation
◆ setUp()
def PathTests.TestPathUtil.TestPathUtil.setUp | ( | self | ) |
◆ tearDown()
def PathTests.TestPathUtil.TestPathUtil.tearDown | ( | self | ) |
◆ test00()
def PathTests.TestPathUtil.TestPathUtil.test00 | ( | self | ) |
Check that isValidBaseObject detects solids.
References PathTests.TestPathUtil.TestPathUtil.doc, PathTests.TestPathToolController.TestPathToolController.doc, Mod.PartDesign.WizardShaft.WizardShaft.TaskWizardShaft.doc, PathTests.TestPathStock.TestPathStock.doc, PathTests.TestPathHelix.TestPathHelix.doc, PathTests.TestPathPost.PathPostTestCases.doc, PathTests.TestPathSetupSheet.TestPathSetupSheet.doc, drafttests.test_pivy.DraftPivy.doc, drafttests.test_dxf.DraftDXF.doc, drafttests.test_airfoildat.DraftAirfoilDAT.doc, drafttests.test_modification.DraftModification.doc, drafttests.test_oca.DraftOCA.doc, drafttests.test_svg.DraftSVG.doc, drafttests.test_dwg.DraftDWG.doc, drafttests.test_creation.DraftCreation.doc, Mod.PartDesign.WizardShaft.Shaft.Shaft.doc, Import::ImportOCAFAssembly.doc, Import::ImportOCAF.doc, Gui::GraphvizView.doc, draftguitools.gui_annotationstyleeditor.AnnotationStyleEditor.doc, draftguitools.gui_base.GuiCommandSimplest.doc, ExpressionCompleterModel::Info.doc, WorkingPlane.Plane.doc, PartGui::FaceColors::Private.doc, PartDesignGui::ComboLinks.doc, App::RelabelDocumentExpressionVisitor.doc, Import::ImportXCAF.doc, draftguitools.gui_base_original.DraftTool.doc, App::DynamicProperty::PropData.doc, draftguitools.gui_base.GuiCommandBase.doc, App::LinkBaseExtension::PropInfo.doc, MeshPartGui::Mesh2ShapeGmsh::Private.doc, ItemInfo.doc, ItemInfo2.doc, and importIFClegacy.IfcEntity.doc.
◆ test01()
def PathTests.TestPathUtil.TestPathUtil.test01 | ( | self | ) |
Check that isValidBaseObject detects PDs.
References PathTests.TestPathUtil.TestPathUtil.doc, PathTests.TestPathToolController.TestPathToolController.doc, Mod.PartDesign.WizardShaft.WizardShaft.TaskWizardShaft.doc, PathTests.TestPathStock.TestPathStock.doc, PathTests.TestPathHelix.TestPathHelix.doc, PathTests.TestPathPost.PathPostTestCases.doc, PathTests.TestPathSetupSheet.TestPathSetupSheet.doc, drafttests.test_pivy.DraftPivy.doc, drafttests.test_dxf.DraftDXF.doc, drafttests.test_airfoildat.DraftAirfoilDAT.doc, drafttests.test_modification.DraftModification.doc, drafttests.test_oca.DraftOCA.doc, drafttests.test_svg.DraftSVG.doc, drafttests.test_dwg.DraftDWG.doc, drafttests.test_creation.DraftCreation.doc, Mod.PartDesign.WizardShaft.Shaft.Shaft.doc, Import::ImportOCAFAssembly.doc, Import::ImportOCAF.doc, Gui::GraphvizView.doc, draftguitools.gui_annotationstyleeditor.AnnotationStyleEditor.doc, draftguitools.gui_base.GuiCommandSimplest.doc, ExpressionCompleterModel::Info.doc, WorkingPlane.Plane.doc, PartGui::FaceColors::Private.doc, PartDesignGui::ComboLinks.doc, App::RelabelDocumentExpressionVisitor.doc, Import::ImportXCAF.doc, draftguitools.gui_base_original.DraftTool.doc, App::DynamicProperty::PropData.doc, draftguitools.gui_base.GuiCommandBase.doc, App::LinkBaseExtension::PropInfo.doc, MeshPartGui::Mesh2ShapeGmsh::Private.doc, ItemInfo.doc, ItemInfo2.doc, and importIFClegacy.IfcEntity.doc.
◆ test02()
def PathTests.TestPathUtil.TestPathUtil.test02 | ( | self | ) |
Check that isValidBaseObject detects compounds.
References PathTests.TestPathUtil.TestPathUtil.doc, PathTests.TestPathToolController.TestPathToolController.doc, Mod.PartDesign.WizardShaft.WizardShaft.TaskWizardShaft.doc, PathTests.TestPathStock.TestPathStock.doc, PathTests.TestPathHelix.TestPathHelix.doc, PathTests.TestPathPost.PathPostTestCases.doc, PathTests.TestPathSetupSheet.TestPathSetupSheet.doc, drafttests.test_pivy.DraftPivy.doc, drafttests.test_dxf.DraftDXF.doc, drafttests.test_airfoildat.DraftAirfoilDAT.doc, drafttests.test_modification.DraftModification.doc, drafttests.test_oca.DraftOCA.doc, drafttests.test_svg.DraftSVG.doc, drafttests.test_dwg.DraftDWG.doc, drafttests.test_creation.DraftCreation.doc, Mod.PartDesign.WizardShaft.Shaft.Shaft.doc, Import::ImportOCAFAssembly.doc, Import::ImportOCAF.doc, Gui::GraphvizView.doc, draftguitools.gui_annotationstyleeditor.AnnotationStyleEditor.doc, draftguitools.gui_base.GuiCommandSimplest.doc, ExpressionCompleterModel::Info.doc, WorkingPlane.Plane.doc, PartGui::FaceColors::Private.doc, PartDesignGui::ComboLinks.doc, App::RelabelDocumentExpressionVisitor.doc, Import::ImportXCAF.doc, draftguitools.gui_base_original.DraftTool.doc, App::DynamicProperty::PropData.doc, draftguitools.gui_base.GuiCommandBase.doc, App::LinkBaseExtension::PropInfo.doc, MeshPartGui::Mesh2ShapeGmsh::Private.doc, ItemInfo.doc, ItemInfo2.doc, and importIFClegacy.IfcEntity.doc.
◆ test03()
def PathTests.TestPathUtil.TestPathUtil.test03 | ( | self | ) |
Check that isValidBaseObject ignores sketches.
References TestSketcherApp.CreateSlotPlateSet(), PathTests.TestPathUtil.TestPathUtil.doc, PathTests.TestPathToolController.TestPathToolController.doc, Mod.PartDesign.WizardShaft.WizardShaft.TaskWizardShaft.doc, PathTests.TestPathStock.TestPathStock.doc, PathTests.TestPathHelix.TestPathHelix.doc, PathTests.TestPathPost.PathPostTestCases.doc, PathTests.TestPathSetupSheet.TestPathSetupSheet.doc, drafttests.test_pivy.DraftPivy.doc, drafttests.test_dxf.DraftDXF.doc, drafttests.test_airfoildat.DraftAirfoilDAT.doc, drafttests.test_modification.DraftModification.doc, drafttests.test_oca.DraftOCA.doc, drafttests.test_svg.DraftSVG.doc, drafttests.test_dwg.DraftDWG.doc, drafttests.test_creation.DraftCreation.doc, Mod.PartDesign.WizardShaft.Shaft.Shaft.doc, Import::ImportOCAFAssembly.doc, Import::ImportOCAF.doc, Gui::GraphvizView.doc, draftguitools.gui_annotationstyleeditor.AnnotationStyleEditor.doc, draftguitools.gui_base.GuiCommandSimplest.doc, ExpressionCompleterModel::Info.doc, WorkingPlane.Plane.doc, PartGui::FaceColors::Private.doc, PartDesignGui::ComboLinks.doc, App::RelabelDocumentExpressionVisitor.doc, Import::ImportXCAF.doc, draftguitools.gui_base_original.DraftTool.doc, App::DynamicProperty::PropData.doc, draftguitools.gui_base.GuiCommandBase.doc, App::LinkBaseExtension::PropInfo.doc, MeshPartGui::Mesh2ShapeGmsh::Private.doc, ItemInfo.doc, ItemInfo2.doc, and importIFClegacy.IfcEntity.doc.
◆ test04()
def PathTests.TestPathUtil.TestPathUtil.test04 | ( | self | ) |
Check that Part is handled correctly.
References PathTests.TestPathUtil.TestPathUtil.doc, PathTests.TestPathToolController.TestPathToolController.doc, Mod.PartDesign.WizardShaft.WizardShaft.TaskWizardShaft.doc, PathTests.TestPathStock.TestPathStock.doc, PathTests.TestPathHelix.TestPathHelix.doc, PathTests.TestPathPost.PathPostTestCases.doc, PathTests.TestPathSetupSheet.TestPathSetupSheet.doc, drafttests.test_pivy.DraftPivy.doc, drafttests.test_dxf.DraftDXF.doc, drafttests.test_airfoildat.DraftAirfoilDAT.doc, drafttests.test_modification.DraftModification.doc, drafttests.test_oca.DraftOCA.doc, drafttests.test_svg.DraftSVG.doc, drafttests.test_dwg.DraftDWG.doc, drafttests.test_creation.DraftCreation.doc, Mod.PartDesign.WizardShaft.Shaft.Shaft.doc, Import::ImportOCAFAssembly.doc, Import::ImportOCAF.doc, Gui::GraphvizView.doc, draftguitools.gui_annotationstyleeditor.AnnotationStyleEditor.doc, draftguitools.gui_base.GuiCommandSimplest.doc, ExpressionCompleterModel::Info.doc, WorkingPlane.Plane.doc, PartGui::FaceColors::Private.doc, PartDesignGui::ComboLinks.doc, App::RelabelDocumentExpressionVisitor.doc, Import::ImportXCAF.doc, draftguitools.gui_base_original.DraftTool.doc, App::DynamicProperty::PropData.doc, draftguitools.gui_base.GuiCommandBase.doc, App::LinkBaseExtension::PropInfo.doc, MeshPartGui::Mesh2ShapeGmsh::Private.doc, ItemInfo.doc, ItemInfo2.doc, and importIFClegacy.IfcEntity.doc.
Member Data Documentation
◆ doc
PathTests.TestPathUtil.TestPathUtil.doc |
Referenced by Mod.Show.SceneDetails.Pickability.Pickability.apply_data(), Mod.Show.SceneDetails.VProperty.VProperty.apply_data(), Mod.Show.SceneDetails.ClipPlane.ClipPlane.apply_data(), Mod.Show.SceneDetails.ObjectClipPlane.ObjectClipPlane.apply_data(), importSVG.svgHandler.characters(), importSVG.svgHandler.endElement(), Mod.Show.SceneDetail.SceneDetail.full_key(), Mod.Show.SceneDetails.ObjectClipPlane.ObjectClipPlane.scene_value(), Mod.Show.SceneDetails.VProperty.VProperty.scene_value(), Mod.Show.SceneDetails.Pickability.Pickability.scene_value(), Mod.Show.SceneDetail.SceneDetail.set_doc(), TestSpreadsheet.SpreadsheetCases.tearDown(), PathTests.TestPathUtil.TestPathUtil.test00(), PathTests.TestPathUtil.TestPathUtil.test01(), PathTests.TestPathUtil.TestPathUtil.test02(), PathTests.TestPathUtil.TestPathUtil.test03(), PathTests.TestPathUtil.TestPathUtil.test04(), TestSpreadsheet.SpreadsheetCases.testAggregates(), TestSpreadsheet.SpreadsheetCases.testAlias(), TestSpreadsheet.SpreadsheetCases.testAmbiguousAlias(), TestSpreadsheet.SpreadsheetCases.testClearAlias(), TestSpreadsheet.SpreadsheetCases.testCrossDocumentLinks(), TestSpreadsheet.SpreadsheetCases.testFunctions(), TestSpreadsheet.SpreadsheetCases.testInsertRows(), TestSpreadsheet.SpreadsheetCases.testInvoluteGear(), TestSpreadsheet.SpreadsheetCases.testIssue3128(), TestSpreadsheet.SpreadsheetCases.testIssue3225(), TestSpreadsheet.SpreadsheetCases.testIssue3363(), TestSpreadsheet.SpreadsheetCases.testIssue3432(), TestSpreadsheet.SpreadsheetCases.testMatrix(), TestSpreadsheet.SpreadsheetCases.testNumbers(), TestSpreadsheet.SpreadsheetCases.testPlacementName(), TestSpreadsheet.SpreadsheetCases.testPrecedence(), TestSpreadsheet.SpreadsheetCases.testRelationalOperators(), TestSpreadsheet.SpreadsheetCases.testRemoveRows(), TestSpreadsheet.SpreadsheetCases.testRenameAlias(), TestSpreadsheet.SpreadsheetCases.testRenameAlias2(), TestSpreadsheet.SpreadsheetCases.testRenameAlias3(), TestSpreadsheet.SpreadsheetCases.testSetInvalidAlias(), TestSpreadsheet.SpreadsheetCases.testSetInvalidAlias2(), TestSpreadsheet.SpreadsheetCases.testSketcher(), TestSpreadsheet.SpreadsheetCases.testUnits(), and Mod.Show.SceneDetails.ObjectClipPlane.ObjectClipPlane.val().
The documentation for this class was generated from the following file:
- src/Mod/Path/PathTests/TestPathUtil.py