Public Member Functions | |
def | attach (self, vobj) |
def | draw_dim_arrows (self, vobj) |
def | getIcon (self) |
def | onChanged (self, vobj, prop) |
def | remove_dim_arrows (self) |
def | updateData (self, obj, prop) |
Public Member Functions inherited from draftviewproviders.view_dimension.ViewProviderDimensionBase | |
def | doubleClicked (self, vobj) |
def | getDefaultDisplayMode (self) |
def | getDisplayModes (self, vobj) |
def | setDisplayMode (self, mode) |
Public Member Functions inherited from draftviewproviders.view_draft_annotation.ViewProviderDraftAnnotation | |
def | claimChildren (self) |
def | execute (self, vobj) |
def | setEdit (self, vobj, mode=0) |
def | unsetEdit (self, vobj, mode=0) |
Public Attributes | |
arc | |
circle | |
circle1 | |
circle2 | |
color | |
coord1 | |
coord2 | |
coords | |
drawstyle | |
font | |
font3d | |
marks | |
node | |
node3d | |
Object | |
p2 | |
p3 | |
string | |
tbase | |
text | |
text3d | |
textpos | |
trans1 | |
trans2 | |
Public Attributes inherited from draftviewproviders.view_dimension.ViewProviderDimensionBase | |
defaultmode | |
Public Attributes inherited from draftviewproviders.view_draft_annotation.ViewProviderDraftAnnotation | |
Object | |
Detailed Description
A View Provider for the Draft Angular Dimension object
Member Function Documentation
◆ attach()
def draftviewproviders.view_dimension.ViewProviderAngularDimension.attach | ( | self, | |
vobj | |||
) |
Setup the scene sub-graph of the view provider
Reimplemented from draftviewproviders.view_draft_annotation.ViewProviderDraftAnnotation.
References draftviewproviders.view_base.ViewProviderDraft.Object, DraftLayer.Layer.Object, Base::Writer::FileEntry.Object, Gui::SelectionChanges.Object, ArchFloor._Floor.Object, ArchMaterial._ViewProviderArchMaterialContainer.Object, DraftLayer.ViewProviderLayer.Object, Base::XMLReader::FileEntry.Object, draftviewproviders.view_dimension.ViewProviderLinearDimension.Object, ArchReference.ViewProviderArchReference.Object, ArchEquipment._ViewProviderEquipment.Object, ArchFloor._ViewProviderFloor.Object, ArchSchedule._ViewProviderArchSchedule.Object, ArchMaterial._ViewProviderArchMaterial.Object, DraftLayer.ViewProviderLayerContainer.Object, ArchSpace._ViewProviderSpace.Object, ArchBuildingPart.ViewProviderBuildingPart.Object, draftviewproviders.view_dimension.ViewProviderAngularDimension.Object, ArchRoof._ViewProviderRoof.Object, ArchSite._ViewProviderSite.Object, ArchSectionPlane._ViewProviderSectionPlane.Object, ArchStructure.StructureTaskPanel.Object, ArchComponent.ViewProviderComponent.Object, and ArchWall._ViewProviderWall.Object.
◆ draw_dim_arrows()
def draftviewproviders.view_dimension.ViewProviderAngularDimension.draw_dim_arrows | ( | self, | |
vobj | |||
) |
References UNV2411::TRecord.color, UNV2412::TRecord.color, draftguitools.gui_trimex.Trimex.color, Gui::SoRegPoint.color, Gui::RDragger.color, Gui::ColorButton.color, DraftGui.DraftToolBar.color, draftviewproviders.view_dimension.ViewProviderLinearDimension.color, ArchMaterial._ArchMaterialTaskPanel.color, ArchSpace._ViewProviderSpace.color, draftviewproviders.view_dimension.ViewProviderAngularDimension.color, draftguitools.gui_trackers.editTracker.color, ArchSite._ViewProviderSite.color, ArchPanel.ViewProviderPanelCut.color, ArchPanel.ViewProviderPanelSheet.color, draftviewproviders.view_dimension.ViewProviderLinearDimension.coord1, draftviewproviders.view_dimension.ViewProviderAngularDimension.coord1, draftviewproviders.view_dimension.ViewProviderLinearDimension.coord2, draftviewproviders.view_dimension.ViewProviderAngularDimension.coord2, draftviewproviders.view_dimension.ViewProviderLinearDimension.marks, draftviewproviders.view_dimension.ViewProviderAngularDimension.marks, Gui::Dialog::Clipping::Private.node, draftguitools.gui_scale.Scale.node, draftguitools.gui_base_original.DraftTool.node, Gui::AxisOrigin.node, draftguitools.gui_move.Move.node, uvPtStruct.node, draftguitools.gui_mirror.Mirror.node, draftguitools.gui_rotate.Rotate.node, draftguitools.gui_polygons.Polygon.node, draftguitools.gui_stretch.Stretch.node, draftguitools.gui_lines.Line.node, StdMeshers_Quadrangle_2D::ForcedPoint.node, draftguitools.gui_arcs.Arc.node, draftviewproviders.view_dimension.ViewProviderLinearDimension.node, draftguitools.gui_beziers.CubicBezCurve.node, draftguitools.gui_dimensions.Dimension.node, draftguitools.gui_edit.Edit.node, draftviewproviders.view_dimension.ViewProviderAngularDimension.node, draftviewproviders.view_dimension.ViewProviderLinearDimension.node3d, draftviewproviders.view_dimension.ViewProviderAngularDimension.node3d, draftviewproviders.view_dimension.ViewProviderLinearDimension.trans1, draftviewproviders.view_dimension.ViewProviderAngularDimension.trans1, draftviewproviders.view_dimension.ViewProviderLinearDimension.trans2, and draftviewproviders.view_dimension.ViewProviderAngularDimension.trans2.
Referenced by draftviewproviders.view_dimension.ViewProviderAngularDimension.onChanged().
◆ getIcon()
def draftviewproviders.view_dimension.ViewProviderAngularDimension.getIcon | ( | self | ) |
Reimplemented from draftviewproviders.view_dimension.ViewProviderDimensionBase.
◆ onChanged()
def draftviewproviders.view_dimension.ViewProviderAngularDimension.onChanged | ( | self, | |
vobj, | |||
prop | |||
) |
called when a view property has changed
Reimplemented from draftviewproviders.view_dimension.ViewProviderDimensionBase.
References UNV2411::TRecord.color, UNV2412::TRecord.color, draftguitools.gui_trimex.Trimex.color, Gui::SoRegPoint.color, Gui::RDragger.color, Gui::ColorButton.color, DraftGui.DraftToolBar.color, draftviewproviders.view_dimension.ViewProviderLinearDimension.color, ArchMaterial._ArchMaterialTaskPanel.color, ArchSpace._ViewProviderSpace.color, draftviewproviders.view_dimension.ViewProviderAngularDimension.color, draftguitools.gui_trackers.editTracker.color, ArchSite._ViewProviderSite.color, ArchPanel.ViewProviderPanelCut.color, ArchPanel.ViewProviderPanelSheet.color, draftviewproviders.view_dimension.ViewProviderLinearDimension.draw_dim_arrows(), draftviewproviders.view_dimension.ViewProviderAngularDimension.draw_dim_arrows(), draftviewproviders.view_dimension.ViewProviderLinearDimension.drawstyle, draftviewproviders.view_dimension.ViewProviderAngularDimension.drawstyle, ArchSectionPlane._ViewProviderSectionPlane.drawstyle, Gui::SoBoxSelectionRenderActionP.drawstyle, iisIconLabelScheme.font, draftviewproviders.view_dimension.ViewProviderLinearDimension.font, ArchSpace._ViewProviderSpace.font, draftviewproviders.view_dimension.ViewProviderAngularDimension.font, draftguitools.gui_trackers.gridTracker.font, draftviewproviders.view_dimension.ViewProviderLinearDimension.font3d, draftviewproviders.view_dimension.ViewProviderAngularDimension.font3d, draftviewproviders.view_dimension.ViewProviderLinearDimension.remove_dim_arrows(), draftviewproviders.view_dimension.ViewProviderAngularDimension.remove_dim_arrows(), Gui::ViewProviderVRMLObject.updateData(), Gui::ViewProviderExtern.updateData(), Gui::ViewProviderOriginFeature.updateData(), Gui::ViewProviderPlacement.updateData(), Gui::ViewProviderDragger.updateData(), Gui::ViewProviderAnnotation.updateData(), Gui::ViewProviderGeometryObject.updateData(), Gui::ViewProviderPythonFeatureImp.updateData(), Gui::ViewProviderInventorObject.updateData(), Gui::ViewProviderMeasureDistance.updateData(), Gui::ViewProviderAnnotationLabel.updateData(), Gui::PropertyEditor::PropertyItem.updateData(), draftviewproviders.view_dimension.ViewProviderDimensionBase.updateData(), draftviewproviders.view_base.ViewProviderDraft.updateData(), Gui::ViewProviderLink.updateData(), DraftLayer.ViewProviderLayer.updateData(), ArchFence._ViewProviderFence.updateData(), Gui::ViewProviderPythonFeatureT< ViewProviderT >.updateData(), Gui::ViewProvider.updateData(), ArchEquipment._ViewProviderEquipment.updateData(), ArchReference.ViewProviderArchReference.updateData(), ArchAxis._ViewProviderAxis.updateData(), ArchMaterial._ViewProviderArchMaterial.updateData(), Gui::LinkInfo.updateData(), ArchRebar._ViewProviderRebar.updateData(), ArchCurtainWall.ViewProviderCurtainWall.updateData(), ArchSpace._ViewProviderSpace.updateData(), ArchBuildingPart.ViewProviderBuildingPart.updateData(), ArchPanel._ViewProviderPanel.updateData(), ArchAxis._ViewProviderAxisSystem.updateData(), ArchStructure._ViewProviderStructure.updateData(), ArchSite._ViewProviderSite.updateData(), ArchWindow._ViewProviderWindow.updateData(), ArchSectionPlane._ViewProviderSectionPlane.updateData(), ArchComponent.ViewProviderComponent.updateData(), ArchPanel.ViewProviderPanelCut.updateData(), ArchPanel.ViewProviderPanelSheet.updateData(), and ArchWall._ViewProviderWall.updateData().
Referenced by ArchSite.Compass.buildCoordinates(), ArchAxis.CommandArchGrid.IsActive(), draftviewproviders.view_wpproxy.ViewProviderWorkingPlaneProxy.updateData(), and draftviewproviders.view_label.ViewProviderLabel.updateData().
◆ remove_dim_arrows()
def draftviewproviders.view_dimension.ViewProviderAngularDimension.remove_dim_arrows | ( | self | ) |
References draftviewproviders.view_dimension.ViewProviderLinearDimension.marks, draftviewproviders.view_dimension.ViewProviderAngularDimension.marks, Gui::Dialog::Clipping::Private.node, draftguitools.gui_scale.Scale.node, draftguitools.gui_base_original.DraftTool.node, Gui::AxisOrigin.node, draftguitools.gui_move.Move.node, uvPtStruct.node, draftguitools.gui_mirror.Mirror.node, draftguitools.gui_rotate.Rotate.node, draftguitools.gui_polygons.Polygon.node, draftguitools.gui_stretch.Stretch.node, draftguitools.gui_lines.Line.node, StdMeshers_Quadrangle_2D::ForcedPoint.node, draftguitools.gui_arcs.Arc.node, draftviewproviders.view_dimension.ViewProviderLinearDimension.node, draftguitools.gui_beziers.CubicBezCurve.node, draftguitools.gui_dimensions.Dimension.node, draftguitools.gui_edit.Edit.node, draftviewproviders.view_dimension.ViewProviderAngularDimension.node, draftviewproviders.view_dimension.ViewProviderLinearDimension.node3d, and draftviewproviders.view_dimension.ViewProviderAngularDimension.node3d.
Referenced by draftviewproviders.view_dimension.ViewProviderAngularDimension.onChanged().
◆ updateData()
def draftviewproviders.view_dimension.ViewProviderAngularDimension.updateData | ( | self, | |
obj, | |||
prop | |||
) |
called when the base object is changed
Reimplemented from draftviewproviders.view_dimension.ViewProviderDimensionBase.
References DraftVecUtils.isNull().
Referenced by PathScripts.PathJobDlg.JobCreate.exec_(), PathScripts.PathOpGui.TaskPanelPage.pageUpdateData(), and PathScripts.PathSetupSheetGui.OpTaskPanel.setupUi().
Member Data Documentation
◆ arc
draftviewproviders.view_dimension.ViewProviderAngularDimension.arc |
◆ circle
draftviewproviders.view_dimension.ViewProviderAngularDimension.circle |
◆ circle1
draftviewproviders.view_dimension.ViewProviderAngularDimension.circle1 |
◆ circle2
draftviewproviders.view_dimension.ViewProviderAngularDimension.circle2 |
◆ color
draftviewproviders.view_dimension.ViewProviderAngularDimension.color |
Referenced by ArchSite.Compass.buildCoordinates(), draftviewproviders.view_dimension.ViewProviderAngularDimension.draw_dim_arrows(), importSVG.svgHandler.format(), FeaturePython.ViewProviderOctahedron.onChanged(), draftviewproviders.view_dimension.ViewProviderAngularDimension.onChanged(), Mod.Test.unittestgui.ProgressBar.paint(), and PathScripts.PathDressupTagGui.HoldingTagMarker.setEnabled().
◆ coord1
draftviewproviders.view_dimension.ViewProviderAngularDimension.coord1 |
◆ coord2
draftviewproviders.view_dimension.ViewProviderAngularDimension.coord2 |
◆ coords
draftviewproviders.view_dimension.ViewProviderAngularDimension.coords |
◆ drawstyle
draftviewproviders.view_dimension.ViewProviderAngularDimension.drawstyle |
◆ font
draftviewproviders.view_dimension.ViewProviderAngularDimension.font |
◆ font3d
draftviewproviders.view_dimension.ViewProviderAngularDimension.font3d |
◆ marks
draftviewproviders.view_dimension.ViewProviderAngularDimension.marks |
◆ node
draftviewproviders.view_dimension.ViewProviderAngularDimension.node |
◆ node3d
draftviewproviders.view_dimension.ViewProviderAngularDimension.node3d |
◆ Object
draftviewproviders.view_dimension.ViewProviderAngularDimension.Object |
Referenced by ArchPanel.CommandPanelSheet.Activated(), draftviewproviders.view_draftlink.ViewProviderDraftLink.attach(), OpenSCADFeatures.ViewProviderTree.attach(), PathScripts.PathCopy.ViewProviderPathCopy.attach(), PathScripts.PathHop.ViewProviderPathHop.attach(), PathScripts.PathOpGui.ViewProvider.attach(), PathScripts.PathArray.ViewProviderArray.attach(), PathScripts.PathDressupDragknife.ViewProviderDressup.attach(), draftviewproviders.view_dimension.ViewProviderAngularDimension.attach(), ArchSite.Compass.buildCoordinates(), draftviewproviders.view_draftlink.ViewProviderDraftLink.claimChildren(), femviewprovider.view_result_mechanical.VPResultMechanical.claimChildren(), OpenSCADFeatures.ViewProviderTree.claimChildren(), draftviewproviders.view_draft_annotation.ViewProviderDraftAnnotation.claimChildren(), BOPTools.SplitFeatures.ViewProviderBooleanFragments.claimChildren(), BOPTools.JoinFeatures.ViewProviderConnect.claimChildren(), femviewprovider.view_mesh_gmsh.VPMeshGmsh.claimChildren(), PathScripts.PathArray.ViewProviderArray.claimChildren(), BOPTools.SplitFeatures.ViewProviderSlice.claimChildren(), BOPTools.JoinFeatures.ViewProviderEmbed.claimChildren(), BOPTools.JoinFeatures.ViewProviderCutout.claimChildren(), BOPTools.SplitFeatures.ViewProviderXOR.claimChildren(), PathScripts.PathDressupDragknife.ViewProviderDressup.claimChildren(), Spreadsheet_legacy.ViewProviderSpreadsheet.claimChildren(), PathScripts.PathOpGui.ViewProvider.clearTaskPanel(), femviewprovider.view_mesh_gmsh.VPMeshGmsh.doubleClicked(), BOPTools.SplitFeatures.ViewProviderBooleanFragments.dragObject(), BOPTools.JoinFeatures.ViewProviderConnect.dragObject(), femviewprovider.view_mesh_gmsh.VPMeshGmsh.dragObject(), BOPTools.SplitFeatures.ViewProviderXOR.dragObject(), BOPTools.SplitFeatures.ViewProviderBooleanFragments.dropObject(), BOPTools.JoinFeatures.ViewProviderConnect.dropObject(), femviewprovider.view_mesh_gmsh.VPMeshGmsh.dropObject(), BOPTools.SplitFeatures.ViewProviderXOR.dropObject(), Mod.Show.Containers.Container.getCSChildren(), Mod.Show.Containers.Container.getDynamicChildren(), femviewprovider.view_material_common.VPMaterialCommon.getIcon(), draftviewproviders.view_draftlink.ViewProviderDraftLink.getIcon(), femviewprovider.view_base_femobject.VPBaseFemObject.getIcon(), OpenSCADFeatures.ViewProviderTree.getIcon(), PathScripts.PathOpGui.ViewProvider.getIcon(), draftviewproviders.view_dimension.ViewProviderDimensionBase.getIcon(), Mod.Show.Containers.Container.getStaticChildren(), Mod.Show.Containers.Container.getVisGroupChildren(), Mod.Show.Containers.Container.hasObjectRecursive(), Mod.Show.Containers.Container.isACS(), ArchSchedule.CommandArchSchedule.IsActive(), Mod.Show.Containers.Container.isAVisGroup(), Mod.Show.Containers.Container.isChildVisible(), BOPTools.JoinFeatures.ViewProviderEmbed.onDelete(), BOPTools.JoinFeatures.ViewProviderCutout.onDelete(), Mod.Show.Containers.Container.self_check(), draftviewproviders.view_label.ViewProviderLabel.set_properties(), Mod.PartDesign.SprocketFeature.ViewProviderSprocket.setEdit(), PathScripts.PathOpGui.ViewProvider.setupTaskPanel(), femviewprovider.view_result_mechanical.VPResultMechanical.unsetEdit(), draftviewproviders.view_wpproxy.ViewProviderWorkingPlaneProxy.writeCamera(), and draftviewproviders.view_wpproxy.ViewProviderWorkingPlaneProxy.writeState().
◆ p2
draftviewproviders.view_dimension.ViewProviderAngularDimension.p2 |
Referenced by draftguitools.gui_trackers.rectangleTracker.isInside().
◆ p3
draftviewproviders.view_dimension.ViewProviderAngularDimension.p3 |
◆ string
draftviewproviders.view_dimension.ViewProviderAngularDimension.string |
Referenced by Spreadsheet_legacy.MathParser.hasNext(), and Spreadsheet_legacy.MathParser.peek().
◆ tbase
draftviewproviders.view_dimension.ViewProviderAngularDimension.tbase |
◆ text
draftviewproviders.view_dimension.ViewProviderAngularDimension.text |
◆ text3d
draftviewproviders.view_dimension.ViewProviderAngularDimension.text3d |
◆ textpos
draftviewproviders.view_dimension.ViewProviderAngularDimension.textpos |
◆ trans1
draftviewproviders.view_dimension.ViewProviderAngularDimension.trans1 |
◆ trans2
draftviewproviders.view_dimension.ViewProviderAngularDimension.trans2 |
The documentation for this class was generated from the following file:
- src/Mod/Draft/draftviewproviders/view_dimension.py