Public Member Functions | |
def | height (self, h=None) |
def | length (self, l=None) |
def | pos (self, p) |
def | setRotation (self, rot) |
def | update (self, line=None, normal=None) |
def | width (self, w=None) |
Public Member Functions inherited from draftguitools.gui_trackers.Tracker | |
def | finalize (self) |
def | lowerTracker (self) |
def | off (self) |
def | on (self) |
def | raiseTracker (self) |
Public Attributes | |
baseline | |
cube | |
trans | |
Public Attributes inherited from draftguitools.gui_trackers.Tracker | |
ontop | |
switch | |
Visible | |
Detailed Description
A box tracker, can be based on a line object.
Member Function Documentation
◆ height()
def draftguitools.gui_trackers.boxTracker.height | ( | self, | |
h = None |
|||
) |
Set the height.
References Gui::SoBoxSelectionRenderActionP.cube, SoFCBBoxRenderInfo.cube, draftguitools.gui_trackers.boxTracker.cube, Gui::ViewProviderDocumentObjectPy.update(), Gui::ViewProviderDocumentObject.update(), SMESHDS_GroupOnFilter.update(), Gui::DocumentPy.update(), ArchNesting.Nester.update(), AddonManager.CommandAddonManager.update(), draftguitools.gui_trackers.rectangleTracker.update(), ArchPanel.CommandPanel.update(), ArchWindow._CommandWindow.update(), App::LinkBaseExtension.update(), draftguitools.gui_trackers.dimTracker.update(), Gui::ViewProvider.update(), draftguitools.gui_trackers.bsplineTracker.update(), ArchWall._CommandWall.update(), Gui::LinkInfo.update(), draftguitools.gui_trackers.bezcurveTracker.update(), ArchStructure._CommandStructure.update(), draftguitools.gui_trackers.ghostTracker.update(), ArchAxis._AxisTaskPanel.update(), ArchRoof._RoofTaskPanel.update(), draftguitools.gui_trackers.wireTracker.update(), ArchAxis.AxisSystemTaskPanel.update(), draftguitools.gui_edit.Edit.update(), draftguitools.gui_trackers.gridTracker.update(), ArchCommands.SurveyTaskPanel.update(), draftguitools.gui_trackers.boxTracker.update(), ArchSectionPlane.SectionPlaneTaskPanel.update(), ArchWindow._ArchWindowTaskPanel.update(), ArchAxis.ArchGridTaskPanel.update(), ArchComponent.ComponentTaskPanel.update(), and DraftGui.FacebinderTaskPanel.update().
Referenced by PathScripts.PathInspect.GCodeEditorDialog.cleanup().
◆ length()
def draftguitools.gui_trackers.boxTracker.length | ( | self, | |
l = None |
|||
) |
Set the length.
References Gui::SoBoxSelectionRenderActionP.cube, SoFCBBoxRenderInfo.cube, and draftguitools.gui_trackers.boxTracker.cube.
Referenced by Mod.PartDesign.Scripts.FilletArc.Vector.norm().
◆ pos()
def draftguitools.gui_trackers.boxTracker.pos | ( | self, | |
p | |||
) |
Set the translation.
References draftguitools.gui_trackers.bsplineTracker.trans, draftguitools.gui_trackers.bezcurveTracker.trans, draftguitools.gui_trackers.arcTracker.trans, draftguitools.gui_trackers.ghostTracker.trans, draftguitools.gui_trackers.PlaneTracker.trans, draftguitools.gui_trackers.gridTracker.trans, draftguitools.gui_trackers.boxTracker.trans, and DraftVecUtils.tup().
Referenced by draftguitools.gui_trackers.boxTracker.update().
◆ setRotation()
def draftguitools.gui_trackers.boxTracker.setRotation | ( | self, | |
rot | |||
) |
Set the rotation.
References draftguitools.gui_trackers.bsplineTracker.trans, draftguitools.gui_trackers.bezcurveTracker.trans, draftguitools.gui_trackers.arcTracker.trans, draftguitools.gui_trackers.ghostTracker.trans, draftguitools.gui_trackers.PlaneTracker.trans, draftguitools.gui_trackers.gridTracker.trans, and draftguitools.gui_trackers.boxTracker.trans.
◆ update()
def draftguitools.gui_trackers.boxTracker.update | ( | self, | |
line = None , |
|||
normal = None |
|||
) |
Update the tracker.
References draftguitools.gui_trackers.boxTracker.baseline, Gui::SoBoxSelectionRenderActionP.cube, SoFCBBoxRenderInfo.cube, draftguitools.gui_trackers.boxTracker.cube, WorkingPlane.getPlacementFromPoints(), Mod.PartDesign.fcgear.svggear.SVGWireBuilder.pos, Gui::DockWindowItem.pos, Mod.PartDesign.fcsprocket.fcsprocket.FCWireBuilder.pos, Mod.PartDesign.fcgear.fcgear.FCWireBuilder.pos, KwdSct.pos, KDL::Trajectory_Stationary.pos, GmfMshSct.pos, draftguitools.gui_splines.BSpline.pos, draftguitools.gui_beziers.BezCurve.pos, SoVectorizeText.pos, draftguitools.gui_lines.Line.pos, Gui::TaskView::TaskDialog.pos, SoVectorizeImage.pos, draftguitools.gui_base_original.DraftTool.pos, draftguitools.gui_beziers.CubicBezCurve.pos, PathScripts.PathDressupTagGui.HoldingTagMarker.pos, Gui::ToolTip.pos, draftguitools.gui_trackers.boxTracker.pos(), MeshGui::Vertex.pos, DrawSketchHandlerEllipse.pos, Py::MapBase< T >::iterator.pos, Py::MapBase< T >::const_iterator.pos, DraftVecUtils.scaleTo(), draftguitools.gui_trackers.bsplineTracker.trans, draftguitools.gui_trackers.bezcurveTracker.trans, draftguitools.gui_trackers.arcTracker.trans, draftguitools.gui_trackers.ghostTracker.trans, draftguitools.gui_trackers.PlaneTracker.trans, draftguitools.gui_trackers.gridTracker.trans, and draftguitools.gui_trackers.boxTracker.trans.
Referenced by femtaskpanels.task_result_mechanical._TaskPanel.calculate(), Spreadsheet_legacy.SpreadsheetView.changeCell(), draftguitools.gui_trackers.boxTracker.height(), ArchAxis.CommandArchGrid.IsActive(), Plot.Plot.plot(), and Spreadsheet_legacy.SpreadsheetView.recompute().
◆ width()
def draftguitools.gui_trackers.boxTracker.width | ( | self, | |
w = None |
|||
) |
Set the width.
References Gui::SoBoxSelectionRenderActionP.cube, SoFCBBoxRenderInfo.cube, and draftguitools.gui_trackers.boxTracker.cube.
Referenced by PathScripts.PathInspect.GCodeEditorDialog.cleanup().
Member Data Documentation
◆ baseline
draftguitools.gui_trackers.boxTracker.baseline |
Referenced by draftguitools.gui_trackers.boxTracker.update().
◆ cube
draftguitools.gui_trackers.boxTracker.cube |
◆ trans
draftguitools.gui_trackers.boxTracker.trans |
The documentation for this class was generated from the following file:
- src/Mod/Draft/draftguitools/gui_trackers.py