Public Member Functions | |
def | createTool (self, name='t1', diameter=1.75) |
def | setUp (self) |
def | tearDown (self) |
def | test00 (self) |
def | test01 (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
◆ createTool()
def PathTests.TestPathToolController.TestPathToolController.createTool | ( | self, | |
name = 't1' , |
|||
diameter = 1.75 |
|||
) |
◆ setUp()
def PathTests.TestPathToolController.TestPathToolController.setUp | ( | self | ) |
◆ tearDown()
def PathTests.TestPathToolController.TestPathToolController.tearDown | ( | self | ) |
References 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.
◆ test00()
def PathTests.TestPathToolController.TestPathToolController.test00 | ( | self | ) |
Verify ToolController templateAttrs
References PathTests.TestPathToolController.TestPathToolController.createTool(), and PathScripts.PathToolBitGui.ToolBitSelector.createTool().
Referenced by PathTests.TestPathTooltable.TestPathTooltable.test01(), PathTests.TestPathToolController.TestPathToolController.test01(), and PathTests.TestPathTooltable.TestPathTooltable.test02().
◆ test01()
def PathTests.TestPathToolController.TestPathToolController.test01 | ( | self | ) |
Verify ToolController template roundtrip.
References PathTests.PathTestUtils.PathTestBase.assertRoughly(), PathTests.TestPathDepthParams.depthTestCases.test00(), PathTests.TestPathPreferences.TestPathPreferences.test00(), PathTests.TestPathCore.TestPathCore.test00(), PathTests.TestPathTool.TestPathTool.test00(), PathTests.TestPathToolBit.TestPathToolBit.test00(), PathTests.TestPathDressupHoldingTags.TestHoldingTags.test00(), PathTests.TestPathDeburr.TestPathDeburr.test00(), PathTests.TestPathGeom.TestPathGeom.test00(), PathTests.TestPathLog.TestPathLog.test00(), PathTests.TestPathToolController.TestPathToolController.test00(), PathTests.TestPathHelix.TestPathHelix.test00(), PathTests.TestPathSetupSheet.TestPathSetupSheet.test00(), PathTests.TestPathStock.TestPathStock.test00(), PathTests.TestPathDressupDogbone.TestDressupDogbone.test00(), and PathTests.TestPathOpTools.TestPathOpTools.test00().
Member Data Documentation
◆ doc
PathTests.TestPathToolController.TestPathToolController.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(), PathTests.TestPathToolController.TestPathToolController.tearDown(), 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/TestPathToolController.py