Public Member Functions | |
def | calc (self) |
def | update (self, pts) |
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 | |
coords | |
p1 | |
p2 | |
p3 | |
Public Attributes inherited from draftguitools.gui_trackers.Tracker | |
ontop | |
switch | |
Visible | |
Detailed Description
A Dimension tracker, used by the dimension tool.
Member Function Documentation
◆ calc()
def draftguitools.gui_trackers.dimTracker.calc | ( | self | ) |
Calculate the new points from p1 and p2.
References Gui::SoFCColorLegend.coords, Gui::SoFCColorGradient.coords, draftguitools.gui_trackers.snapTracker.coords, draftguitools.gui_trackers.lineTracker.coords, draftguitools.gui_trackers.rectangleTracker.coords, draftguitools.gui_trackers.dimTracker.coords, ArchEquipment._ViewProviderEquipment.coords, ArchSpace._ViewProviderSpace.coords, ArchSite._ViewProviderSite.coords, ArchStructure._ViewProviderStructure.coords, ArchPanel.ViewProviderPanelCut.coords, ArchPanel.ViewProviderPanelSheet.coords, DraftVecUtils.equals(), draftguitools.gui_trackers.dimTracker.p1, draftguitools.gui_trackers.dimTracker.p2, draftguitools.gui_trackers.dimTracker.p3, and DraftVecUtils.tup().
Referenced by draftguitools.gui_trackers.dimTracker.update().
◆ update()
def draftguitools.gui_trackers.dimTracker.update | ( | self, | |
pts | |||
) |
Update the points and calculate.
References draftguitools.gui_trackers.dimTracker.calc(), draftguitools.gui_trackers.dimTracker.p1, draftguitools.gui_trackers.dimTracker.p2, and draftguitools.gui_trackers.dimTracker.p3.
Referenced by femtaskpanels.task_result_mechanical._TaskPanel.calculate(), Spreadsheet_legacy.SpreadsheetView.changeCell(), draftguitools.gui_trackers.boxTracker.height(), ArchAxis.CommandArchGrid.IsActive(), Plot.Plot.plot(), Spreadsheet_legacy.SpreadsheetView.recompute(), and draftguitools.gui_trackers.gridTracker.reset().
Member Data Documentation
◆ coords
draftguitools.gui_trackers.dimTracker.coords |
Referenced by ArchSite.Compass.buildCoordinates(), draftguitools.gui_trackers.dimTracker.calc(), draftguitools.gui_trackers.editTracker.get(), draftviewproviders.view_wire.ViewProviderWire.onChanged(), draftguitools.gui_trackers.editTracker.set(), draftguitools.gui_trackers.wireTracker.update(), draftviewproviders.view_wire.ViewProviderWire.updateData(), FeaturePython.ViewProviderCircleSet.updateData(), and draftguitools.gui_trackers.wireTracker.updateFromPointlist().
◆ p1
draftguitools.gui_trackers.dimTracker.p1 |
◆ p2
draftguitools.gui_trackers.dimTracker.p2 |
◆ p3
draftguitools.gui_trackers.dimTracker.p3 |
The documentation for this class was generated from the following file:
- src/Mod/Draft/draftguitools/gui_trackers.py