PathTests.TestPathHelix.TestPathHelix Class Reference

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

 clone
 
 doc
 
 job
 

Static Public Attributes

int RotateBy = 45
 

Member Function Documentation

◆ setUp()

def PathTests.TestPathHelix.TestPathHelix.setUp (   self)

◆ tearDown()

◆ test00()

◆ test01()

def PathTests.TestPathHelix.TestPathHelix.test01 (   self)
Verify Helix generates proper holes from model

References PathTests.PathTestUtils.PathTestBase.assertRoughly().

◆ test02()

◆ test03()

def PathTests.TestPathHelix.TestPathHelix.test03 (   self)
Verify Helix generates proper holes for rotated base model

References PathTests.PathTestUtils.PathTestBase.assertRoughly(), Mod.PartDesign.WizardShaft.WizardShaft.TaskWizardShaft.doc, PathTests.TestPathHelix.TestPathHelix.doc, drafttests.test_pivy.DraftPivy.doc, drafttests.test_dwg.DraftDWG.doc, drafttests.test_dxf.DraftDXF.doc, drafttests.test_modification.DraftModification.doc, drafttests.test_oca.DraftOCA.doc, drafttests.test_svg.DraftSVG.doc, drafttests.test_airfoildat.DraftAirfoilDAT.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, importIFClegacy.IfcEntity.doc, PathTests.TestPathHelix.TestPathHelix.job, PathScripts.PathToolLibraryEditor.EditorPanel.job, PathScripts.PathSimulatorGui.PathSimulation.job, PathScripts.PathOp.ObjectOp.job, PathScripts.PathOpGui.TaskPanelPage.job, PathScripts.PathJobDlg.JobTemplateExport.job, PathTests.TestPathHelix.TestPathHelix.RotateBy, Mod.PartDesign.PartDesignTests.TestDatum.TestDatumPoint.tearDown(), PathTests.TestPathHelix.TestPathHelix.tearDown(), Mod.PartDesign.PartDesignTests.TestShapeBinder.TestShapeBinder.tearDown(), Mod.PartDesign.PartDesignTests.TestChamfer.TestChamfer.tearDown(), Mod.PartDesign.PartDesignTests.TestFillet.TestFillet.tearDown(), Mod.PartDesign.PartDesignTests.TestThickness.TestThickness.tearDown(), femtest.app.test_material.TestMaterialUnits.tearDown(), femtest.app.test_result.TestResult.tearDown(), femtest.app.test_mesh.TestMeshCommon.tearDown(), femtest.app.test_common.TestFemCommon.tearDown(), femtest.app.test_object.TestObjectCreate.tearDown(), TestPartApp.PartTestCases.tearDown(), Mod.PartDesign.PartDesignTests.TestDatum.TestDatumLine.tearDown(), femtest.app.test_solverframework.TestSolverFrameWork.tearDown(), femtest.app.test_ccxtools.TestCcxTools.tearDown(), Mod.PartDesign.PartDesignTests.TestRevolve.TestRevolve.tearDown(), Mod.PartDesign.PartDesignTests.TestMultiTransform.TestMultiTransform.tearDown(), drafttests.test_pivy.DraftPivy.tearDown(), Mod.PartDesign.PartDesignTests.TestDraft.TestDraft.tearDown(), Mod.PartDesign.PartDesignTests.TestDatum.TestDatumPlane.tearDown(), Mod.PartDesign.PartDesignTests.TestLoft.TestLoft.tearDown(), femtest.gui.test_open.TestObjectOpen.tearDown(), femtest.app.test_open.TestObjectOpen.tearDown(), drafttests.test_oca.DraftOCA.tearDown(), drafttests.test_airfoildat.DraftAirfoilDAT.tearDown(), drafttests.test_svg.DraftSVG.tearDown(), drafttests.test_dwg.DraftDWG.tearDown(), drafttests.test_dxf.DraftDXF.tearDown(), Mod.PartDesign.PartDesignTests.TestPipe.TestPipe.tearDown(), Mod.PartDesign.PartDesignTests.TestMirrored.TestMirrored.tearDown(), femtest.app.test_femimport.TestObjectExistance.tearDown(), Mod.PartDesign.PartDesignTests.TestBoolean.TestBoolean.tearDown(), Mod.PartDesign.PartDesignTests.TestHole.TestHole.tearDown(), femtest.app.test_object.TestObjectType.tearDown(), MeshTestsApp.PivyTestCases.tearDown(), Mod.PartDesign.PartDesignTests.TestLinearPattern.TestLinearPattern.tearDown(), Mod.PartDesign.PartDesignTests.TestPolarPattern.TestPolarPattern.tearDown(), TestPartApp.PartTestBSplineCurve.tearDown(), Mod.PartDesign.PartDesignTests.TestPrimitive.TestPrimitive.tearDown(), Mod.PartDesign.PartDesignTests.TestPocket.TestPocket.tearDown(), Mod.PartDesign.PartDesignTests.TestPad.TestPad.tearDown(), MeshTestsApp.LoadMeshInThreadsCases.tearDown(), App::Enumeration.tearDown(), TestArch.ArchTest.tearDown(), Mod.PartDesign.TestPartDesignGui.PartDesignGuiTestCases.tearDown(), MeshTestsApp.PolynomialFitCases.tearDown(), Mod.PartDesign.TestPartDesignGui.PartDesignTransformed.tearDown(), femtest.app.test_mesh.TestMeshEleTetra10.tearDown(), drafttests.test_creation.DraftCreation.tearDown(), femtest.app.test_mesh.TestMeshGroups.tearDown(), and drafttests.test_modification.DraftModification.tearDown().

◆ test04()

def PathTests.TestPathHelix.TestPathHelix.test04 (   self)
Verify Helix generates proper holes for rotated clone base model

References PathTests.PathTestUtils.PathTestBase.assertRoughly(), PathTests.TestPathHelix.TestPathHelix.clone, Mod.PartDesign.WizardShaft.WizardShaft.TaskWizardShaft.doc, PathTests.TestPathHelix.TestPathHelix.doc, drafttests.test_pivy.DraftPivy.doc, drafttests.test_dwg.DraftDWG.doc, drafttests.test_dxf.DraftDXF.doc, drafttests.test_modification.DraftModification.doc, drafttests.test_oca.DraftOCA.doc, drafttests.test_svg.DraftSVG.doc, drafttests.test_airfoildat.DraftAirfoilDAT.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, importIFClegacy.IfcEntity.doc, PathTests.TestPathHelix.TestPathHelix.job, PathScripts.PathToolLibraryEditor.EditorPanel.job, PathScripts.PathSimulatorGui.PathSimulation.job, PathScripts.PathOp.ObjectOp.job, PathScripts.PathOpGui.TaskPanelPage.job, PathScripts.PathJobDlg.JobTemplateExport.job, PathTests.TestPathHelix.TestPathHelix.RotateBy, Mod.PartDesign.PartDesignTests.TestDatum.TestDatumPoint.tearDown(), PathTests.TestPathHelix.TestPathHelix.tearDown(), Mod.PartDesign.PartDesignTests.TestShapeBinder.TestShapeBinder.tearDown(), Mod.PartDesign.PartDesignTests.TestChamfer.TestChamfer.tearDown(), Mod.PartDesign.PartDesignTests.TestFillet.TestFillet.tearDown(), Mod.PartDesign.PartDesignTests.TestThickness.TestThickness.tearDown(), femtest.app.test_material.TestMaterialUnits.tearDown(), femtest.app.test_result.TestResult.tearDown(), femtest.app.test_mesh.TestMeshCommon.tearDown(), femtest.app.test_common.TestFemCommon.tearDown(), femtest.app.test_object.TestObjectCreate.tearDown(), TestPartApp.PartTestCases.tearDown(), Mod.PartDesign.PartDesignTests.TestDatum.TestDatumLine.tearDown(), femtest.app.test_solverframework.TestSolverFrameWork.tearDown(), femtest.app.test_ccxtools.TestCcxTools.tearDown(), Mod.PartDesign.PartDesignTests.TestRevolve.TestRevolve.tearDown(), Mod.PartDesign.PartDesignTests.TestMultiTransform.TestMultiTransform.tearDown(), drafttests.test_pivy.DraftPivy.tearDown(), Mod.PartDesign.PartDesignTests.TestDraft.TestDraft.tearDown(), Mod.PartDesign.PartDesignTests.TestDatum.TestDatumPlane.tearDown(), Mod.PartDesign.PartDesignTests.TestLoft.TestLoft.tearDown(), femtest.gui.test_open.TestObjectOpen.tearDown(), femtest.app.test_open.TestObjectOpen.tearDown(), drafttests.test_oca.DraftOCA.tearDown(), drafttests.test_airfoildat.DraftAirfoilDAT.tearDown(), drafttests.test_svg.DraftSVG.tearDown(), drafttests.test_dwg.DraftDWG.tearDown(), drafttests.test_dxf.DraftDXF.tearDown(), Mod.PartDesign.PartDesignTests.TestPipe.TestPipe.tearDown(), Mod.PartDesign.PartDesignTests.TestMirrored.TestMirrored.tearDown(), femtest.app.test_femimport.TestObjectExistance.tearDown(), Mod.PartDesign.PartDesignTests.TestBoolean.TestBoolean.tearDown(), Mod.PartDesign.PartDesignTests.TestHole.TestHole.tearDown(), femtest.app.test_object.TestObjectType.tearDown(), MeshTestsApp.PivyTestCases.tearDown(), Mod.PartDesign.PartDesignTests.TestPolarPattern.TestPolarPattern.tearDown(), Mod.PartDesign.PartDesignTests.TestLinearPattern.TestLinearPattern.tearDown(), TestPartApp.PartTestBSplineCurve.tearDown(), Mod.PartDesign.PartDesignTests.TestPrimitive.TestPrimitive.tearDown(), Mod.PartDesign.PartDesignTests.TestPocket.TestPocket.tearDown(), Mod.PartDesign.PartDesignTests.TestPad.TestPad.tearDown(), MeshTestsApp.LoadMeshInThreadsCases.tearDown(), App::Enumeration.tearDown(), TestArch.ArchTest.tearDown(), Mod.PartDesign.TestPartDesignGui.PartDesignGuiTestCases.tearDown(), MeshTestsApp.PolynomialFitCases.tearDown(), Mod.PartDesign.TestPartDesignGui.PartDesignTransformed.tearDown(), femtest.app.test_mesh.TestMeshEleTetra10.tearDown(), drafttests.test_creation.DraftCreation.tearDown(), femtest.app.test_mesh.TestMeshGroups.tearDown(), and drafttests.test_modification.DraftModification.tearDown().

Member Data Documentation

◆ clone

◆ doc

PathTests.TestPathHelix.TestPathHelix.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.Pickability.Pickability.scene_value(), Mod.Show.SceneDetails.VProperty.VProperty.scene_value(), Mod.Show.SceneDetail.SceneDetail.set_doc(), PathTests.TestPathToolController.TestPathToolController.tearDown(), PathTests.TestPathHelix.TestPathHelix.tearDown(), PathTests.TestPathSetupSheet.TestPathSetupSheet.tearDown(), TestSpreadsheet.SpreadsheetCases.tearDown(), PathTests.TestPathUtil.TestPathUtil.test00(), PathTests.TestPathSetupSheet.TestPathSetupSheet.test00(), PathTests.TestPathUtil.TestPathUtil.test01(), PathTests.TestPathSetupSheet.TestPathSetupSheet.test01(), PathTests.TestPathUtil.TestPathUtil.test02(), PathTests.TestPathUtil.TestPathUtil.test03(), PathTests.TestPathHelix.TestPathHelix.test03(), PathTests.TestPathUtil.TestPathUtil.test04(), PathTests.TestPathHelix.TestPathHelix.test04(), PathTests.TestPathSetupSheet.TestPathSetupSheet.test13(), 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().

◆ job

◆ RotateBy


The documentation for this class was generated from the following file:
  • src/Mod/Path/PathTests/TestPathHelix.py