draftguitools.gui_trackers.boxTracker Class Reference

Public Member Functions

def height (self, h=None)
 
def length (self, l=None)
 
def pos (self, p)
 
def setRotation (self, rot)
 
def update (self, line=None, normal=None)
 
def width (self, w=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

 baseline
 
 cube
 
 trans
 
- Public Attributes inherited from draftguitools.gui_trackers.Tracker
 color
 
 ontop
 
 switch
 
 Visible
 

Detailed Description

A box tracker, can be based on a line object.

Member Function Documentation

◆ height()

def draftguitools.gui_trackers.boxTracker.height (   self,
  h = None 
)
Set the height.

References Gui::SoBoxSelectionRenderActionP.cube, SoFCBBoxRenderInfo.cube, draftguitools.gui_trackers.boxTracker.cube, Gui::LinkInfo.update(), MeshGui::MeshRenderer::Private.update(), MeshGui::MeshRenderer.update(), TechDrawGui::TaskDlgActiveView.update(), TechDrawGui::TaskDlgBalloon.update(), TechDrawGui::TaskDlgCenterLine.update(), TechDrawGui::TaskDlgCosmeticLine.update(), TechDrawGui::TaskDlgCosVertex.update(), TechDrawGui::TaskDlgDetail.update(), TechDrawGui::TaskDlgDimension.update(), TechDrawGui::TaskDlgGeomHatch.update(), TechDrawGui::TaskDlgHatch.update(), TechDrawGui::TaskDlgLeaderLine.update(), TechDrawGui::TaskDlgLinkDim.update(), TechDrawGui::TaskDlgProjGroup.update(), TechDrawGui::TaskDlgRichAnno.update(), TechDrawGui::TaskDlgSectionView.update(), TechDrawGui::TaskDlgWeldingSymbol.update(), SMESHDS_GroupOnFilter.update(), App::LinkBaseExtension.update(), Gui::ViewProvider.update(), Gui::ViewProviderDocumentObject.update(), nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer, BinaryType >.update(), Gui::CommandPy.update(), Gui::DocumentPy.update(), Gui::ViewProviderDocumentObjectPy.update(), AddonManager.CommandAddonManager.update(), ArchAxis._AxisTaskPanel.update(), ArchAxis.AxisSystemTaskPanel.update(), ArchAxis.ArchGridTaskPanel.update(), ArchComponent.ComponentTaskPanel.update(), ArchNesting.Nester.update(), ArchRoof._RoofTaskPanel.update(), ArchSectionPlane.SectionPlaneTaskPanel.update(), ArchWindow._ArchWindowTaskPanel.update(), DraftGui.FacebinderTaskPanel.update(), draftguitools.gui_trackers.gridTracker.update(), femtaskpanels.task_mesh_gmsh._TaskPanel.update(), femtaskpanels.task_result_mechanical._TaskPanel.update(), femtaskpanels.task_solver_ccxtools._TaskPanel.update(), Mod.PartDesign.InvoluteGearFeature._InvoluteGearTaskPanel.update(), Mod.PartDesign.SprocketFeature.SprocketTaskPanel.update(), Plot.Plot.update(), Spreadsheet_legacy.SpreadsheetView.update(), DocumentObject.ViewProvider.update(), draftguitools.gui_trackers.radiusTracker.update(), ArchCommands.SurveyTaskPanel.update(), shipAreasCurve.Preview.Preview.update(), Mod.PartDesign.WizardShaft.ShaftDiagram.Diagram.update(), shipCreateShip.Preview.Preview.update(), shipOutlineDraw.Preview.Preview.update(), draftguitools.gui_trackers.boxTracker.update(), draftguitools.gui_trackers.ghostTracker.update(), draftguitools.gui_edit.Edit.update(), draftguitools.gui_trackers.rectangleTracker.update(), ArchPanel.CommandPanel.update(), ArchStructure._CommandStructure.update(), ArchWall._CommandWall.update(), ArchWindow._CommandWindow.update(), draftguitools.gui_trackers.bsplineTracker.update(), draftguitools.gui_trackers.bezcurveTracker.update(), draftguitools.gui_trackers.dimTracker.update(), draftguitools.gui_trackers.wireTracker.update(), and PartDesign::SubShapeBinder.update().

Referenced by ArchAxis.ArchGridTaskPanel.accept(), PathScripts.PathInspect.GCodeEditorDialog.cleanup(), PathScripts.PathDressupHoldingTags.Tag.createSolidsAt(), PathScripts.PathStock.StockFromBase.execute(), ifc4.ifcpixeltexture.minpixelint(), ArchAxis.ArchGridTaskPanel.setHeight(), ifc4.ifcpixeltexture.sizeofpixellist(), ifc2x3.ifcpixeltexture.wr22(), and ifc2x3.ifcpixeltexture.wr24().

◆ length()

◆ pos()

def draftguitools.gui_trackers.boxTracker.pos (   self,
  p 
)
Set the translation.

References draftguitools.gui_trackers.bsplineTracker.trans, draftguitools.gui_trackers.bezcurveTracker.trans, draftguitools.gui_trackers.arcTracker.trans, draftguitools.gui_trackers.ghostTracker.trans, draftguitools.gui_trackers.PlaneTracker.trans, draftguitools.gui_trackers.gridTracker.trans, draftguitools.gui_trackers.boxTracker.trans, draftguitools.gui_trackers.radiusTracker.trans, draftviewproviders.view_text.ViewProviderText.trans, and DraftVecUtils.tup().

Referenced by draftguitools.gui_beziers.BezCurve.action(), draftguitools.gui_beziers.CubicBezCurve.action(), draftguitools.gui_ellipses.Ellipse.action(), draftguitools.gui_lines.Line.action(), draftguitools.gui_rectangles.Rectangle.action(), draftguitools.gui_splines.BSpline.action(), draftguitools.gui_stretch.Stretch.action(), Mod.PartDesign.fcgear.fcgear.FCWireBuilder.arc(), Mod.PartDesign.fcgear.svggear.SVGWireBuilder.arc(), Mod.PartDesign.fcsprocket.fcsprocket.FCWireBuilder.arc(), Mod.PartDesign.fcgear.fcgear.FCWireBuilder.curve(), Mod.PartDesign.fcgear.svggear.SVGWireBuilder.curve(), Mod.PartDesign.fcsprocket.fcsprocket.FCWireBuilder.curve(), Mod.PartDesign.fcgear.fcgear.FCWireBuilder.line(), Mod.PartDesign.fcgear.svggear.SVGWireBuilder.line(), Mod.PartDesign.fcsprocket.fcsprocket.FCWireBuilder.line(), Mod.PartDesign.fcgear.fcgear.FCWireBuilder.move(), Mod.PartDesign.fcgear.svggear.SVGWireBuilder.move(), Mod.PartDesign.fcsprocket.fcsprocket.FCWireBuilder.move(), and draftguitools.gui_trackers.boxTracker.update().

◆ setRotation()

◆ update()

def draftguitools.gui_trackers.boxTracker.update (   self,
  line = None,
  normal = None 
)
Update the tracker.

References draftguitools.gui_trackers.boxTracker.baseline, draftguitools.gui_trackers.radiusTracker.baseline, Gui::SoBoxSelectionRenderActionP.cube, SoFCBBoxRenderInfo.cube, draftguitools.gui_trackers.boxTracker.cube, WorkingPlane.getPlacementFromPoints(), KwdSct.pos, GmfMshSct.pos, Py::MapBase< T >::iterator.pos, Py::MapBase< T >::const_iterator.pos, Gui::DockWindowItem.pos, SoVectorizeText.pos, SoVectorizeImage.pos, Gui::TaskView::TaskDialog.pos, Gui::ToolTip.pos, draftguitools.gui_base_original.DraftTool.pos, draftguitools.gui_beziers.BezCurve.pos, draftguitools.gui_beziers.CubicBezCurve.pos, draftguitools.gui_lines.Line.pos, draftguitools.gui_splines.BSpline.pos, draftguitools.gui_trackers.boxTracker.pos(), MeshGui::Vertex.pos, Mod.PartDesign.fcgear.fcgear.FCWireBuilder.pos, Mod.PartDesign.fcgear.svggear.SVGWireBuilder.pos, Mod.PartDesign.fcsprocket.fcsprocket.FCWireBuilder.pos, PathScripts.PathDressupTagGui.HoldingTagMarker.pos, KDL::Trajectory_Stationary.pos, DrawSketchHandlerEllipse.pos, DraftVecUtils.scaleTo(), draftguitools.gui_trackers.bsplineTracker.trans, draftguitools.gui_trackers.bezcurveTracker.trans, draftguitools.gui_trackers.arcTracker.trans, draftguitools.gui_trackers.ghostTracker.trans, draftguitools.gui_trackers.PlaneTracker.trans, draftguitools.gui_trackers.gridTracker.trans, draftguitools.gui_trackers.boxTracker.trans, draftguitools.gui_trackers.radiusTracker.trans, and draftviewproviders.view_text.ViewProviderText.trans.

Referenced by ArchAxis.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(), ArchAxis.CommandArchGrid.IsActive(), draftguitools.gui_trackers.rectangleTracker.p3(), Plot.Plot.plot(), Spreadsheet_legacy.SpreadsheetView.recompute(), ArchAxis.AxisSystemTaskPanel.removeElement(), ArchComponent.ComponentTaskPanel.removeElement(), ArchSectionPlane.SectionPlaneTaskPanel.removeElement(), DraftGui.FacebinderTaskPanel.removeElement(), draftguitools.gui_trackers.gridTracker.reset(), and ArchNesting.Nester.run().

◆ width()

Member Data Documentation

◆ baseline

draftguitools.gui_trackers.boxTracker.baseline

◆ cube

◆ trans


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