Public Member Functions | |
def | getLength (self) |
def | p1 (self, point=None) |
def | p2 (self, point=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 | |
coords | |
Public Attributes inherited from draftguitools.gui_trackers.Tracker | |
color | |
ontop | |
switch | |
Visible | |
A Line tracker, used by the tools that need to draw temporary lines
def draftguitools.gui_trackers.lineTracker.getLength | ( | self | ) |
Return the length of the line.
References Gui::SoFCColorGradient.coords, Gui::SoFCColorLegend.coords, ArchEquipment._ViewProviderEquipment.coords, ArchPanel.ViewProviderPanelCut.coords, ArchPanel.ViewProviderPanelSheet.coords, ArchSite._ViewProviderSite.coords, ArchSpace._ViewProviderSpace.coords, ArchStructure._ViewProviderStructure.coords, draftguitools.gui_trackers.snapTracker.coords, draftguitools.gui_trackers.lineTracker.coords, draftguitools.gui_trackers.rectangleTracker.coords, draftguitools.gui_trackers.dimTracker.coords, draftguitools.gui_trackers.ghostTracker.coords, draftguitools.gui_trackers.editTracker.coords, draftguitools.gui_trackers.wireTracker.coords, draftviewproviders.view_dimension.ViewProviderLinearDimension.coords, draftviewproviders.view_dimension.ViewProviderAngularDimension.coords, draftviewproviders.view_wire.ViewProviderWire.coords, MeshPartGui::ViewProviderCrossSections.coords, PartGui::ViewProviderCrossSections.coords, PartGui::ViewProviderPartExt.coords, ObjectObserver.coords, and FeaturePython.ViewProviderCircleSet.coords.
def draftguitools.gui_trackers.lineTracker.p1 | ( | self, | |
point = None |
|||
) |
Set or get the first point of the line.
References Gui::SoFCColorGradient.coords, Gui::SoFCColorLegend.coords, ArchEquipment._ViewProviderEquipment.coords, ArchPanel.ViewProviderPanelCut.coords, ArchPanel.ViewProviderPanelSheet.coords, ArchSite._ViewProviderSite.coords, ArchSpace._ViewProviderSpace.coords, ArchStructure._ViewProviderStructure.coords, draftguitools.gui_trackers.snapTracker.coords, draftguitools.gui_trackers.lineTracker.coords, draftguitools.gui_trackers.rectangleTracker.coords, draftguitools.gui_trackers.dimTracker.coords, draftguitools.gui_trackers.ghostTracker.coords, draftguitools.gui_trackers.editTracker.coords, draftguitools.gui_trackers.wireTracker.coords, draftviewproviders.view_dimension.ViewProviderLinearDimension.coords, draftviewproviders.view_dimension.ViewProviderAngularDimension.coords, draftviewproviders.view_wire.ViewProviderWire.coords, MeshPartGui::ViewProviderCrossSections.coords, PartGui::ViewProviderCrossSections.coords, PartGui::ViewProviderPartExt.coords, ObjectObserver.coords, and FeaturePython.ViewProviderCircleSet.coords.
Referenced by draftguitools.gui_hatch.Draft_Hatch_TaskPanel.accept(), draftguitools.gui_trackers.dimTracker.calc(), draftguitools.gui_trackers.rectangleTracker.isInside(), and draftguitools.gui_trackers.dimTracker.update().
def draftguitools.gui_trackers.lineTracker.p2 | ( | self, | |
point = None |
|||
) |
Set or get the second point of the line.
References Gui::SoFCColorGradient.coords, Gui::SoFCColorLegend.coords, ArchEquipment._ViewProviderEquipment.coords, ArchPanel.ViewProviderPanelCut.coords, ArchPanel.ViewProviderPanelSheet.coords, ArchSite._ViewProviderSite.coords, ArchSpace._ViewProviderSpace.coords, ArchStructure._ViewProviderStructure.coords, draftguitools.gui_trackers.snapTracker.coords, draftguitools.gui_trackers.lineTracker.coords, draftguitools.gui_trackers.rectangleTracker.coords, draftguitools.gui_trackers.dimTracker.coords, draftguitools.gui_trackers.ghostTracker.coords, draftguitools.gui_trackers.editTracker.coords, draftguitools.gui_trackers.wireTracker.coords, draftviewproviders.view_dimension.ViewProviderLinearDimension.coords, draftviewproviders.view_dimension.ViewProviderAngularDimension.coords, draftviewproviders.view_wire.ViewProviderWire.coords, MeshPartGui::ViewProviderCrossSections.coords, PartGui::ViewProviderCrossSections.coords, PartGui::ViewProviderPartExt.coords, ObjectObserver.coords, and FeaturePython.ViewProviderCircleSet.coords.
Referenced by draftguitools.gui_hatch.Draft_Hatch_TaskPanel.accept(), draftguitools.gui_trackers.dimTracker.calc(), draftviewproviders.view_dimension.ViewProviderLinearDimension.draw_dim_arrows(), draftguitools.gui_trackers.rectangleTracker.isInside(), and draftguitools.gui_trackers.dimTracker.update().
draftguitools.gui_trackers.lineTracker.coords |
Referenced by ArchStructure.CommandStructuralSystem.Activated(), draftguitools.gui_trackers.snapTracker.addCoords(), ArchSite.Compass.buildCoordinates(), draftguitools.gui_trackers.dimTracker.calc(), draftguitools.gui_trackers.snapTracker.clear(), draftguitools.gui_trackers.editTracker.get(), draftguitools.gui_trackers.lineTracker.getLength(), draftguitools.gui_trackers.rectangleTracker.getSize(), ArchPanel.ViewProviderPanelCut.onChanged(), ArchPanel.ViewProviderPanelSheet.onChanged(), draftviewproviders.view_wire.ViewProviderWire.onChanged(), draftguitools.gui_trackers.lineTracker.p1(), draftguitools.gui_trackers.rectangleTracker.p1(), draftguitools.gui_trackers.rectangleTracker.p2(), draftguitools.gui_trackers.lineTracker.p2(), draftguitools.gui_trackers.rectangleTracker.p3(), draftguitools.gui_trackers.rectangleTracker.p4(), draftguitools.gui_trackers.editTracker.set(), draftguitools.gui_trackers.snapTracker.setCoords(), draftguitools.gui_trackers.rectangleTracker.setorigin(), draftguitools.gui_trackers.rectangleTracker.update(), draftguitools.gui_trackers.wireTracker.update(), FeaturePython.ViewProviderCircleSet.updateData(), draftviewproviders.view_wire.ViewProviderWire.updateData(), and draftguitools.gui_trackers.wireTracker.updateFromPointlist().