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 | |
pnts | |
size_pixel | |
string | |
transform | |
view | |
Public Attributes inherited from draftguitools.gui_trackers.Tracker | |
color | |
ontop | |
switch | |
Visible | |
A wrapper around a Sketcher dim.
def draftguitools.gui_trackers.archDimTracker.p1 | ( | self, | |
point = None |
|||
) |
Set or get the first point of the dim.
References draftguitools.gui_trackers.archDimTracker.pnts, SketcherGui::SoDatumLabel.pnts, TechDraw::BezierSegment.pnts, Base::ParameterGrpPy.setString(), and draftguitools.gui_trackers.archDimTracker.setString().
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.archDimTracker.p2 | ( | self, | |
point = None |
|||
) |
Set or get the second point of the dim.
References draftguitools.gui_trackers.archDimTracker.pnts, SketcherGui::SoDatumLabel.pnts, TechDraw::BezierSegment.pnts, Base::ParameterGrpPy.setString(), and draftguitools.gui_trackers.archDimTracker.setString().
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().
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.
def draftguitools.gui_trackers.archDimTracker.setString | ( | self, | |
text = None |
|||
) |
Set the dim string to the given value or auto value.
References 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, CAreaPocketParams.mode, SketcherGui::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.pnts, SketcherGui::SoDatumLabel.pnts, and TechDraw::BezierSegment.pnts.
Referenced by draftguitools.gui_trackers.archDimTracker.p1(), and draftguitools.gui_trackers.archDimTracker.p2().
draftguitools.gui_trackers.archDimTracker.camera |
draftguitools.gui_trackers.archDimTracker.dimnode |
Referenced by draftguitools.gui_trackers.archDimTracker.setMode().
draftguitools.gui_trackers.archDimTracker.Distance |
draftguitools.gui_trackers.archDimTracker.matrix |
draftguitools.gui_trackers.archDimTracker.mode |
Referenced by draftguitools.gui_offset.Offset.action(), gzip_utf8.GzipFile.close(), Commands.SphereCreator.enter(), gzip_utf8.GzipFile.filename(), gzip_utf8.GzipFile.flush(), Commands.SphereCreator.leave(), draftguitools.gui_offset.Offset.numericRadius(), gzip_utf8.GzipFile.read(), gzip_utf8.GzipFile.readable(), gzip_utf8.GzipFile.rewind(), gzip_utf8.GzipFile.seek(), draftguitools.gui_trackers.archDimTracker.setString(), gzip_utf8.GzipFile.writable(), and gzip_utf8.GzipFile.write().
draftguitools.gui_trackers.archDimTracker.norm |
Referenced by draftguitools.gui_trackers.archDimTracker.setString().
draftguitools.gui_trackers.archDimTracker.offset |
draftguitools.gui_trackers.archDimTracker.param1 |
draftguitools.gui_trackers.archDimTracker.param2 |
draftguitools.gui_trackers.archDimTracker.pnts |
draftguitools.gui_trackers.archDimTracker.size_pixel |
draftguitools.gui_trackers.archDimTracker.string |
Referenced by Spreadsheet_legacy.MathParser.hasNext(), and Spreadsheet_legacy.MathParser.peek().
draftguitools.gui_trackers.archDimTracker.transform |
draftguitools.gui_trackers.archDimTracker.view |
Referenced by 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(), draftguitools.gui_subelements.SubelementHighlight.remove_view_callback(), PathScripts.PathGetPoint.TaskPanel.removeGlobalCallbacks(), femexamples.examplesgui.FemExamples.run(), and draftguitools.gui_edit.Edit.unregister_selection_callback().