Public Member Functions | |
| def | adjustX (self, x, dx) |
| def | adjustY (self, y, dy) |
| def | g4LeadInOut (self) |
| def | g4Opposite (self) |
| def | g4Start2Elevator (self) |
| def | isG3 (self) |
| def | isUp (self) |
| def | overshoots (self, z) |
Public Attributes | |
| cmd | |
| hPitch | |
| internal | |
| pitch | |
| zFinal | |
| zStart | |
Helper class for dealing with different thread types
| def threadmilling_generator._Thread.adjustX | ( | self, | |
| x, | |||
| dx | |||
| ) |
adjustX(x, dx) ... move x by dx, the direction depends on the thread settings
References threadmilling_generator._Thread.isG3(), PartDesignGui::Ui_TaskHelixParameters.pitch, automotive_design.screw_pair.pitch, PartDesign::Hole::ThreadDescription.pitch, threadmilling_generator._Thread.pitch, and PathScripts.PathThreadMillingGui.TaskPanelOpPage.pitch.
| def threadmilling_generator._Thread.adjustY | ( | self, | |
| y, | |||
| dy | |||
| ) |
adjustY(y, dy) ... move y by dy, the direction depends on the thread settings
References threadmilling_generator._Thread.isG3().
| def threadmilling_generator._Thread.g4LeadInOut | ( | self | ) |
References threadmilling_generator._Thread.cmd, DrawSketchHandlerGenConstraint.cmd, threadmilling_generator._Thread.g4Opposite(), threadmilling_generator._Thread.internal, and GCS::ConstraintTangentCircumf.internal.
| def threadmilling_generator._Thread.g4Opposite | ( | self | ) |
References threadmilling_generator._Thread.isG3().
Referenced by threadmilling_generator._Thread.g4LeadInOut(), and threadmilling_generator._Thread.g4Start2Elevator().
| def threadmilling_generator._Thread.g4Start2Elevator | ( | self | ) |
References threadmilling_generator._Thread.g4Opposite().
| def threadmilling_generator._Thread.isG3 | ( | self | ) |
isG3() ... returns True if this is a G3 command
References threadmilling_generator._Thread.cmd, and DrawSketchHandlerGenConstraint.cmd.
Referenced by threadmilling_generator._Thread.adjustX(), threadmilling_generator._Thread.adjustY(), and threadmilling_generator._Thread.g4Opposite().
| def threadmilling_generator._Thread.isUp | ( | self | ) |
isUp() ... returns True if the thread goes from the bottom up
References PartDesignGui::Ui_TaskHelixParameters.pitch, automotive_design.screw_pair.pitch, PartDesign::Hole::ThreadDescription.pitch, threadmilling_generator._Thread.pitch, and PathScripts.PathThreadMillingGui.TaskPanelOpPage.pitch.
| def threadmilling_generator._Thread.overshoots | ( | self, | |
| z | |||
| ) |
overshoots(z) ... returns true if adding another half helix goes beyond the thread bounds
References threadmilling_generator._Thread.hPitch, PartDesignGui::Ui_TaskHelixParameters.pitch, automotive_design.screw_pair.pitch, PartDesign::Hole::ThreadDescription.pitch, threadmilling_generator._Thread.pitch, PathScripts.PathThreadMillingGui.TaskPanelOpPage.pitch, and threadmilling_generator._Thread.zFinal.
| threadmilling_generator._Thread.cmd |
Referenced by threadmilling_generator._Thread.g4LeadInOut(), and threadmilling_generator._Thread.isG3().
| threadmilling_generator._Thread.hPitch |
Referenced by threadmilling_generator._Thread.overshoots().
| threadmilling_generator._Thread.internal |
Referenced by threadmilling_generator._Thread.g4LeadInOut().
| threadmilling_generator._Thread.pitch |
| threadmilling_generator._Thread.zFinal |
Referenced by threadmilling_generator._Thread.overshoots().
| threadmilling_generator._Thread.zStart |