PathScripts.PathDressupRampEntry.ObjectDressup Class Reference

Public Member Functions

def checkIgnoreAbove (self, edge)
 
def createCommands (self, obj, edges)
 
def createHelix (self, rampedges, startPoint, endPoint)
 
def createRampEdge (self, originalEdge, startPoint, endPoint)
 
def createRampMethod1 (self, rampedges, p0, projectionlen, rampangle)
 
def createRampMethod2 (self, rampedges, p0, projectionlen, rampangle)
 
def createRampMethod3 (self, rampedges, p0, projectionlen, rampangle)
 
def execute (self, obj)
 
def findMinZ (self, edges)
 
def generateHelix (self)
 
def generateRamps (self, allowBounce=True)
 
def getreversed (self, edges)
 
def getSplitPoint (self, edge, remaining)
 
def onChanged (self, obj, prop)
 
def onDocumentRestored (self, obj)
 
def setEditorProperties (self, obj)
 
def setup (self, obj)
 

Public Attributes

 angle
 
 ignoreAbove
 
 ignoreAboveEnabled
 
 method
 
 obj
 
 outedges
 
 rapids
 
 wire
 

Member Function Documentation

◆ checkIgnoreAbove()

◆ createCommands()

def PathScripts.PathDressupRampEntry.ObjectDressup.createCommands (   self,
  obj,
  edges 
)

◆ createHelix()

def PathScripts.PathDressupRampEntry.ObjectDressup.createHelix (   self,
  rampedges,
  startPoint,
  endPoint 
)

◆ createRampEdge()

◆ createRampMethod1()

def PathScripts.PathDressupRampEntry.ObjectDressup.createRampMethod1 (   self,
  rampedges,
  p0,
  projectionlen,
  rampangle 
)
This method generates ramp with following pattern:
1. Start from the original startpoint of the plunge
2. Ramp down along the path that comes after the plunge
3. When reaching the Z level of the original plunge, return back to the beginning
   by going the path backwards until the original plunge end point is reached
4. Continue with the original path

This method causes many unnecessary moves with tool down.

References PathScripts.PathDressupRampEntry.ObjectDressup.createRampEdge(), PathScripts.PathDressupRampEntry.ObjectDressup.getreversed(), and PathScripts.PathDressupRampEntry.ObjectDressup.getSplitPoint().

Referenced by PathScripts.PathDressupRampEntry.ObjectDressup.generateRamps().

◆ createRampMethod2()

def PathScripts.PathDressupRampEntry.ObjectDressup.createRampMethod2 (   self,
  rampedges,
  p0,
  projectionlen,
  rampangle 
)
This method generates ramp with following pattern:
1. Start from the original startpoint of the plunge
2. Calculate the distance on the path which is needed to implement the ramp
   and travel that distance while maintaining start depth
3. Start ramping while traveling the original path backwards until reaching the
   original plunge end point
4. Continue with the original path

References PathScripts.PathDressupRampEntry.ObjectDressup.createRampEdge(), and PathScripts.PathDressupRampEntry.ObjectDressup.getSplitPoint().

Referenced by PathScripts.PathDressupRampEntry.ObjectDressup.generateRamps().

◆ createRampMethod3()

def PathScripts.PathDressupRampEntry.ObjectDressup.createRampMethod3 (   self,
  rampedges,
  p0,
  projectionlen,
  rampangle 
)
This method generates ramp with following pattern:
1. Start from the original startpoint of the plunge
2. Ramp down along the path that comes after the plunge until
   traveled half of the Z distance
3. Change direction and ramp backwards to the original plunge end point
4. Continue with the original path

This method causes many unnecessary moves with tool down.

References PathScripts.PathDressupRampEntry.ObjectDressup.createRampEdge(), PathScripts.PathDressupRampEntry.ObjectDressup.getreversed(), and PathScripts.PathDressupRampEntry.ObjectDressup.getSplitPoint().

Referenced by PathScripts.PathDressupRampEntry.ObjectDressup.generateRamps().

◆ execute()

def PathScripts.PathDressupRampEntry.ObjectDressup.execute (   self,
  obj 
)

References Mod.PartDesign.fcgear.fcgeardialog.GearCreationFrame.angle, PathScripts.PathDressupRampEntry.ObjectDressup.angle, draftguitools.gui_arcs.Arc.angle, drafttaskpanels.task_polararray.TaskPanelPolarArray.angle, PathScripts.PathDressupHoldingTags.Tag.angle, SoGestureSwipeEvent.angle, PartGui::DimensionAngular.angle, PartGui::ArcEngine.angle, draftguitools.gui_rotate.Rotate.angle, DraftGui.DraftToolBar.angle, geoff_geometry::Span.angle, ifc2x3.ifcrevolvedareasolid.angle, ifc4.ifcrevolvedareasolid.angle, automotive_design.revolved_area_solid.angle, ap203_configuration_controlled_3d_design_of_mechanical_parts_and_assemblies_mim_lf.revolved_area_solid.angle, ap203_configuration_controlled_3d_design_of_mechanical_parts_and_assemblies_mim_lf.polar_complex_number_literal.angle, ap203_configuration_controlled_3d_design_of_mechanical_parts_and_assemblies_mim_lf.runout_zone_orientation.angle, automotive_design.runout_zone_orientation.angle, ap203_configuration_controlled_3d_design_of_mechanical_parts_and_assemblies_mim_lf.revolved_face_solid.angle, automotive_design.revolved_face_solid.angle, PathScripts.PathDressupRampEntry.ObjectDressup.createCommands(), PathScripts.PathDressupRampEntry.ObjectDressup.generateHelix(), PathScripts.PathDressupRampEntry.ObjectDressup.generateRamps(), PathScripts.PathDressupRampEntry.ObjectDressup.ignoreAbove, PathScripts.PathDressupRampEntry.ObjectDressup.ignoreAboveEnabled, PathScripts.PathDressupRampEntry.ObjectDressup.method, MeshPart::Mesher.method, geoff_geometry::SpanDataObject.method, config_control_design.action_request_solution.method, automotive_design.action_request_solution.method, ap203_configuration_controlled_3d_design_of_mechanical_parts_and_assemblies_mim_lf.action_request_solution.method, PathScripts.PathDressupRampEntry.ObjectDressup.outedges, PathScripts.PathDressupRampEntry.ObjectDressup.rapids, PathScripts.PathDressupLeadInOut.ObjectDressup.rapids, Mod.PartDesign.fcsprocket.fcsprocket.FCWireBuilder.wire, Mod.PartDesign.fcgear.fcgear.FCWireBuilder.wire, PathScripts.PathDressupRampEntry.ObjectDressup.wire, PathScripts.PathDressupLeadInOut.ObjectDressup.wire, and WireInfo.wire.

Referenced by ArchSite.Compass.buildCoordinates(), ArchSchedule.CommandArchSchedule.IsActive(), PathScripts.PathStock.StockFromBase.onChanged(), PathScripts.PathStock.StockCreateBox.onChanged(), PathScripts.PathStock.StockCreateCylinder.onChanged(), and FeaturePython.DistanceBolt.onChanged().

◆ findMinZ()

def PathScripts.PathDressupRampEntry.ObjectDressup.findMinZ (   self,
  edges 
)

◆ generateHelix()

◆ generateRamps()

def PathScripts.PathDressupRampEntry.ObjectDressup.generateRamps (   self,
  allowBounce = True 
)

References Mod.PartDesign.fcgear.fcgeardialog.GearCreationFrame.angle, PathScripts.PathDressupRampEntry.ObjectDressup.angle, draftguitools.gui_arcs.Arc.angle, drafttaskpanels.task_polararray.TaskPanelPolarArray.angle, PathScripts.PathDressupHoldingTags.Tag.angle, SoGestureSwipeEvent.angle, PartGui::DimensionAngular.angle, PartGui::ArcEngine.angle, draftguitools.gui_rotate.Rotate.angle, DraftGui.DraftToolBar.angle, geoff_geometry::Span.angle, ifc2x3.ifcrevolvedareasolid.angle, ifc4.ifcrevolvedareasolid.angle, automotive_design.revolved_area_solid.angle, ap203_configuration_controlled_3d_design_of_mechanical_parts_and_assemblies_mim_lf.revolved_area_solid.angle, ap203_configuration_controlled_3d_design_of_mechanical_parts_and_assemblies_mim_lf.polar_complex_number_literal.angle, ap203_configuration_controlled_3d_design_of_mechanical_parts_and_assemblies_mim_lf.runout_zone_orientation.angle, automotive_design.runout_zone_orientation.angle, ap203_configuration_controlled_3d_design_of_mechanical_parts_and_assemblies_mim_lf.revolved_face_solid.angle, automotive_design.revolved_face_solid.angle, PathScripts.PathDressupRampEntry.ObjectDressup.checkIgnoreAbove(), PathScripts.PathDressupRampEntry.ObjectDressup.createRampMethod1(), PathScripts.PathDressupRampEntry.ObjectDressup.createRampMethod2(), PathScripts.PathDressupRampEntry.ObjectDressup.createRampMethod3(), PathScripts.PathDressupRampEntry.ObjectDressup.ignoreAbove, PathScripts.PathDressupRampEntry.ObjectDressup.method, MeshPart::Mesher.method, geoff_geometry::SpanDataObject.method, config_control_design.action_request_solution.method, automotive_design.action_request_solution.method, ap203_configuration_controlled_3d_design_of_mechanical_parts_and_assemblies_mim_lf.action_request_solution.method, PathScripts.PathDressupRampEntry.ObjectDressup.rapids, PathScripts.PathDressupLeadInOut.ObjectDressup.rapids, Mod.PartDesign.fcsprocket.fcsprocket.FCWireBuilder.wire, Mod.PartDesign.fcgear.fcgear.FCWireBuilder.wire, PathScripts.PathDressupRampEntry.ObjectDressup.wire, PathScripts.PathDressupLeadInOut.ObjectDressup.wire, and WireInfo.wire.

Referenced by PathScripts.PathDressupRampEntry.ObjectDressup.execute().

◆ getreversed()

def PathScripts.PathDressupRampEntry.ObjectDressup.getreversed (   self,
  edges 
)

◆ getSplitPoint()

◆ onChanged()

def PathScripts.PathDressupRampEntry.ObjectDressup.onChanged (   self,
  obj,
  prop 
)

◆ onDocumentRestored()

def PathScripts.PathDressupRampEntry.ObjectDressup.onDocumentRestored (   self,
  obj 
)

◆ setEditorProperties()

◆ setup()

def PathScripts.PathDressupRampEntry.ObjectDressup.setup (   self,
  obj 
)

Member Data Documentation

◆ angle

◆ ignoreAbove

◆ ignoreAboveEnabled

PathScripts.PathDressupRampEntry.ObjectDressup.ignoreAboveEnabled

◆ method

◆ obj

PathScripts.PathDressupRampEntry.ObjectDressup.obj

Referenced by shipOutlineDraw.TaskPanel.TaskPanel.accept(), PathScripts.PathSetupSheetGui.OpTaskPanel.accept(), PathScripts.PathOpGui.TaskPanelBaseGeometryPage.addBase(), PathScripts.PathEngraveGui.TaskPanelBaseGeometryPage.addBaseGeometry(), PathScripts.PathOpGui.TaskPanelBaseGeometryPage.addBaseGeometry(), PathScripts.PathOpGui.TaskPanelBaseLocationPage.addLocationAt(), PathScripts.PathDressupTagGui.PathDressupTagTaskPanel.addNewTagAt(), PathScripts.PathJob.ObjectJob.addOperation(), PathScripts.PathJob.ObjectJob.addToolController(), PathScripts.PathJobGui.TaskPanel.alignCenterInStock(), PathScripts.PathJobGui.TaskPanel.alignCenterInStockXY(), PathScripts.PathJobGui.TaskPanel.alignSetOrigin(), PathScripts.PathJob.ObjectJob.allOperations(), PathScripts.PathDressupTagGui.PathDressupTagViewProvider.allow(), PathScripts.PathDressupTag.ObjectDressup.assignDefaultValues(), PathScripts.PathToolBitGui.ViewProvider.attach(), PathScripts.PathSetupSheetGui.ViewProvider.attach(), PathScripts.PathJobGui.ViewProvider.attach(), PathScripts.PathDressupTagGui.PathDressupTagViewProvider.attach(), PathScripts.PathDressupRampEntry.ViewProviderDressup.attach(), PathScripts.PathCircularHoleBaseGui.TaskPanelHoleGeometryPage.checkedChanged(), PathScripts.PathJobGui.StockFromBaseBoundBoxEdit.checkXpos(), PathScripts.PathJobGui.StockFromBaseBoundBoxEdit.checkYpos(), PathScripts.PathJobGui.StockFromBaseBoundBoxEdit.checkZpos(), Texture.ViewProviderTexture.claimChildren(), PathScripts.PathToolBitGui.ViewProvider.claimChildren(), PathScripts.PathJobGui.ViewProvider.claimChildren(), PathScripts.PathDressupZCorrect.ViewProviderDressup.claimChildren(), PathScripts.PathDressupTagGui.PathDressupTagViewProvider.claimChildren(), PathScripts.PathDressupRampEntry.ViewProviderDressup.claimChildren(), shipAreasCurve.Preview.Preview.clean(), shipOutlineDraw.Preview.Preview.clean(), PathScripts.PathPocketShapeGui.TaskPanelExtensionPage.cleanupPage(), PathScripts.PathOpGui.TaskPanelBaseGeometryPage.clearBase(), PathScripts.PathDressupTagGui.PathDressupTagTaskPanel.clicked(), PathScripts.PathDressupTagGui.PathDressupTagTaskPanel.copyNewTags(), PathScripts.PathPocketShapeGui.TaskPanelExtensionPage.createItemForBaseModel(), shipOutlineDraw.TaskPanel.TaskPanel.createPreview(), PathScripts.PathCircularHoleBaseGui.TaskPanelHoleGeometryPage.deleteBase(), PathScripts.PathOpGui.TaskPanelBaseGeometryPage.deleteBase(), PathScripts.PathJobGui.ViewProvider.editObject(), PathScripts.PathDressupTagGui.PathDressupTagTaskPanel.editTagAt(), PathScripts.PathToolControllerGui.DlgToolControllerEdit.exec_(), PathScripts.PathDressupTag.ObjectDressup.execute(), PathScripts.PathSetupSheet.SetupSheet.expressionReference(), PathScripts.PathDressupTagGui.PathDressupTagTaskPanel.generateNewTags(), PathScripts.PathSurfaceSupport.PathGeometryGenerator.generatePathGeometry(), PathScripts.PathJob.ObjectJob.getCycleTime(), PathScripts.PathDressupTagGui.PathDressupTagTaskPanel.getFields(), PathScripts.PathDressupZCorrect.TaskPanel.getFields(), PathScripts.PathToolControllerGui.TaskPanel.getFields(), PathScripts.PathSetupSheetGui.GlobalEditor.getFields(), PathScripts.PathJobGui.TaskPanel.getFields(), PathScripts.PathToolBitGui.ViewProvider.getIcon(), PathScripts.PathGetPoint.TaskPanel.getPoint(), PathScripts.PathPocketShape.Extension.getSubLink(), PathScripts.PathPocketShape.Extension.getWire(), PathScripts.PathSetupSheet.SetupSheet.hasDefaultOperationDepths(), PathScripts.PathSetupSheet.SetupSheet.hasDefaultOperationHeights(), PathScripts.PathSetupSheet.SetupSheet.hasDefaultToolRapids(), ArchAxis.CommandArchGrid.IsActive(), PathScripts.PathJobGui.TaskPanel.jobModelEdit(), PathScripts.PathJobGui.TaskPanel.modelSet0(), PathScripts.PathJobGui.ViewProvider.onDelete(), PathScripts.PathDressupTagGui.PathDressupTagViewProvider.onDelete(), PathScripts.PathDressupRampEntry.ViewProviderDressup.onDelete(), PathScripts.PathIconViewProvider.ViewProvider.onEdit(), shipOutlineDraw.TaskPanel.TaskPanel.onTableItem(), PathScripts.PathSetupSheet.SetupSheet.operationsWithSettings(), PathScripts.PathOpGui.TaskPanelPage.pageCleanup(), PathScripts.PathOpGui.TaskPanelPage.pageGetFields(), PathScripts.PathOpGui.TaskPanelPage.pageRegisterSignalHandlers(), PathScripts.PathOpGui.TaskPanelPage.pageSetFields(), PathScripts.PathSurfaceSupport.ProcessSelectedFaces.PathSurface(), PathScripts.PathSurfaceSupport.ProcessSelectedFaces.PathWaterline(), PathScripts.PathGetPoint.TaskPanel.pointFinish(), PathScripts.PathJobGui.TaskPanel.preCleanup(), PathScripts.PathOpGui.TaskPanel.preCleanup(), PathScripts.PathSurfaceSupport.ProcessSelectedFaces.preProcessModel(), PathScripts.PathToolBitGui.TaskPanel.reject(), PathScripts.PathJobGui.TaskPanel.reject(), PathScripts.PathOpGui.TaskPanel.reject(), PathScripts.PathCircularHoleBaseGui.TaskPanelHoleGeometryPage.resetBase(), PathScripts.PathJob.ObjectJob.setCenterOfRotation(), PathScripts.PathPocketShapeGui.TaskPanelExtensionPage.setExtensions(), PathScripts.PathEngraveGui.TaskPanelBaseGeometryPage.setFields(), PathScripts.PathDressupZCorrect.TaskPanel.setFields(), PathScripts.PathDressupTagGui.PathDressupTagTaskPanel.setFields(), PathScripts.PathToolControllerGui.TaskPanel.setFields(), PathScripts.PathJobGui.TaskPanel.setFields(), PathScripts.PathSetupSheet.SetupSheet.setFromTemplate(), ArchMaterial.MultiMaterialDelegate.setModelData(), PathScripts.PathSetupSheet.SetupSheet.setOperationProperties(), PathScripts.PathProbeGui.TaskPanelOpPage.SetOutputFileName(), PathScripts.PathJobGui.TaskPanel.setPostProcessorOutputFile(), PathScripts.PathDressupZCorrect.TaskPanel.SetProbePointFileName(), shipOutlineDraw.TaskPanel.TaskPanel.setSectionType(), PathScripts.PathJobGui.ViewProvider.setupEditVisibility(), PathScripts.PathOpGui.TaskPanelPage.setupToolController(), PathScripts.PathSetupSheetGui.OpTaskPanel.setupUi(), PathScripts.PathDressupTagGui.PathDressupTagTaskPanel.setupUi(), PathScripts.PathSetupSheetGui.GlobalEditor.setupUi(), PathScripts.PathOpGui.TaskPanel.setupUi(), PathScripts.PathJobGui.TaskPanel.tabPageChanged(), PathScripts.PathSetupSheet.SetupSheet.templateAttributes(), PathScripts.PathJob.ObjectJob.templateAttrs(), PathScripts.PathJobGui.TaskPanel.templateExport(), PathScripts.PathPocketShapeGui.TaskPanelExtensionPage.toggleExtensionCorners(), PathScripts.PathJobGui.TaskPanel.toolControllerAdd(), PathScripts.PathJobGui.TaskPanel.toolControllerSelect(), PathScripts.PathDressupTag.ObjectDressup.toolRadius(), shipAreasCurve.Preview.Preview.update(), shipOutlineDraw.Preview.Preview.update(), PathScripts.PathEngraveGui.TaskPanelBaseGeometryPage.updateBase(), PathScripts.PathCircularHoleBaseGui.TaskPanelHoleGeometryPage.updateBase(), PathScripts.PathOpGui.TaskPanelBaseGeometryPage.updateBase(), PathScripts.PathJobGui.ViewProvider.updateData(), PathScripts.PathDeburrGui.TaskPanelOpPage.updateExtraDepth(), PathScripts.PathPocketShapeGui.TaskPanelExtensionPage.updateItemEnabled(), PathScripts.PathOpGui.TaskPanelBaseLocationPage.updateLocations(), PathScripts.PathDressupTagGui.PathDressupTagViewProvider.updatePositions(), PathScripts.PathGui.QuantitySpinBox.updateProperty(), PathScripts.PathOpGui.TaskPanel.updateSelection(), PathScripts.PathJobGui.TaskPanel.updateSelection(), PathScripts.PathGui.QuantitySpinBox.updateSpinBox(), PathScripts.PathJobGui.TaskPanel.updateStockEditor(), PathScripts.PathToolControllerGui.ToolControllerEditor.updateToolController(), PathScripts.PathJobGui.TaskPanel.updateToolController(), PathScripts.PathJobGui.TaskPanel.updateTooltips(), PathScripts.PathToolControllerGui.ToolControllerEditor.updateUi(), PathScripts.PathDressupZCorrect.TaskPanel.updateUI(), PathScripts.PathSetupSheetGui.GlobalEditor.updateUI(), PathScripts.PathProfileGui.TaskPanelOpPage.updateVisibility(), PathScripts.PathDeburrGui.TaskPanelOpPage.updateWidth(), PathScripts.PathJobGui.StockFromBaseBoundBoxEdit.updateXpos(), PathScripts.PathJobGui.StockFromBaseBoundBoxEdit.updateYpos(), and PathScripts.PathJobGui.StockFromBaseBoundBoxEdit.updateZpos().

◆ outedges

PathScripts.PathDressupRampEntry.ObjectDressup.outedges

◆ rapids

◆ wire


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