draftguitools.gui_trackers.archDimTracker Class Reference

Public Member Functions

def p1 (self, point=None)
 
def p2 (self, point=None)
 
def setMode (self, mode=1)
 
def setString (self, text=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

 camera
 
 dimnode
 
 Distance
 
 matrix
 
 mode
 
 norm
 
 offset
 
 param1
 
 param2
 
 plane
 
 pnts
 
 size_pixel
 
 string
 
 transform
 
 view
 
- Public Attributes inherited from draftguitools.gui_trackers.Tracker
 color
 
 ontop
 
 switch
 
 Visible
 

Detailed Description

A wrapper around a Sketcher dim.

Member Function Documentation

◆ p1()

def draftguitools.gui_trackers.archDimTracker.p1 (   self,
  point = None 
)

◆ p2()

◆ setMode()

def draftguitools.gui_trackers.archDimTracker.setMode (   self,
  mode = 1 
)
Set the mode.

0 = without lines (a simple mark)
1 = aligned (default)
2 = horizontal
3 = vertical.

References draftguitools.gui_trackers.archDimTracker.dimnode.

◆ setString()

def draftguitools.gui_trackers.archDimTracker.setString (   self,
  text = None 
)
Set the dim string to the given value or auto value.

References draftgeoutils.geometry.getNormal, Base::gzstreambuf.mode, Gui::FileChooser.mode, Gui::SoSkipBoundingGroup.mode, draftguitools.gui_offset.Offset.mode, draftguitools.gui_trackers.archDimTracker.mode, ifc2x3.ifctexturecoordinategenerator.mode, ifc4.ifcsurfacetexture.mode, ifc4.ifctexturecoordinategenerator.mode, Import::ImportOCAF2.mode, gzip_utf8.GzipFile.mode, PartGui::Location.mode, PartGui::ShapeSelection.mode, boost::intrusive::detail::type_rebind_mode< Ptr, T >.mode, CAreaPocketParams.mode, DrawSketchHandlerEllipse.mode, SurfaceGui::FillingPanel::ShapeSelection.mode, SurfaceGui::FillingEdgePanel::ShapeSelection.mode, SurfaceGui::FillingVertexPanel::VertexSelection.mode, SurfaceGui::SectionsPanel::ShapeSelection.mode, Commands.SphereCreator.mode, SplineData.norm, draftguitools.gui_trackers.archDimTracker.norm, SplineDataOut.norm, PartGui::ViewProviderPartExt.norm, Mod.PartDesign.Scripts.FilletArc.Vector.norm(), SketcherGui::SoDatumLabel.norm, draftguitools.gui_trackers.archDimTracker.plane, MeshPartGui::CrossSections.plane(), PartGui::CrossSections.plane(), PartDesignGui::ReferenceSelection.plane, PartDesignGui::TaskDressUpParameters.plane, draftguitools.gui_trackers.archDimTracker.pnts, SketcherGui::SoDatumLabel.pnts, and TechDraw::BezierSegment.pnts.

Referenced by draftguitools.gui_trackers.archDimTracker.p1(), and draftguitools.gui_trackers.archDimTracker.p2().

Member Data Documentation

◆ camera

draftguitools.gui_trackers.archDimTracker.camera

◆ dimnode

draftguitools.gui_trackers.archDimTracker.dimnode

◆ Distance

draftguitools.gui_trackers.archDimTracker.Distance

◆ matrix

draftguitools.gui_trackers.archDimTracker.matrix

◆ mode

◆ norm

draftguitools.gui_trackers.archDimTracker.norm

◆ offset

◆ param1

draftguitools.gui_trackers.archDimTracker.param1

◆ param2

draftguitools.gui_trackers.archDimTracker.param2

◆ plane

◆ pnts

◆ size_pixel

draftguitools.gui_trackers.archDimTracker.size_pixel

◆ string

draftguitools.gui_trackers.archDimTracker.string

◆ transform

◆ view

draftguitools.gui_trackers.archDimTracker.view

Referenced by drafttaskpanels.task_shapestring.ShapeStringTaskPanel.accept(), femexamples.examplesgui.FemExamples.accept(), draftguitools.gui_dimensions.Dimension.action(), draftguitools.gui_circulararray.CircularArray.Activated(), draftguitools.gui_orthoarray.OrthoArray.Activated(), draftguitools.gui_polararray.PolarArray.Activated(), draftguitools.gui_circulararray.CircularArray.completed(), draftguitools.gui_orthoarray.OrthoArray.completed(), draftguitools.gui_polararray.PolarArray.completed(), femexamples.examplesgui.FemExamples.double_clicked(), femexamples.examplesgui.FemExamples.enable_buttons(), draftguitools.gui_base.GuiCommandBase.finish(), draftguitools.gui_base_original.DraftTool.finish(), draftguitools.gui_selectplane.Draft_SelectPlane.finish(), draftguitools.gui_points.Point.finish(), draftguitools.gui_subelements.SubelementHighlight.get_selection(), PathScripts.PathGetPoint.TaskPanel.getPoint(), draftguitools.gui_selectplane.Draft_SelectPlane.onClickAlign(), draftguitools.gui_drawing.Drawing.proceed(), draftguitools.gui_mirror.Mirror.proceed(), draftguitools.gui_move.Move.proceed(), draftguitools.gui_offset.Offset.proceed(), draftguitools.gui_rotate.Rotate.proceed(), draftguitools.gui_scale.Scale.proceed(), draftguitools.gui_stretch.Stretch.proceed(), draftguitools.gui_trimex.Trimex.proceed(), draftguitools.gui_edit.Edit.register_selection_callback(), drafttaskpanels.task_shapestring.ShapeStringTaskPanel.reject(), draftguitools.gui_subelements.SubelementHighlight.remove_view_callback(), PathScripts.PathGetPoint.TaskPanel.removeGlobalCallbacks(), femexamples.examplesgui.FemExamples.run(), and draftguitools.gui_edit.Edit.unregister_selection_callback().


The documentation for this class was generated from the following file:
  • Sources/FreeCAD/src/Mod/Draft/draftguitools/gui_trackers.py