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 | |
color | |
ontop | |
switch | |
Visible | |
A Dimension tracker, used by the dimension tool.
def draftguitools.gui_trackers.dimTracker.calc | ( | self | ) |
Calculate the new points from p1 and p2.
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, FeaturePython.ViewProviderCircleSet.coords, DraftVecUtils.equals(), VISCOUS_2D::_Segment.p1(), draftguitools.gui_hatch.Draft_Hatch_TaskPanel.p1, draftguitools.gui_trackers.lineTracker.p1(), draftguitools.gui_trackers.rectangleTracker.p1(), draftguitools.gui_trackers.dimTracker.p1, draftguitools.gui_trackers.archDimTracker.p1(), draftviewproviders.view_dimension.ViewProviderLinearDimension.p1, SimpleMeshFacet.p1, MeshCore::Edge_Index.p1, MeshCore::MeshIntersection::Tuple.p1, MeshPart::CurveProjector::FaceSplitEdge.p1, WireJoiner::EdgeInfo.p1, geoff_geometry::Span.p1, KDL::VelocityProfile_Dirac.p1, GCS::Line.p1, VISCOUS_2D::_Segment.p2(), draftguitools.gui_hatch.Draft_Hatch_TaskPanel.p2, draftguitools.gui_trackers.rectangleTracker.p2(), draftguitools.gui_trackers.lineTracker.p2(), draftguitools.gui_trackers.dimTracker.p2, draftguitools.gui_trackers.archDimTracker.p2(), draftviewproviders.view_dimension.ViewProviderLinearDimension.p2, draftviewproviders.view_dimension.ViewProviderAngularDimension.p2, SimpleMeshFacet.p2, MeshCore::MeshIntersection::Tuple.p2, MeshPart::CurveProjector::FaceSplitEdge.p2, WireJoiner::EdgeInfo.p2, KDL::VelocityProfile_Dirac.p2, GCS::Line.p2, draftguitools.gui_trackers.rectangleTracker.p3(), draftguitools.gui_trackers.dimTracker.p3, draftviewproviders.view_dimension.ViewProviderLinearDimension.p3, draftviewproviders.view_dimension.ViewProviderAngularDimension.p3, SimpleMeshFacet.p3, and DraftVecUtils.tup().
Referenced by draftguitools.gui_trackers.dimTracker.update().
def draftguitools.gui_trackers.dimTracker.update | ( | self, | |
pts | |||
) |
Update the points and calculate.
References draftguitools.gui_trackers.dimTracker.calc(), VISCOUS_2D::_Segment.p1(), draftguitools.gui_hatch.Draft_Hatch_TaskPanel.p1, draftguitools.gui_trackers.lineTracker.p1(), draftguitools.gui_trackers.rectangleTracker.p1(), draftguitools.gui_trackers.dimTracker.p1, draftguitools.gui_trackers.archDimTracker.p1(), draftviewproviders.view_dimension.ViewProviderLinearDimension.p1, SimpleMeshFacet.p1, MeshCore::Edge_Index.p1, MeshCore::MeshIntersection::Tuple.p1, MeshPart::CurveProjector::FaceSplitEdge.p1, WireJoiner::EdgeInfo.p1, geoff_geometry::Span.p1, KDL::VelocityProfile_Dirac.p1, GCS::Line.p1, VISCOUS_2D::_Segment.p2(), draftguitools.gui_hatch.Draft_Hatch_TaskPanel.p2, draftguitools.gui_trackers.rectangleTracker.p2(), draftguitools.gui_trackers.lineTracker.p2(), draftguitools.gui_trackers.dimTracker.p2, draftguitools.gui_trackers.archDimTracker.p2(), draftviewproviders.view_dimension.ViewProviderLinearDimension.p2, draftviewproviders.view_dimension.ViewProviderAngularDimension.p2, SimpleMeshFacet.p2, MeshCore::MeshIntersection::Tuple.p2, MeshPart::CurveProjector::FaceSplitEdge.p2, WireJoiner::EdgeInfo.p2, KDL::VelocityProfile_Dirac.p2, GCS::Line.p2, draftguitools.gui_trackers.rectangleTracker.p3(), draftguitools.gui_trackers.dimTracker.p3, draftviewproviders.view_dimension.ViewProviderLinearDimension.p3, draftviewproviders.view_dimension.ViewProviderAngularDimension.p3, and SimpleMeshFacet.p3.
Referenced by ArchStructure.CommandStructuralSystem.Activated(), ArchAxisSystem.AxisSystemTaskPanel.addElement(), ArchComponent.ComponentTaskPanel.addElement(), ArchSectionPlane.SectionPlaneTaskPanel.addElement(), DraftGui.FacebinderTaskPanel.addElement(), femtaskpanels.task_result_mechanical._TaskPanel.calculate(), Spreadsheet_legacy.SpreadsheetView.changeCell(), draftguitools.gui_edit.Edit.endEditing(), draftguitools.gui_trackers.boxTracker.height(), draftguitools.gui_trackers.rectangleTracker.p3(), Plot.Plot.plot(), Spreadsheet_legacy.SpreadsheetView.recompute(), ArchAxisSystem.AxisSystemTaskPanel.removeElement(), ArchComponent.ComponentTaskPanel.removeElement(), ArchSectionPlane.SectionPlaneTaskPanel.removeElement(), DraftGui.FacebinderTaskPanel.removeElement(), draftguitools.gui_trackers.gridTracker.reset(), ArchNesting.Nester.run(), draftguitools.gui_trackers.gridTracker.setMainlines(), draftguitools.gui_trackers.gridTracker.setSize(), draftguitools.gui_trackers.gridTracker.setSpacing(), and draftguitools.gui_edit_arch_objects.ArchWallGuiTools.update_object_from_edit_points().
draftguitools.gui_trackers.dimTracker.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().
draftguitools.gui_trackers.dimTracker.p1 |
draftguitools.gui_trackers.dimTracker.p2 |
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.dimTracker.p3 |