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 | |
A box tracker, can be based on a line object.
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(), package_details.PackageDetails.update, MeshGui::MeshRenderer::Private.update(), MeshGui::MeshRenderer.update(), TechDrawGui::TaskDlgActiveView.update(), TechDrawGui::TaskDlgBalloon.update(), TechDrawGui::TaskDlgCenterLine.update(), TechDrawGui::TaskDlgCosmeticLine.update(), TechDrawGui::TaskDlgCosVertex.update(), TechDrawGui::TaskDlgCustomizeFormat.update(), TechDrawGui::TaskDlgDetail.update(), TechDrawGui::TaskDlgDimension.update(), TechDrawGui::TaskDlgGeomHatch.update(), TechDrawGui::TaskDlgHatch.update(), TechDrawGui::TaskDlgLeaderLine.update(), TechDrawGui::TaskDlgLinkDim.update(), TechDrawGui::TaskDlgProjection.update(), TechDrawGui::TaskDlgProjGroup.update(), TechDrawGui::TaskDlgRichAnno.update(), TechDrawGui::TaskDlgSectionView.update(), TechDrawGui::TaskDlgSelectLineAttributes.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(), ArchAxis._AxisTaskPanel.update(), ArchAxisSystem.AxisSystemTaskPanel.update(), ArchComponent.ComponentTaskPanel.update(), ArchGrid.ArchGridTaskPanel.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(), AddonManager.CommandAddonManager.update(), draftguitools.gui_trackers.radiusTracker.update(), ArchCommands.SurveyTaskPanel.update(), Mod.PartDesign.WizardShaft.ShaftDiagram.Diagram.update(), addonmanager_workers.GitProgressMonitor.update(), draftguitools.gui_trackers.boxTracker.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 ArchGrid.ArchGridTaskPanel.accept(), PathScripts.PathInspect.GCodeEditorDialog.cleanup(), PathScripts.PathDressupHoldingTags.Tag.createSolidsAt(), PathScripts.PathStock.StockFromBase.execute(), ifc4.ifcpixeltexture.minpixelint(), ArchGrid.ArchGridTaskPanel.setHeight(), ifc4.ifcpixeltexture.sizeofpixellist(), ifc2x3.ifcpixeltexture.wr22(), and ifc2x3.ifcpixeltexture.wr24().
def draftguitools.gui_trackers.boxTracker.length | ( | self, | |
l = None |
|||
) |
Set the length.
References Gui::SoBoxSelectionRenderActionP.cube, SoFCBBoxRenderInfo.cube, and draftguitools.gui_trackers.boxTracker.cube.
Referenced by PathScripts.PathStock.StockFromBase.execute(), PathScripts.PathDressupDogbone.ObjectDressup.execute(), PathScripts.PathFeatureExtensions.Extension.getSubLink(), PathScripts.PathFeatureExtensions.Extension.getWire(), and Mod.PartDesign.Scripts.FilletArc.Vector.norm().
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().
def draftguitools.gui_trackers.boxTracker.setRotation | ( | self, | |
rot | |||
) |
Set the rotation.
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, and draftviewproviders.view_text.ViewProviderText.trans.
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(), e57::BufferView.pos(), 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.PathDressupDogbone.Marker.pos, PathScripts.PathDressupTagGui.HoldingTagMarker.pos, KDL::Trajectory_Stationary.pos, SketcherGui::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 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().
def draftguitools.gui_trackers.boxTracker.width | ( | self, | |
w = None |
|||
) |
Set the width.
References Gui::SoBoxSelectionRenderActionP.cube, SoFCBBoxRenderInfo.cube, and draftguitools.gui_trackers.boxTracker.cube.
Referenced by ArchGrid.ArchGridTaskPanel.accept(), PathScripts.PathInspect.GCodeEditorDialog.cleanup(), PathScripts.PathStock.StockFromBase.execute(), draftguitools.gui_trimex.Trimex.finish(), importSVG.svgHandler.format(), PathScripts.PathDressupHoldingTags.Tag.fullWidth(), ifc4.ifcpixeltexture.minpixelins(), ArchGrid.ArchGridTaskPanel.setWidth(), ifc4.ifcpixeltexture.sizeofpixellist(), ifc4.ifccshapeprofiledef.validinternalfilletradius(), ifc4.ifclshapeprofiledef.validthickness(), ifc4.ifccshapeprofiledef.validwallthickness(), ifc2x3.ifccshapeprofiledef.wr2(), ifc2x3.ifcpixeltexture.wr21(), ifc2x3.ifclshapeprofiledef.wr22(), ifc2x3.ifcpixeltexture.wr24(), and ifc2x3.ifccshapeprofiledef.wr3().
draftguitools.gui_trackers.boxTracker.baseline |
Referenced by draftguitools.gui_trackers.boxTracker.update().
draftguitools.gui_trackers.boxTracker.cube |
draftguitools.gui_trackers.boxTracker.trans |
Referenced by draftguitools.gui_trackers.ghostTracker.center(), draftguitools.gui_trackers.arcTracker.getAngle(), draftguitools.gui_trackers.ghostTracker.getMatrix(), draftguitools.gui_trackers.arcTracker.getRadius(), draftguitools.gui_trackers.ghostTracker.move(), draftguitools.gui_trackers.boxTracker.pos(), draftguitools.gui_trackers.ghostTracker.rotate(), draftguitools.gui_trackers.ghostTracker.scale(), draftguitools.gui_trackers.gridTracker.set(), draftguitools.gui_trackers.PlaneTracker.set(), draftguitools.gui_trackers.arcTracker.setCenter(), draftguitools.gui_trackers.ghostTracker.setMatrix(), draftguitools.gui_trackers.arcTracker.setRadius(), draftguitools.gui_trackers.boxTracker.setRotation(), draftguitools.gui_trackers.radiusTracker.update(), draftguitools.gui_trackers.boxTracker.update(), and draftviewproviders.view_text.ViewProviderText.updateData().