draftguitools.gui_dimensions.Dimension Class Reference

Public Member Functions

def action (self, arg)
 
def Activated (self)
 
def create_angle_dimension (self)
 
def create_linear_dimension (self)
 
def create_linear_dimension_obj (self, direction=None)
 
def create_radial_dimension_obj (self)
 
def create_with_app_measure (self)
 
def createObject (self)
 
def finish (self, closed=False)
 
def GetResources (self)
 
def numericInput (self, numx, numy, numz)
 
def selected_app_measure (self)
 
def selectEdge (self)
 
def set_constraint_node (self)
 
def set_selection (self)
 
def Activated (self, name="None", noplanesetup=False)
 
- Public Member Functions inherited from draftguitools.gui_base_original.DraftTool
def Activated (self, name="None", noplanesetup=False, is_subtool=False)
 
def commit (self, name, func)
 
def finish (self, close=False)
 
def getStrings (self, addrot=None)
 
def IsActive (self)
 

Public Attributes

 altdown
 
 angledata
 
 angles
 
 arcmode
 
 arctrack
 
 call
 
 center
 
 cont
 
 dimtrack
 
 dir
 
 edges
 
 force
 
 indices
 
 info
 
 link
 
 max
 
 node
 
 point
 
 point1
 
 point2
 
 proj_point1
 
 proj_point2
 
 selectmode
 
- Public Attributes inherited from draftguitools.gui_base_original.Creator
 support
 
- Public Attributes inherited from draftguitools.gui_base_original.DraftTool
 call
 
 commitList
 
 constrain
 
 doc
 
 extendedCopy
 
 featureName
 
 node
 
 obj
 
 planetrack
 
 point
 
 pos
 
 support
 
 ui
 
 view
 

Detailed Description

Gui command for the Dimension tool.

This includes at the moment linear, radial, diametrical,
and angular dimensions depending on the selected object
and the modifier key (ALT) used.

Maybe in the future each type can be in its own class,
and they can inherit their basic properties from a parent class.

Member Function Documentation

◆ action()

def draftguitools.gui_dimensions.Dimension.action (   self,
  arg 
)
Handle the 3D scene events.

This is installed as an EventCallback in the Inventor view.

Parameters
----------
arg: dict
    Dictionary with strings that indicates the type of event received
    from the 3D view.

References Gui::NavigationStyle.altdown, draftguitools.gui_arcs.Arc.altdown, draftguitools.gui_dimensions.Dimension.altdown, draftguitools.gui_polygons.Polygon.altdown, TechDrawGui::QGVNavStyle.altdown, draftguitools.gui_dimensions.Dimension.angledata, draftguitools.gui_dimensions.Dimension.angles, AdaptivePath::Interpolation.angles, draftguitools.gui_dimensions.Dimension.arcmode, draftguitools.gui_arcs.Arc.arctrack, draftguitools.gui_dimensions.Dimension.arctrack, draftguitools.gui_offset.Offset.arctrack, draftguitools.gui_polygons.Polygon.arctrack, draftguitools.gui_rotate.Rotate.arctrack, draftguitools.gui_arcs.Arc.center, draftguitools.gui_dimensions.Dimension.center, draftguitools.gui_offset.Offset.center, draftguitools.gui_polygons.Polygon.center, draftguitools.gui_rotate.Rotate.center, draftguitools.gui_scale.Scale.center, draftguitools.gui_trackers.ghostTracker.center(), drafttaskpanels.task_circulararray.TaskPanelCircularArray.center, drafttaskpanels.task_polararray.TaskPanelPolarArray.center, MeshCore::SphereSurfaceFit.center, MeshGui::ViewProviderMeshTransformDemolding.center, Path::Toolpath.center, PathScripts.PathDressupAxisMap.ObjectDressup.center(), GCS::Circle.center, GCS::Ellipse.center, GCS::Hyperbola.center, SketcherGui::DrawSketchHandlerBox.center, TechDraw::arcPoints.center, TechDraw::Circle.center, TechDraw::Ellipse.center, draftguitools.gui_dimensions.Dimension.cont, MeshPartGui::CurveOnMeshHandler::Private::ApproxPar.cont, draftguitools.gui_dimensions.Dimension.dimtrack, Py::Object.dir(), Gui::NetworkRetrieverP.dir, draftguitools.gui_dimensions.Dimension.dir, ap203_configuration_controlled_3d_design_of_mechanical_parts_and_assemblies_mim_lf.line.dir, automotive_design.line.dir, config_control_design.line.dir, ifc2x3.ifcline.dir, ifc4.ifcline.dir, Part::Extrusion::ExtrusionParameters.dir, WireOrienter.dir, geoff_geometry::Span.dir, geoff_geometry::Kurve::spanCompare.dir, App::DynamicProperty::PropData.doc, App::RelabelDocumentExpressionVisitor.doc, App::LinkBaseExtension::PropInfo.doc, Py::PythonType.doc(), ExpressionCompleterModel::Info.doc, Gui::GraphvizView.doc, ItemInfo.doc, ItemInfo2.doc, importIFClegacy.IfcEntity.doc, draftguitools.gui_annotationstyleeditor.AnnotationStyleEditor.doc, draftguitools.gui_base.GuiCommandSimplest.doc, draftguitools.gui_base.GuiCommandBase.doc, draftguitools.gui_base_original.DraftTool.doc, drafttests.test_airfoildat.DraftAirfoilDAT.doc, drafttests.test_creation.DraftCreation.doc, drafttests.test_dwg.DraftDWG.doc, drafttests.test_dxf.DraftDXF.doc, drafttests.test_modification.DraftModification.doc, drafttests.test_oca.DraftOCA.doc, drafttests.test_pivy.DraftPivy.doc, drafttests.test_svg.DraftSVG.doc, WorkingPlane.Plane.doc, Import::ImportOCAF.doc, Import::ImportXCAF.doc, Import::ImportOCAFAssembly.doc, MeshPartGui::Mesh2ShapeGmsh::Private.doc, PartGui::SectionCut.doc, PartGui::FaceColors::Private.doc, PartDesignGui::ComboLinks.doc, Mod.PartDesign.WizardShaft.Shaft.Shaft.doc, Mod.PartDesign.WizardShaft.WizardShaft.TaskWizardShaft.doc, PathTests.TestCentroidPost.TestCentroidPost.doc, PathTests.TestGrblPost.TestGrblPost.doc, PathTests.TestLinuxCNCPost.TestLinuxCNCPost.doc, PathTests.TestMach3Mach4Post.TestMach3Mach4Post.doc, PathTests.TestPathAdaptive.TestPathAdaptive.doc, PathTests.TestPathDrillable.TestPathDrillable.doc, PathTests.TestPathHelix.TestPathHelix.doc, PathTests.TestPathHelpers.TestPathHelpers.doc, PathTests.TestPathPost.TestBuildPostList.doc, PathTests.TestPathPost.TestOutputNameSubstitution.doc, PathTests.TestPathPropertyBag.TestPathPropertyBag.doc, PathTests.TestPathSetupSheet.TestPathSetupSheet.doc, PathTests.TestPathStock.TestPathStock.doc, PathTests.TestPathToolController.TestPathToolController.doc, PathTests.TestPathUtil.TestPathUtil.doc, PathTests.TestRefactoredCentroidPost.TestRefactoredCentroidPost.doc, PathTests.TestRefactoredGrblPost.TestRefactoredGrblPost.doc, PathTests.TestRefactoredLinuxCNCPost.TestRefactoredLinuxCNCPost.doc, PathTests.TestRefactoredMach3Mach4Post.TestRefactoredMach3Mach4Post.doc, PathTests.TestRefactoredTestPost.TestRefactoredTestPost.doc, Sandbox::CustomAddObjectEvent.doc, Sandbox::CustomRemoveObjectEvent.doc, Sandbox::CustomRecomputeEvent.doc, Sandbox::DocumentSaverThread.doc, Mod.Show.SceneDetail.SceneDetail.doc, Mod.Show.SceneDetails.Camera.Camera.doc, Mod.Show.SceneDetails.ClipPlane.ClipPlane.doc, Mod.Show.SceneDetails.ObjectClipPlane.ObjectClipPlane.doc, Mod.Show.SceneDetails.Pickability.Pickability.doc, Mod.Show.SceneDetails.VProperty.VProperty.doc, TestSpreadsheet.SpreadsheetCases.doc, TestSpreadsheetGui.SpreadsheetGuiCases.doc, Commands.TemplatePyMod_Cmd2.doc, draftguitools.gui_dimensions.Dimension.edges, draftguitools.gui_trimex.Trimex.edges, WireJoiner.edges, PathScripts.PathDeburr.ObjectDeburr.edges, PathScripts.PathDressupHoldingTags.MapWireToTag.edges, PathScripts.PathDressupHoldingTags.PathData.edges, PathScripts.PathDressupTag.ObjectDressup.edges, Gui::ManualAlignment.finish(), Gui::SoFCBoundingBox.finish(), Gui::SoFCColorBarBase.finish(), Gui::SoFCColorBar.finish(), Gui::SoFCColorGradient.finish(), Gui::SoFCColorLegend.finish(), Gui::SoFCDB.finish(), zipios::GZIPOutputStream.finish(), zipios::GZIPOutputStreambuf.finish(), zipios::ZipOutputStream.finish(), zipios::ZipOutputStreambuf.finish(), DraftGui.DraftToolBar.finish(), draftguitools.gui_base.GuiCommandBase.finish(), draftguitools.gui_subelements.SubelementHighlight.finish(), drafttaskpanels.task_circulararray.TaskPanelCircularArray.finish(), drafttaskpanels.task_orthoarray.TaskPanelOrthoArray.finish(), drafttaskpanels.task_polararray.TaskPanelPolarArray.finish(), drafttaskpanels.task_shapestring.ShapeStringTaskPanelEdit.finish(), draftviewproviders.view_text.ViewProviderText.finish(), draftguitools.gui_arcs.Arc_3Points.finish(), draftguitools.gui_base_original.DraftTool.finish(), draftguitools.gui_clone.Clone.finish(), draftguitools.gui_fillets.Fillet.finish(), draftguitools.gui_selectplane.Draft_SelectPlane.finish(), draftguitools.gui_dimensions.Dimension.finish(), draftguitools.gui_edit.Edit.finish(), draftguitools.gui_offset.Offset.finish(), draftguitools.gui_stretch.Stretch.finish(), draftguitools.gui_trimex.Trimex.finish(), draftguitools.gui_arcs.Arc.finish(), draftguitools.gui_beziers.BezCurve.finish(), draftguitools.gui_beziers.CubicBezCurve.finish(), draftguitools.gui_ellipses.Ellipse.finish(), draftguitools.gui_labels.Label.finish(), draftguitools.gui_lines.Line.finish(), draftguitools.gui_mirror.Mirror.finish(), draftguitools.gui_move.Move.finish(), draftguitools.gui_polygons.Polygon.finish(), draftguitools.gui_rectangles.Rectangle.finish(), draftguitools.gui_rotate.Rotate.finish(), draftguitools.gui_scale.Scale.finish(), draftguitools.gui_splines.BSpline.finish(), draftguitools.gui_texts.Text.finish(), draftguitools.gui_points.Point.finish(), draftguitools.gui_shapestrings.ShapeString.finish(), Gui::SoFCBackgroundGradient.finish(), Gui::SoSkipBoundingGroup.finish(), Gui::SoFCSelection.finish(), Gui::SoFCHighlightAction.finish(), Gui::SoFCSelectionAction.finish(), Gui::SoFCEnableSelectionAction.finish(), Gui::SoFCEnableHighlightAction.finish(), Gui::SoFCSelectionColorAction.finish(), Gui::SoFCHighlightColorAction.finish(), Gui::SoFCDocumentAction.finish(), Gui::SoFCDocumentObjectAction.finish(), Gui::SoUpdateVBOAction.finish(), Gui::SoFCUnifiedSelection.finish(), Gui::SoFCPathAnnotation.finish(), Gui::SoFCSeparator.finish(), Gui::SoFCSelectionRoot.finish(), ifc4.ifcworktime.finish, FreeCADInit.FCADLogger.info, Gui::PythonConsoleP.info, ArchVRM.Renderer.info(), draftguitools.gui_dimensions.Dimension.info, femsolver.report.Report.info(), FemGui::TaskDlgAnalysis.info, MeshCore::MeshCurvatureSurfaceSegment.info, PathScripts.PathProperty.Property.info, PathScripts.PathSetupSheetOpPrototype.Property.info, uvPtStruct.node, StdMeshers_Quadrangle_2D::ForcedPoint.node, Gui::AxisOrigin.node, Gui::Dialog::Clipping::Private.node, draftguitools.gui_arcs.Arc.node, draftguitools.gui_base_original.DraftTool.node, draftguitools.gui_beziers.CubicBezCurve.node, draftguitools.gui_dimensions.Dimension.node, draftguitools.gui_edit.Edit.node, draftguitools.gui_lines.Line.node, draftguitools.gui_mirror.Mirror.node, draftguitools.gui_move.Move.node, draftguitools.gui_polygons.Polygon.node, draftguitools.gui_rotate.Rotate.node, draftguitools.gui_scale.Scale.node, draftguitools.gui_stretch.Stretch.node, drafttaskpanels.task_shapestring.ShapeStringTaskPanel.node, draftviewproviders.view_dimension.ViewProviderLinearDimension.node, draftviewproviders.view_dimension.ViewProviderAngularDimension.node, GRIDElement.node, Commands.TemplatePyMod_Cmd2.node, FaceQuadStruct::Side::Contact.point, Gui::DAG::VertexProperty.point, Gui::PickedPoint.point, draftguitools.gui_arcs.Arc.point, draftguitools.gui_base_original.DraftTool.point, draftguitools.gui_circulararray.CircularArray.point, draftguitools.gui_dimensions.Dimension.point, draftguitools.gui_ellipses.Ellipse.point, draftguitools.gui_labels.Label.point, draftguitools.gui_lines.Line.point, draftguitools.gui_mirror.Mirror.point, draftguitools.gui_move.Move.point, draftguitools.gui_orthoarray.OrthoArray.point, draftguitools.gui_points.Point.point, draftguitools.gui_polararray.PolarArray.point, draftguitools.gui_polygons.Polygon.point, draftguitools.gui_rectangles.Rectangle.point, draftguitools.gui_rotate.Rotate.point, draftguitools.gui_scale.Scale.point, draftguitools.gui_texts.Text.point, drafttaskpanels.task_shapestring.ShapeStringTaskPanel.point, MeshGui::SoFCMeshFaceSet.point, MeshGui::SoFCMeshNode.point, MeshGui::SoFCMeshVertex.point, MeshPartGui::CurveOnMeshHandler::Private::PickedPoint.point, PathScripts.PathDressupTagGui.HoldingTagMarker.point, PathScripts.PathGetPoint.TaskPanel.point, TechDraw::Vertex.point(), TechDrawGui::dimVertex.point, draftguitools.gui_dimensions.Dimension.point2, PartGui::DimensionLinear.point2, DraftVecUtils.project(), draftguitools.gui_dimensions.Dimension.selectmode, Gui::Dialog::Clipping::Private.ui, Gui::Dialog::DemoMode.ui, Gui::Dialog::DlgCustomActionsImp.ui, Gui::Dialog::IconDialog.ui, Gui::Dialog::DlgActivateWindowImp.ui, Gui::Dialog::DlgAddProperty.ui, Gui::Dialog::DlgCheckableMessageBoxPrivate.ui, Gui::Dialog::DlgCustomCommandsImp.ui, Gui::Dialog::DlgCreateNewPreferencePackImp.ui, Gui::Dialog::DlgCustomizeSpNavSettings.ui, Gui::Dialog::DlgDisplayPropertiesImp::Private.ui, Gui::Dialog::DlgSettingsEditorImp.ui, Gui::Dialog::DlgExpressionInput.ui, Gui::Dialog::DlgGeneralImp.ui, Gui::Dialog::DlgInputDialogImp.ui, Gui::Dialog::DlgCustomKeyboardImp.ui, Gui::Dialog::DlgMacroExecuteImp.ui, Gui::Dialog::DlgMacroRecordImp.ui, Gui::Dialog::DlgMaterialPropertiesImp.ui, Gui::DlgObjectSelection.ui, Gui::Dialog::DlgOnlineHelpImp.ui, Gui::Dialog::DlgParameterFind.ui, Gui::Dialog::DlgParameterImp.ui, Gui::Dialog::DlgPreferencePackManagementImp.ui, Gui::Dialog::DlgPreferencesImp.ui, Gui::Dialog::DlgProjectInformationImp.ui, Gui::Dialog::DlgProjectUtility.ui, Gui::Dialog::DlgPropertyLink.ui, Gui::Dialog::DlgReportViewImp.ui, Gui::Dialog::DlgRevertToBackupConfigImp.ui, Gui::Dialog::DlgRunExternal.ui, Gui::Dialog::DlgSettings3DViewImp.ui, Gui::Dialog::DlgSettingsCacheDirectory.ui, Gui::Dialog::DlgSettingsColorGradientImp.ui, Gui::Dialog::DlgSettingsDocumentImp.ui, Gui::Dialog::DlgSettingsImageImp.ui, Gui::Dialog::DlgSettingsLazyLoadedImp.ui, Gui::Dialog::DlgSettingsMacroImp.ui, Gui::Dialog::DlgSettingsNavigation.ui, Gui::Dialog::DlgSettingsPythonConsole.ui, Gui::Dialog::DlgSettingsSelection.ui, Gui::Dialog::DlgSettingsUnitsImp.ui, Gui::Dialog::DlgSettingsViewColor.ui, Gui::Dialog::DlgCustomToolbars.ui, Gui::Dialog::DlgUnitsCalculator.ui, Gui::Dialog::DlgWorkbenchesImp.ui, Gui::Dialog::DocumentRecoveryPrivate.ui, Gui::Dialog::DownloadManager.ui, Gui::LocationDialogImp< Ui >.ui, Gui::LocationImpUi< Ui >.ui, Gui::LocationDialogUiImp.ui, Gui::Dialog::Placement.ui, Gui::Dialog::DlgInspector.ui, Gui::Dialog::AboutDialog.ui, Gui::TaskBoxPosition.ui, Gui::TaskBoxAngle.ui, Gui::ElementColors::Private.ui, Gui::TaskView::TaskAppearance.ui, Gui::TaskView::TaskSelectLinkProperty.ui, Gui::Dialog::TextureMapping.ui, Gui::Dialog::Transform.ui, Gui::VectorListEditor.ui, Gui::CheckListDialog.ui, change_branch.ChangeBranchDialog.ui, package_details.PackageDetails.ui, package_list.PackageList.ui, package_list.CompactView.ui, package_list.ExpandedView.ui, draftguitools.gui_base_original.DraftTool.ui, draftguitools.gui_circulararray.CircularArray.ui, draftguitools.gui_edit.Edit.ui, draftguitools.gui_groups.AddToGroup.ui, draftguitools.gui_groups.SetAutoGroup.ui, draftguitools.gui_orthoarray.OrthoArray.ui, draftguitools.gui_polararray.PolarArray.ui, draftguitools.gui_snapper.Snapper.ui, DrawingGui::TaskOrthoViews.ui, FemGui::DlgSettingsFemCcxImp.ui, FemGui::DlgSettingsFemElmerImp.ui, FemGui::DlgSettingsFemExportAbaqusImp.ui, FemGui::DlgSettingsFemGeneralImp.ui, FemGui::DlgSettingsFemGmshImp.ui, FemGui::DlgSettingsFemInOutVtkImp.ui, FemGui::DlgSettingsFemMaterialImp.ui, FemGui::DlgSettingsFemMystranImp.ui, FemGui::DlgSettingsFemZ88Imp.ui, FemGui::TaskAnalysisInfo.ui, FemGui::TaskCreateNodeSet.ui, FemGui::TaskDriver.ui, FemGui::TaskFemConstraintBearing.ui, FemGui::TaskFemConstraintContact.ui, FemGui::TaskFemConstraintDisplacement.ui, FemGui::TaskFemConstraintFixed.ui, FemGui::TaskFemConstraintFluidBoundary.ui, FemGui::TaskFemConstraintForce.ui, FemGui::TaskFemConstraintHeatflux.ui, FemGui::TaskFemConstraintInitialTemperature.ui, FemGui::TaskFemConstraintPlaneRotation.ui, FemGui::TaskFemConstraintPressure.ui, FemGui::TaskFemConstraintSpring.ui, FemGui::TaskFemConstraintTemperature.ui, FemGui::TaskFemConstraintTransform.ui, FemGui::TaskObjectName.ui, FemGui::TaskPostDisplay.ui, FemGui::TaskPostClip.ui, FemGui::TaskPostDataAlongLine.ui, FemGui::TaskPostDataAtPoint.ui, FemGui::TaskPostScalarClip.ui, FemGui::TaskPostWarpVector.ui, FemGui::TaskPostCut.ui, FemGui::TaskTetParameter.ui, FemGui::PlaneWidget.ui, FemGui::SphereWidget.ui, ImageGui::ImageOrientationDialog.ui, InspectionGui::VisualInspection.ui, MeshGui::DlgDecimating.ui, MeshGui::DlgEvaluateMeshImp::Private.ui, MeshGui::DlgEvaluateSettings.ui, MeshGui::DlgRegularSolidImp.ui, MeshGui::DlgSettingsImportExport.ui, MeshGui::DlgSettingsMeshView.ui, MeshGui::DlgSmoothing.ui, MeshGui::GmshWidget::Private.ui, MeshGui::RemoveComponents.ui, MeshGui::Segmentation.ui, MeshGui::SegmentationBestFit.ui, MeshGui::Selection.ui, MeshPartGui::CrossSections.ui, MeshPartGui::CurveOnMeshWidget.ui, MeshPartGui::Tessellation.ui, PartGui::CrossSections.ui, PartGui::DlgBooleanOperation.ui, PartGui::DlgExtrusion.ui, PartGui::DlgFilletEdges.ui, PartGui::DlgPartImportIgesImp.ui, PartGui::DlgPartImportStepImp.ui, PartGui::DlgPrimitives.ui, PartGui::Location.ui, PartGui::DlgProjectionOnSurface.ui, PartGui::DlgRevolution.ui, PartGui::DlgSettings3DViewPart.ui, PartGui::DlgSettingsGeneral.ui, PartGui::DlgImportExportIges.ui, PartGui::DlgImportExportStep.ui, PartGui::DlgSettingsObjectColor.ui, PartGui::Mirroring.ui, PartGui::SectionCut.ui, PartGui::ShapeFromMesh.ui, PartGui::TaskAttacher.ui, PartGui::FaceColors::Private.ui, PartGui::LoftWidget::Private.ui, PartGui::OffsetWidget::Private.ui, PartGui::ShapeBuilderWidget::Private.ui, PartGui::SweepWidget::Private.ui, PartGui::ThicknessWidget::Private.ui, Mod.PartDesign.FeatureHole.TaskHole.TaskHole.ui, PartDesignGui::DlgActiveBody.ui, PartDesignGui::TaskBooleanParameters.ui, PartDesignGui::TaskChamferParameters.ui, PartDesignGui::TaskDraftParameters.ui, PartDesignGui::TaskExtrudeParameters.ui, PartDesignGui::TaskFeaturePick.ui, PartDesignGui::TaskFilletParameters.ui, PartDesignGui::TaskHelixParameters.ui, PartDesignGui::TaskHoleParameters.ui, PartDesignGui::TaskLinearPatternParameters.ui, PartDesignGui::TaskLoftParameters.ui, PartDesignGui::TaskMirroredParameters.ui, PartDesignGui::TaskMultiTransformParameters.ui, PartDesignGui::TaskPipeParameters.ui, PartDesignGui::TaskPipeOrientation.ui, PartDesignGui::TaskPipeScaling.ui, PartDesignGui::TaskPolarPatternParameters.ui, PartDesignGui::TaskBoxPrimitives.ui, PartDesignGui::TaskRevolutionParameters.ui, PartDesignGui::TaskScaledParameters.ui, PartDesignGui::TaskShapeBinder.ui, PartDesignGui::TaskThicknessParameters.ui, PartDesignGui::TaskTransformedMessages.ui, PathGui::DlgProcessorChooser.ui, PathGui::DlgSettingsPathColor.ui, PathGui::TaskWidgetPathCompound.ui, PointsGui::DlgPointsReadImp.ui, RaytracingGui::DlgSettingsRayImp.ui, ReenGui::FitBSplineSurfaceWidget::Private.ui, ReenGui::PoissonWidget::Private.ui, ReverseEngineeringGui::Segmentation.ui, ReverseEngineeringGui::SegmentationManual.ui, RobotGui::TaskEdge2TracParameter.ui, RobotGui::TaskRobot6Axis.ui, RobotGui::TaskRobotControl.ui, RobotGui::TaskRobotMessages.ui, RobotGui::TaskTrajectory.ui, RobotGui::TaskTrajectoryDressUpParameter.ui, RobotGui::TrajectorySimulate.ui, SketcherGui::ConstraintMultiFilterDialog.ui, SketcherGui::ConstraintSettingsDialog.ui, SketcherGui::SketcherRegularPolygonDialog.ui, SketcherGui::SketcherSettings.ui, SketcherGui::SketcherSettingsDisplay.ui, SketcherGui::SketcherSettingsColors.ui, SketcherGui::SketchMirrorDialog.ui, SketcherGui::SketchOrientationDialog.ui, SketcherGui::SketchRectangularArrayDialog.ui, SketcherGui::TaskSketcherConstraints.ui, SketcherGui::TaskSketcherElements.ui, SketcherGui::SketcherGeneralWidget.ui, SketcherGui::TaskSketcherMessages.ui, SketcherGui::TaskSketcherSolverAdvanced.ui, SketcherGui::SketcherValidation.ui, SpreadsheetGui::DlgBindSheet.ui, SpreadsheetGui::DlgSettingsImp.ui, SpreadsheetGui::DlgSheetConf.ui, SpreadsheetGui::PropertiesDialog.ui, SpreadsheetGui::SheetView.ui, StartGui::DlgStartPreferencesImp.ui, SurfaceGui::FillingPanel.ui, SurfaceGui::FillingEdgePanel.ui, SurfaceGui::FillingVertexPanel.ui, SurfaceGui::GeomFillSurface.ui, SurfaceGui::SectionsPanel.ui, TechDrawGui::DlgPageChooser.ui, TechDrawGui::DlgPrefsTechDrawAdvancedImp.ui, TechDrawGui::DlgPrefsTechDrawAnnotationImp.ui, TechDrawGui::DlgPrefsTechDrawColorsImp.ui, TechDrawGui::DlgPrefsTechDrawDimensionsImp.ui, TechDrawGui::DlgPrefsTechDrawGeneralImp.ui, TechDrawGui::DlgPrefsTechDrawHLRImp.ui, TechDrawGui::DlgPrefsTechDrawScaleImp.ui, TechDrawGui::DlgTemplateField.ui, TechDrawGui::SymbolChooser.ui, TechDrawGui::TaskActiveView.ui, TechDrawGui::TaskAlignViews.ui, TechDrawGui::TaskBalloon.ui, TechDrawGui::TaskCenterLine.ui, TechDrawGui::TaskCosmeticLine.ui, TechDrawGui::TaskCosVertex.ui, TechDrawGui::TaskCustomizeFormat.ui, TechDrawGui::TaskDetail.ui, TechDrawGui::TaskDimension.ui, TechDrawGui::TaskGeomHatch.ui, TechDrawGui::TaskHatch.ui, TechDrawGui::TaskLeaderLine.ui, TechDrawGui::TaskLineDecor.ui, TechDrawGui::TaskRestoreLines.ui, TechDrawGui::TaskLinkDim.ui, TechDrawGui::TaskProjection.ui, TechDrawGui::TaskProjGroup.ui, TechDrawGui::TaskRichAnno.ui, TechDrawGui::TaskSectionView.ui, TechDrawGui::TaskSelectLineAttributes.ui, TechDrawGui::TaskWeldingSymbol.ui, TechDrawTools.CommandMoveView.CommandMoveView.ui, TechDrawTools.CommandShareView.CommandShareView.ui, TaskPanel.TaskPanel.ui, TestGui::UnitTestDialog.ui, Gui::Dialog::Clipping::Private.view, Gui::GraphvizView.view, Gui::ItemViewSelection.view, Gui::PointMarker.view, draftguitools.gui_base.GuiCommandBase.view, draftguitools.gui_base_original.DraftTool.view, draftguitools.gui_circulararray.CircularArray.view, draftguitools.gui_edit.Edit.view, draftguitools.gui_orthoarray.OrthoArray.view, draftguitools.gui_points.Point.view, draftguitools.gui_polararray.PolarArray.view, draftguitools.gui_selectplane.Draft_SelectPlane.view, draftguitools.gui_snapper.Snapper.view, draftguitools.gui_trackers.archDimTracker.view, DrawingGui::ViewProviderDrawingPage.view, femexamples.examplesgui.FemExamples.view, FemGui::PointMarker.view, FemGui::DataMarker.view, MeshGui::DlgEvaluateMeshImp::Private.view, MeshPartGui::CrossSections.view, PartGui::CrossSections.view, PartGui::FaceColors::Private.view, PathScripts.PathGetPoint.TaskPanel.view, MyPaintable.view, Teapots.view, Rubberband.view, ExpressionDelegate.view, SpreadsheetGui::ViewProviderSheet.view, Commands.TemplatePyMod_Cmd2.view, and WebGui::BrowserView.view.

◆ Activated()

def draftguitools.gui_dimensions.Dimension.Activated (   self)
Execute when the command is called.

Reimplemented from draftguitools.gui_base_original.Creator.

References draftguitools.gui_dimensions.Dimension.Activated(), draftguitools.gui_dimensions.Dimension.cont, MeshPartGui::CurveOnMeshHandler::Private::ApproxPar.cont, Gui::ManualAlignment.finish(), Gui::SoFCBoundingBox.finish(), Gui::SoFCColorBarBase.finish(), Gui::SoFCColorBar.finish(), Gui::SoFCColorGradient.finish(), Gui::SoFCColorLegend.finish(), Gui::SoFCDB.finish(), zipios::GZIPOutputStream.finish(), zipios::GZIPOutputStreambuf.finish(), zipios::ZipOutputStream.finish(), zipios::ZipOutputStreambuf.finish(), DraftGui.DraftToolBar.finish(), draftguitools.gui_base.GuiCommandBase.finish(), draftguitools.gui_subelements.SubelementHighlight.finish(), drafttaskpanels.task_circulararray.TaskPanelCircularArray.finish(), drafttaskpanels.task_orthoarray.TaskPanelOrthoArray.finish(), drafttaskpanels.task_polararray.TaskPanelPolarArray.finish(), drafttaskpanels.task_shapestring.ShapeStringTaskPanelEdit.finish(), draftviewproviders.view_text.ViewProviderText.finish(), draftguitools.gui_arcs.Arc_3Points.finish(), draftguitools.gui_base_original.DraftTool.finish(), draftguitools.gui_clone.Clone.finish(), draftguitools.gui_fillets.Fillet.finish(), draftguitools.gui_selectplane.Draft_SelectPlane.finish(), draftguitools.gui_dimensions.Dimension.finish(), draftguitools.gui_edit.Edit.finish(), draftguitools.gui_offset.Offset.finish(), draftguitools.gui_stretch.Stretch.finish(), draftguitools.gui_trimex.Trimex.finish(), draftguitools.gui_arcs.Arc.finish(), draftguitools.gui_beziers.BezCurve.finish(), draftguitools.gui_beziers.CubicBezCurve.finish(), draftguitools.gui_ellipses.Ellipse.finish(), draftguitools.gui_labels.Label.finish(), draftguitools.gui_lines.Line.finish(), draftguitools.gui_mirror.Mirror.finish(), draftguitools.gui_move.Move.finish(), draftguitools.gui_polygons.Polygon.finish(), draftguitools.gui_rectangles.Rectangle.finish(), draftguitools.gui_rotate.Rotate.finish(), draftguitools.gui_scale.Scale.finish(), draftguitools.gui_splines.BSpline.finish(), draftguitools.gui_texts.Text.finish(), draftguitools.gui_points.Point.finish(), draftguitools.gui_shapestrings.ShapeString.finish(), Gui::SoFCBackgroundGradient.finish(), Gui::SoSkipBoundingGroup.finish(), Gui::SoFCSelection.finish(), Gui::SoFCHighlightAction.finish(), Gui::SoFCSelectionAction.finish(), Gui::SoFCEnableSelectionAction.finish(), Gui::SoFCEnableHighlightAction.finish(), Gui::SoFCSelectionColorAction.finish(), Gui::SoFCHighlightColorAction.finish(), Gui::SoFCDocumentAction.finish(), Gui::SoFCDocumentObjectAction.finish(), Gui::SoUpdateVBOAction.finish(), Gui::SoFCUnifiedSelection.finish(), Gui::SoFCPathAnnotation.finish(), Gui::SoFCSeparator.finish(), Gui::SoFCSelectionRoot.finish(), ifc4.ifcworktime.finish, and draftguitools.gui_dimensions.Dimension.selected_app_measure().

Referenced by ArchStructure.CommandStructuralSystem.Activated(), draftguitools.gui_dimensions.Dimension.Activated(), draftguitools.gui_arcs.Arc.finish(), draftguitools.gui_beziers.BezCurve.finish(), draftguitools.gui_beziers.CubicBezCurve.finish(), draftguitools.gui_ellipses.Ellipse.finish(), draftguitools.gui_lines.Line.finish(), draftguitools.gui_mirror.Mirror.finish(), draftguitools.gui_move.Move.finish(), draftguitools.gui_polygons.Polygon.finish(), draftguitools.gui_rectangles.Rectangle.finish(), draftguitools.gui_rotate.Rotate.finish(), draftguitools.gui_splines.BSpline.finish(), draftguitools.gui_texts.Text.finish(), draftguitools.gui_points.Point.finish(), draftguitools.gui_shapestrings.ShapeString.finish(), draftguitools.gui_arcs.Arc_3Points.getPoint(), and ArchPanel.CommandPanel.getPoint().

◆ create_angle_dimension()

def draftguitools.gui_dimensions.Dimension.create_angle_dimension (   self)
Create an angular dimension from a center and two angles.

References draftguitools.gui_dimensions.Dimension.angledata, draftguitools.gui_arcs.Arc.center, draftguitools.gui_dimensions.Dimension.center, draftguitools.gui_offset.Offset.center, draftguitools.gui_polygons.Polygon.center, draftguitools.gui_rotate.Rotate.center, draftguitools.gui_scale.Scale.center, drafttaskpanels.task_circulararray.TaskPanelCircularArray.center, drafttaskpanels.task_polararray.TaskPanelPolarArray.center, MeshCore::SphereSurfaceFit.center, MeshGui::ViewProviderMeshTransformDemolding.center, Path::Toolpath.center, PathScripts.PathDressupAxisMap.ObjectDressup.center(), draftguitools.gui_trackers.ghostTracker.center(), GCS::Circle.center, GCS::Ellipse.center, GCS::Hyperbola.center, SketcherGui::DrawSketchHandlerBox.center, TechDraw::arcPoints.center, TechDraw::Circle.center, TechDraw::Ellipse.center, draftguitools.gui_base.GuiCommandBase.commit(), draftguitools.gui_base_original.DraftTool.commit(), Gui::MacroManager.commit(), draftguitools.gui_dimensions.Dimension.edges, draftguitools.gui_trimex.Trimex.edges, WireJoiner.edges, PathScripts.PathDeburr.ObjectDeburr.edges, PathScripts.PathDressupHoldingTags.MapWireToTag.edges, PathScripts.PathDressupHoldingTags.PathData.edges, PathScripts.PathDressupTag.ObjectDressup.edges, uvPtStruct.node, StdMeshers_Quadrangle_2D::ForcedPoint.node, Gui::AxisOrigin.node, Gui::Dialog::Clipping::Private.node, draftguitools.gui_arcs.Arc.node, draftguitools.gui_base_original.DraftTool.node, draftguitools.gui_beziers.CubicBezCurve.node, draftguitools.gui_dimensions.Dimension.node, draftguitools.gui_edit.Edit.node, draftguitools.gui_lines.Line.node, draftguitools.gui_mirror.Mirror.node, draftguitools.gui_move.Move.node, draftguitools.gui_polygons.Polygon.node, draftguitools.gui_rotate.Rotate.node, draftguitools.gui_scale.Scale.node, draftguitools.gui_stretch.Stretch.node, drafttaskpanels.task_shapestring.ShapeStringTaskPanel.node, draftviewproviders.view_dimension.ViewProviderLinearDimension.node, draftviewproviders.view_dimension.ViewProviderAngularDimension.node, GRIDElement.node, Commands.TemplatePyMod_Cmd2.node, and DraftVecUtils.toString().

Referenced by draftguitools.gui_dimensions.Dimension.createObject().

◆ create_linear_dimension()

◆ create_linear_dimension_obj()

def draftguitools.gui_dimensions.Dimension.create_linear_dimension_obj (   self,
  direction = None 
)
Create a linear dimension linked to an edge.

The `link` attribute has indices of vertices as they appear
in the list `Shape.Vertexes`, so they start as zero 0.

The `LinearDimension` class, created by `make_linear_dimension_obj`,
considers the vertices of a `Shape` which are numbered to start
with 1, that is, `Vertex1`.
Therefore the value in `link` has to be incremented by 1.

References draftguitools.gui_base.GuiCommandBase.commit(), draftguitools.gui_base_original.DraftTool.commit(), Gui::MacroManager.commit(), Gui::PropertyEditor::LinkSelection.link, Gui::PropertyEditor::LinkLabel.link, Gui::LinkView::SubInfo.link(), Gui::LinkView::Element.link(), draftguitools.gui_dimensions.Dimension.link, uvPtStruct.node, StdMeshers_Quadrangle_2D::ForcedPoint.node, Gui::AxisOrigin.node, Gui::Dialog::Clipping::Private.node, draftguitools.gui_arcs.Arc.node, draftguitools.gui_base_original.DraftTool.node, draftguitools.gui_beziers.CubicBezCurve.node, draftguitools.gui_dimensions.Dimension.node, draftguitools.gui_edit.Edit.node, draftguitools.gui_lines.Line.node, draftguitools.gui_mirror.Mirror.node, draftguitools.gui_move.Move.node, draftguitools.gui_polygons.Polygon.node, draftguitools.gui_rotate.Rotate.node, draftguitools.gui_scale.Scale.node, draftguitools.gui_stretch.Stretch.node, drafttaskpanels.task_shapestring.ShapeStringTaskPanel.node, draftviewproviders.view_dimension.ViewProviderLinearDimension.node, draftviewproviders.view_dimension.ViewProviderAngularDimension.node, GRIDElement.node, Commands.TemplatePyMod_Cmd2.node, and DraftVecUtils.toString().

Referenced by draftguitools.gui_dimensions.Dimension.createObject().

◆ create_radial_dimension_obj()

◆ create_with_app_measure()

def draftguitools.gui_dimensions.Dimension.create_with_app_measure (   self)
Create on measurement objects.

This is used when the selection is an `'App::MeasureDistance'`,
which is created with the basic tool `Std_MeasureDistance`.
This object is removed and in its place a `Draft Dimension`
is created.

References draftguitools.gui_base.GuiCommandBase.commit(), draftguitools.gui_base_original.DraftTool.commit(), Gui::MacroManager.commit(), and DraftVecUtils.toString().

◆ createObject()

def draftguitools.gui_dimensions.Dimension.createObject (   self)
Create the actual object in the current document.

References draftguitools.gui_dimensions.Dimension.angledata, draftguitools.gui_dimensions.Dimension.arcmode, draftguitools.gui_dimensions.Dimension.cont, MeshPartGui::CurveOnMeshHandler::Private::ApproxPar.cont, draftguitools.gui_dimensions.Dimension.create_angle_dimension(), draftguitools.gui_dimensions.Dimension.create_linear_dimension(), draftguitools.gui_dimensions.Dimension.create_linear_dimension_obj(), draftguitools.gui_dimensions.Dimension.create_radial_dimension_obj(), Py::Object.dir(), Gui::NetworkRetrieverP.dir, draftguitools.gui_dimensions.Dimension.dir, ap203_configuration_controlled_3d_design_of_mechanical_parts_and_assemblies_mim_lf.line.dir, automotive_design.line.dir, config_control_design.line.dir, ifc2x3.ifcline.dir, ifc4.ifcline.dir, Part::Extrusion::ExtrusionParameters.dir, WireOrienter.dir, geoff_geometry::Span.dir, geoff_geometry::Kurve::spanCompare.dir, draftguitools.gui_dimensions.Dimension.force, draftguitools.gui_trimex.Trimex.force, PathScripts.PathJobGui.StockEdit.force, PathScripts.PathJobGui.StockFromBaseBoundBoxEdit.force, PathScripts.PathJobGui.StockCreateBoxEdit.force, PathScripts.PathJobGui.StockCreateCylinderEdit.force, KDL::Wrench.force, Gui::PropertyEditor::LinkSelection.link, Gui::PropertyEditor::LinkLabel.link, Gui::LinkView::SubInfo.link(), Gui::LinkView::Element.link(), draftguitools.gui_dimensions.Dimension.link, uvPtStruct.node, StdMeshers_Quadrangle_2D::ForcedPoint.node, Gui::AxisOrigin.node, Gui::Dialog::Clipping::Private.node, draftguitools.gui_arcs.Arc.node, draftguitools.gui_base_original.DraftTool.node, draftguitools.gui_beziers.CubicBezCurve.node, draftguitools.gui_dimensions.Dimension.node, draftguitools.gui_edit.Edit.node, draftguitools.gui_lines.Line.node, draftguitools.gui_mirror.Mirror.node, draftguitools.gui_move.Move.node, draftguitools.gui_polygons.Polygon.node, draftguitools.gui_rotate.Rotate.node, draftguitools.gui_scale.Scale.node, draftguitools.gui_stretch.Stretch.node, drafttaskpanels.task_shapestring.ShapeStringTaskPanel.node, draftviewproviders.view_dimension.ViewProviderLinearDimension.node, draftviewproviders.view_dimension.ViewProviderAngularDimension.node, GRIDElement.node, Commands.TemplatePyMod_Cmd2.node, Gui::Dialog::Clipping::Private.ui, Gui::Dialog::DemoMode.ui, Gui::Dialog::DlgCustomActionsImp.ui, Gui::Dialog::IconDialog.ui, Gui::Dialog::DlgActivateWindowImp.ui, Gui::Dialog::DlgAddProperty.ui, Gui::Dialog::DlgCheckableMessageBoxPrivate.ui, Gui::Dialog::DlgCustomCommandsImp.ui, Gui::Dialog::DlgCreateNewPreferencePackImp.ui, Gui::Dialog::DlgCustomizeSpNavSettings.ui, Gui::Dialog::DlgDisplayPropertiesImp::Private.ui, Gui::Dialog::DlgSettingsEditorImp.ui, Gui::Dialog::DlgExpressionInput.ui, Gui::Dialog::DlgGeneralImp.ui, Gui::Dialog::DlgInputDialogImp.ui, Gui::Dialog::DlgCustomKeyboardImp.ui, Gui::Dialog::DlgMacroExecuteImp.ui, Gui::Dialog::DlgMacroRecordImp.ui, Gui::Dialog::DlgMaterialPropertiesImp.ui, Gui::DlgObjectSelection.ui, Gui::Dialog::DlgOnlineHelpImp.ui, Gui::Dialog::DlgParameterFind.ui, Gui::Dialog::DlgParameterImp.ui, Gui::Dialog::DlgPreferencePackManagementImp.ui, Gui::Dialog::DlgPreferencesImp.ui, Gui::Dialog::DlgProjectInformationImp.ui, Gui::Dialog::DlgProjectUtility.ui, Gui::Dialog::DlgPropertyLink.ui, Gui::Dialog::DlgReportViewImp.ui, Gui::Dialog::DlgRevertToBackupConfigImp.ui, Gui::Dialog::DlgRunExternal.ui, Gui::Dialog::DlgSettings3DViewImp.ui, Gui::Dialog::DlgSettingsCacheDirectory.ui, Gui::Dialog::DlgSettingsColorGradientImp.ui, Gui::Dialog::DlgSettingsDocumentImp.ui, Gui::Dialog::DlgSettingsImageImp.ui, Gui::Dialog::DlgSettingsLazyLoadedImp.ui, Gui::Dialog::DlgSettingsMacroImp.ui, Gui::Dialog::DlgSettingsNavigation.ui, Gui::Dialog::DlgSettingsPythonConsole.ui, Gui::Dialog::DlgSettingsSelection.ui, Gui::Dialog::DlgSettingsUnitsImp.ui, Gui::Dialog::DlgSettingsViewColor.ui, Gui::Dialog::DlgCustomToolbars.ui, Gui::Dialog::DlgUnitsCalculator.ui, Gui::Dialog::DlgWorkbenchesImp.ui, Gui::Dialog::DocumentRecoveryPrivate.ui, Gui::Dialog::DownloadManager.ui, Gui::LocationDialogImp< Ui >.ui, Gui::LocationImpUi< Ui >.ui, Gui::LocationDialogUiImp.ui, Gui::Dialog::Placement.ui, Gui::Dialog::DlgInspector.ui, Gui::Dialog::AboutDialog.ui, Gui::TaskBoxPosition.ui, Gui::TaskBoxAngle.ui, Gui::ElementColors::Private.ui, Gui::TaskView::TaskAppearance.ui, Gui::TaskView::TaskSelectLinkProperty.ui, Gui::Dialog::TextureMapping.ui, Gui::Dialog::Transform.ui, Gui::VectorListEditor.ui, Gui::CheckListDialog.ui, change_branch.ChangeBranchDialog.ui, package_details.PackageDetails.ui, package_list.PackageList.ui, package_list.CompactView.ui, package_list.ExpandedView.ui, draftguitools.gui_base_original.DraftTool.ui, draftguitools.gui_circulararray.CircularArray.ui, draftguitools.gui_edit.Edit.ui, draftguitools.gui_groups.AddToGroup.ui, draftguitools.gui_groups.SetAutoGroup.ui, draftguitools.gui_orthoarray.OrthoArray.ui, draftguitools.gui_polararray.PolarArray.ui, draftguitools.gui_snapper.Snapper.ui, DrawingGui::TaskOrthoViews.ui, FemGui::DlgSettingsFemCcxImp.ui, FemGui::DlgSettingsFemElmerImp.ui, FemGui::DlgSettingsFemExportAbaqusImp.ui, FemGui::DlgSettingsFemGeneralImp.ui, FemGui::DlgSettingsFemGmshImp.ui, FemGui::DlgSettingsFemInOutVtkImp.ui, FemGui::DlgSettingsFemMaterialImp.ui, FemGui::DlgSettingsFemMystranImp.ui, FemGui::DlgSettingsFemZ88Imp.ui, FemGui::TaskAnalysisInfo.ui, FemGui::TaskCreateNodeSet.ui, FemGui::TaskDriver.ui, FemGui::TaskFemConstraintBearing.ui, FemGui::TaskFemConstraintContact.ui, FemGui::TaskFemConstraintDisplacement.ui, FemGui::TaskFemConstraintFixed.ui, FemGui::TaskFemConstraintFluidBoundary.ui, FemGui::TaskFemConstraintForce.ui, FemGui::TaskFemConstraintHeatflux.ui, FemGui::TaskFemConstraintInitialTemperature.ui, FemGui::TaskFemConstraintPlaneRotation.ui, FemGui::TaskFemConstraintPressure.ui, FemGui::TaskFemConstraintSpring.ui, FemGui::TaskFemConstraintTemperature.ui, FemGui::TaskFemConstraintTransform.ui, FemGui::TaskObjectName.ui, FemGui::TaskPostDisplay.ui, FemGui::TaskPostClip.ui, FemGui::TaskPostDataAlongLine.ui, FemGui::TaskPostDataAtPoint.ui, FemGui::TaskPostScalarClip.ui, FemGui::TaskPostWarpVector.ui, FemGui::TaskPostCut.ui, FemGui::TaskTetParameter.ui, FemGui::PlaneWidget.ui, FemGui::SphereWidget.ui, ImageGui::ImageOrientationDialog.ui, InspectionGui::VisualInspection.ui, MeshGui::DlgDecimating.ui, MeshGui::DlgEvaluateMeshImp::Private.ui, MeshGui::DlgEvaluateSettings.ui, MeshGui::DlgRegularSolidImp.ui, MeshGui::DlgSettingsImportExport.ui, MeshGui::DlgSettingsMeshView.ui, MeshGui::DlgSmoothing.ui, MeshGui::GmshWidget::Private.ui, MeshGui::RemoveComponents.ui, MeshGui::Segmentation.ui, MeshGui::SegmentationBestFit.ui, MeshGui::Selection.ui, MeshPartGui::CrossSections.ui, MeshPartGui::CurveOnMeshWidget.ui, MeshPartGui::Tessellation.ui, PartGui::CrossSections.ui, PartGui::DlgBooleanOperation.ui, PartGui::DlgExtrusion.ui, PartGui::DlgFilletEdges.ui, PartGui::DlgPartImportIgesImp.ui, PartGui::DlgPartImportStepImp.ui, PartGui::DlgPrimitives.ui, PartGui::Location.ui, PartGui::DlgProjectionOnSurface.ui, PartGui::DlgRevolution.ui, PartGui::DlgSettings3DViewPart.ui, PartGui::DlgSettingsGeneral.ui, PartGui::DlgImportExportIges.ui, PartGui::DlgImportExportStep.ui, PartGui::DlgSettingsObjectColor.ui, PartGui::Mirroring.ui, PartGui::SectionCut.ui, PartGui::ShapeFromMesh.ui, PartGui::TaskAttacher.ui, PartGui::FaceColors::Private.ui, PartGui::LoftWidget::Private.ui, PartGui::OffsetWidget::Private.ui, PartGui::ShapeBuilderWidget::Private.ui, PartGui::SweepWidget::Private.ui, PartGui::ThicknessWidget::Private.ui, Mod.PartDesign.FeatureHole.TaskHole.TaskHole.ui, PartDesignGui::DlgActiveBody.ui, PartDesignGui::TaskBooleanParameters.ui, PartDesignGui::TaskChamferParameters.ui, PartDesignGui::TaskDraftParameters.ui, PartDesignGui::TaskExtrudeParameters.ui, PartDesignGui::TaskFeaturePick.ui, PartDesignGui::TaskFilletParameters.ui, PartDesignGui::TaskHelixParameters.ui, PartDesignGui::TaskHoleParameters.ui, PartDesignGui::TaskLinearPatternParameters.ui, PartDesignGui::TaskLoftParameters.ui, PartDesignGui::TaskMirroredParameters.ui, PartDesignGui::TaskMultiTransformParameters.ui, PartDesignGui::TaskPipeParameters.ui, PartDesignGui::TaskPipeOrientation.ui, PartDesignGui::TaskPipeScaling.ui, PartDesignGui::TaskPolarPatternParameters.ui, PartDesignGui::TaskBoxPrimitives.ui, PartDesignGui::TaskRevolutionParameters.ui, PartDesignGui::TaskScaledParameters.ui, PartDesignGui::TaskShapeBinder.ui, PartDesignGui::TaskThicknessParameters.ui, PartDesignGui::TaskTransformedMessages.ui, PathGui::DlgProcessorChooser.ui, PathGui::DlgSettingsPathColor.ui, PathGui::TaskWidgetPathCompound.ui, PointsGui::DlgPointsReadImp.ui, RaytracingGui::DlgSettingsRayImp.ui, ReenGui::FitBSplineSurfaceWidget::Private.ui, ReenGui::PoissonWidget::Private.ui, ReverseEngineeringGui::Segmentation.ui, ReverseEngineeringGui::SegmentationManual.ui, RobotGui::TaskEdge2TracParameter.ui, RobotGui::TaskRobot6Axis.ui, RobotGui::TaskRobotControl.ui, RobotGui::TaskRobotMessages.ui, RobotGui::TaskTrajectory.ui, RobotGui::TaskTrajectoryDressUpParameter.ui, RobotGui::TrajectorySimulate.ui, SketcherGui::ConstraintMultiFilterDialog.ui, SketcherGui::ConstraintSettingsDialog.ui, SketcherGui::SketcherRegularPolygonDialog.ui, SketcherGui::SketcherSettings.ui, SketcherGui::SketcherSettingsDisplay.ui, SketcherGui::SketcherSettingsColors.ui, SketcherGui::SketchMirrorDialog.ui, SketcherGui::SketchOrientationDialog.ui, SketcherGui::SketchRectangularArrayDialog.ui, SketcherGui::TaskSketcherConstraints.ui, SketcherGui::TaskSketcherElements.ui, SketcherGui::SketcherGeneralWidget.ui, SketcherGui::TaskSketcherMessages.ui, SketcherGui::TaskSketcherSolverAdvanced.ui, SketcherGui::SketcherValidation.ui, SpreadsheetGui::DlgBindSheet.ui, SpreadsheetGui::DlgSettingsImp.ui, SpreadsheetGui::DlgSheetConf.ui, SpreadsheetGui::PropertiesDialog.ui, SpreadsheetGui::SheetView.ui, StartGui::DlgStartPreferencesImp.ui, SurfaceGui::FillingPanel.ui, SurfaceGui::FillingEdgePanel.ui, SurfaceGui::FillingVertexPanel.ui, SurfaceGui::GeomFillSurface.ui, SurfaceGui::SectionsPanel.ui, TechDrawGui::DlgPageChooser.ui, TechDrawGui::DlgPrefsTechDrawAdvancedImp.ui, TechDrawGui::DlgPrefsTechDrawAnnotationImp.ui, TechDrawGui::DlgPrefsTechDrawColorsImp.ui, TechDrawGui::DlgPrefsTechDrawDimensionsImp.ui, TechDrawGui::DlgPrefsTechDrawGeneralImp.ui, TechDrawGui::DlgPrefsTechDrawHLRImp.ui, TechDrawGui::DlgPrefsTechDrawScaleImp.ui, TechDrawGui::DlgTemplateField.ui, TechDrawGui::SymbolChooser.ui, TechDrawGui::TaskActiveView.ui, TechDrawGui::TaskAlignViews.ui, TechDrawGui::TaskBalloon.ui, TechDrawGui::TaskCenterLine.ui, TechDrawGui::TaskCosmeticLine.ui, TechDrawGui::TaskCosVertex.ui, TechDrawGui::TaskCustomizeFormat.ui, TechDrawGui::TaskDetail.ui, TechDrawGui::TaskDimension.ui, TechDrawGui::TaskGeomHatch.ui, TechDrawGui::TaskHatch.ui, TechDrawGui::TaskLeaderLine.ui, TechDrawGui::TaskLineDecor.ui, TechDrawGui::TaskRestoreLines.ui, TechDrawGui::TaskLinkDim.ui, TechDrawGui::TaskProjection.ui, TechDrawGui::TaskProjGroup.ui, TechDrawGui::TaskRichAnno.ui, TechDrawGui::TaskSectionView.ui, TechDrawGui::TaskSelectLineAttributes.ui, TechDrawGui::TaskWeldingSymbol.ui, TechDrawTools.CommandMoveView.CommandMoveView.ui, TechDrawTools.CommandShareView.CommandShareView.ui, TaskPanel.TaskPanel.ui, and TestGui::UnitTestDialog.ui.

Referenced by drafttaskpanels.task_shapestring.ShapeStringTaskPanelCmd.accept(), draftguitools.gui_ellipses.Ellipse.appendPoint(), draftguitools.gui_rectangles.Rectangle.appendPoint(), and draftguitools.gui_dimensions.Dimension.numericInput().

◆ finish()

def draftguitools.gui_dimensions.Dimension.finish (   self,
  closed = False 
)
Terminate the operation.

Reimplemented from draftguitools.gui_base_original.DraftTool.

References draftguitools.gui_arcs.Arc.arctrack, draftguitools.gui_dimensions.Dimension.arctrack, draftguitools.gui_offset.Offset.arctrack, draftguitools.gui_polygons.Polygon.arctrack, draftguitools.gui_rotate.Rotate.arctrack, draftguitools.gui_dimensions.Dimension.cont, MeshPartGui::CurveOnMeshHandler::Private::ApproxPar.cont, draftguitools.gui_dimensions.Dimension.dimtrack, Py::Object.dir(), Gui::NetworkRetrieverP.dir, draftguitools.gui_dimensions.Dimension.dir, ap203_configuration_controlled_3d_design_of_mechanical_parts_and_assemblies_mim_lf.line.dir, automotive_design.line.dir, config_control_design.line.dir, ifc2x3.ifcline.dir, ifc4.ifcline.dir, Part::Extrusion::ExtrusionParameters.dir, WireOrienter.dir, geoff_geometry::Span.dir, geoff_geometry::Kurve::spanCompare.dir, draftguitools.gui_dimensions.Dimension.finish(), Gui::Dialog::Clipping::Private.ui, Gui::Dialog::DemoMode.ui, Gui::Dialog::DlgCustomActionsImp.ui, Gui::Dialog::IconDialog.ui, Gui::Dialog::DlgActivateWindowImp.ui, Gui::Dialog::DlgAddProperty.ui, Gui::Dialog::DlgCheckableMessageBoxPrivate.ui, Gui::Dialog::DlgCustomCommandsImp.ui, Gui::Dialog::DlgCreateNewPreferencePackImp.ui, Gui::Dialog::DlgCustomizeSpNavSettings.ui, Gui::Dialog::DlgDisplayPropertiesImp::Private.ui, Gui::Dialog::DlgSettingsEditorImp.ui, Gui::Dialog::DlgExpressionInput.ui, Gui::Dialog::DlgGeneralImp.ui, Gui::Dialog::DlgInputDialogImp.ui, Gui::Dialog::DlgCustomKeyboardImp.ui, Gui::Dialog::DlgMacroExecuteImp.ui, Gui::Dialog::DlgMacroRecordImp.ui, Gui::Dialog::DlgMaterialPropertiesImp.ui, Gui::DlgObjectSelection.ui, Gui::Dialog::DlgOnlineHelpImp.ui, Gui::Dialog::DlgParameterFind.ui, Gui::Dialog::DlgParameterImp.ui, Gui::Dialog::DlgPreferencePackManagementImp.ui, Gui::Dialog::DlgPreferencesImp.ui, Gui::Dialog::DlgProjectInformationImp.ui, Gui::Dialog::DlgProjectUtility.ui, Gui::Dialog::DlgPropertyLink.ui, Gui::Dialog::DlgReportViewImp.ui, Gui::Dialog::DlgRevertToBackupConfigImp.ui, Gui::Dialog::DlgRunExternal.ui, Gui::Dialog::DlgSettings3DViewImp.ui, Gui::Dialog::DlgSettingsCacheDirectory.ui, Gui::Dialog::DlgSettingsColorGradientImp.ui, Gui::Dialog::DlgSettingsDocumentImp.ui, Gui::Dialog::DlgSettingsImageImp.ui, Gui::Dialog::DlgSettingsLazyLoadedImp.ui, Gui::Dialog::DlgSettingsMacroImp.ui, Gui::Dialog::DlgSettingsNavigation.ui, Gui::Dialog::DlgSettingsPythonConsole.ui, Gui::Dialog::DlgSettingsSelection.ui, Gui::Dialog::DlgSettingsUnitsImp.ui, Gui::Dialog::DlgSettingsViewColor.ui, Gui::Dialog::DlgCustomToolbars.ui, Gui::Dialog::DlgUnitsCalculator.ui, Gui::Dialog::DlgWorkbenchesImp.ui, Gui::Dialog::DocumentRecoveryPrivate.ui, Gui::Dialog::DownloadManager.ui, Gui::LocationDialogImp< Ui >.ui, Gui::LocationImpUi< Ui >.ui, Gui::LocationDialogUiImp.ui, Gui::Dialog::Placement.ui, Gui::Dialog::DlgInspector.ui, Gui::Dialog::AboutDialog.ui, Gui::TaskBoxPosition.ui, Gui::TaskBoxAngle.ui, Gui::ElementColors::Private.ui, Gui::TaskView::TaskAppearance.ui, Gui::TaskView::TaskSelectLinkProperty.ui, Gui::Dialog::TextureMapping.ui, Gui::Dialog::Transform.ui, Gui::VectorListEditor.ui, Gui::CheckListDialog.ui, change_branch.ChangeBranchDialog.ui, package_details.PackageDetails.ui, package_list.PackageList.ui, package_list.CompactView.ui, package_list.ExpandedView.ui, draftguitools.gui_base_original.DraftTool.ui, draftguitools.gui_circulararray.CircularArray.ui, draftguitools.gui_edit.Edit.ui, draftguitools.gui_groups.AddToGroup.ui, draftguitools.gui_groups.SetAutoGroup.ui, draftguitools.gui_orthoarray.OrthoArray.ui, draftguitools.gui_polararray.PolarArray.ui, draftguitools.gui_snapper.Snapper.ui, DrawingGui::TaskOrthoViews.ui, FemGui::DlgSettingsFemCcxImp.ui, FemGui::DlgSettingsFemElmerImp.ui, FemGui::DlgSettingsFemExportAbaqusImp.ui, FemGui::DlgSettingsFemGeneralImp.ui, FemGui::DlgSettingsFemGmshImp.ui, FemGui::DlgSettingsFemInOutVtkImp.ui, FemGui::DlgSettingsFemMaterialImp.ui, FemGui::DlgSettingsFemMystranImp.ui, FemGui::DlgSettingsFemZ88Imp.ui, FemGui::TaskAnalysisInfo.ui, FemGui::TaskCreateNodeSet.ui, FemGui::TaskDriver.ui, FemGui::TaskFemConstraintBearing.ui, FemGui::TaskFemConstraintContact.ui, FemGui::TaskFemConstraintDisplacement.ui, FemGui::TaskFemConstraintFixed.ui, FemGui::TaskFemConstraintFluidBoundary.ui, FemGui::TaskFemConstraintForce.ui, FemGui::TaskFemConstraintHeatflux.ui, FemGui::TaskFemConstraintInitialTemperature.ui, FemGui::TaskFemConstraintPlaneRotation.ui, FemGui::TaskFemConstraintPressure.ui, FemGui::TaskFemConstraintSpring.ui, FemGui::TaskFemConstraintTemperature.ui, FemGui::TaskFemConstraintTransform.ui, FemGui::TaskObjectName.ui, FemGui::TaskPostDisplay.ui, FemGui::TaskPostClip.ui, FemGui::TaskPostDataAlongLine.ui, FemGui::TaskPostDataAtPoint.ui, FemGui::TaskPostScalarClip.ui, FemGui::TaskPostWarpVector.ui, FemGui::TaskPostCut.ui, FemGui::TaskTetParameter.ui, FemGui::PlaneWidget.ui, FemGui::SphereWidget.ui, ImageGui::ImageOrientationDialog.ui, InspectionGui::VisualInspection.ui, MeshGui::DlgDecimating.ui, MeshGui::DlgEvaluateMeshImp::Private.ui, MeshGui::DlgEvaluateSettings.ui, MeshGui::DlgRegularSolidImp.ui, MeshGui::DlgSettingsImportExport.ui, MeshGui::DlgSettingsMeshView.ui, MeshGui::DlgSmoothing.ui, MeshGui::GmshWidget::Private.ui, MeshGui::RemoveComponents.ui, MeshGui::Segmentation.ui, MeshGui::SegmentationBestFit.ui, MeshGui::Selection.ui, MeshPartGui::CrossSections.ui, MeshPartGui::CurveOnMeshWidget.ui, MeshPartGui::Tessellation.ui, PartGui::CrossSections.ui, PartGui::DlgBooleanOperation.ui, PartGui::DlgExtrusion.ui, PartGui::DlgFilletEdges.ui, PartGui::DlgPartImportIgesImp.ui, PartGui::DlgPartImportStepImp.ui, PartGui::DlgPrimitives.ui, PartGui::Location.ui, PartGui::DlgProjectionOnSurface.ui, PartGui::DlgRevolution.ui, PartGui::DlgSettings3DViewPart.ui, PartGui::DlgSettingsGeneral.ui, PartGui::DlgImportExportIges.ui, PartGui::DlgImportExportStep.ui, PartGui::DlgSettingsObjectColor.ui, PartGui::Mirroring.ui, PartGui::SectionCut.ui, PartGui::ShapeFromMesh.ui, PartGui::TaskAttacher.ui, PartGui::FaceColors::Private.ui, PartGui::LoftWidget::Private.ui, PartGui::OffsetWidget::Private.ui, PartGui::ShapeBuilderWidget::Private.ui, PartGui::SweepWidget::Private.ui, PartGui::ThicknessWidget::Private.ui, Mod.PartDesign.FeatureHole.TaskHole.TaskHole.ui, PartDesignGui::DlgActiveBody.ui, PartDesignGui::TaskBooleanParameters.ui, PartDesignGui::TaskChamferParameters.ui, PartDesignGui::TaskDraftParameters.ui, PartDesignGui::TaskExtrudeParameters.ui, PartDesignGui::TaskFeaturePick.ui, PartDesignGui::TaskFilletParameters.ui, PartDesignGui::TaskHelixParameters.ui, PartDesignGui::TaskHoleParameters.ui, PartDesignGui::TaskLinearPatternParameters.ui, PartDesignGui::TaskLoftParameters.ui, PartDesignGui::TaskMirroredParameters.ui, PartDesignGui::TaskMultiTransformParameters.ui, PartDesignGui::TaskPipeParameters.ui, PartDesignGui::TaskPipeOrientation.ui, PartDesignGui::TaskPipeScaling.ui, PartDesignGui::TaskPolarPatternParameters.ui, PartDesignGui::TaskBoxPrimitives.ui, PartDesignGui::TaskRevolutionParameters.ui, PartDesignGui::TaskScaledParameters.ui, PartDesignGui::TaskShapeBinder.ui, PartDesignGui::TaskThicknessParameters.ui, PartDesignGui::TaskTransformedMessages.ui, PathGui::DlgProcessorChooser.ui, PathGui::DlgSettingsPathColor.ui, PathGui::TaskWidgetPathCompound.ui, PointsGui::DlgPointsReadImp.ui, RaytracingGui::DlgSettingsRayImp.ui, ReenGui::FitBSplineSurfaceWidget::Private.ui, ReenGui::PoissonWidget::Private.ui, ReverseEngineeringGui::Segmentation.ui, ReverseEngineeringGui::SegmentationManual.ui, RobotGui::TaskEdge2TracParameter.ui, RobotGui::TaskRobot6Axis.ui, RobotGui::TaskRobotControl.ui, RobotGui::TaskRobotMessages.ui, RobotGui::TaskTrajectory.ui, RobotGui::TaskTrajectoryDressUpParameter.ui, RobotGui::TrajectorySimulate.ui, SketcherGui::ConstraintMultiFilterDialog.ui, SketcherGui::ConstraintSettingsDialog.ui, SketcherGui::SketcherRegularPolygonDialog.ui, SketcherGui::SketcherSettings.ui, SketcherGui::SketcherSettingsDisplay.ui, SketcherGui::SketcherSettingsColors.ui, SketcherGui::SketchMirrorDialog.ui, SketcherGui::SketchOrientationDialog.ui, SketcherGui::SketchRectangularArrayDialog.ui, SketcherGui::TaskSketcherConstraints.ui, SketcherGui::TaskSketcherElements.ui, SketcherGui::SketcherGeneralWidget.ui, SketcherGui::TaskSketcherMessages.ui, SketcherGui::TaskSketcherSolverAdvanced.ui, SketcherGui::SketcherValidation.ui, SpreadsheetGui::DlgBindSheet.ui, SpreadsheetGui::DlgSettingsImp.ui, SpreadsheetGui::DlgSheetConf.ui, SpreadsheetGui::PropertiesDialog.ui, SpreadsheetGui::SheetView.ui, StartGui::DlgStartPreferencesImp.ui, SurfaceGui::FillingPanel.ui, SurfaceGui::FillingEdgePanel.ui, SurfaceGui::FillingVertexPanel.ui, SurfaceGui::GeomFillSurface.ui, SurfaceGui::SectionsPanel.ui, TechDrawGui::DlgPageChooser.ui, TechDrawGui::DlgPrefsTechDrawAdvancedImp.ui, TechDrawGui::DlgPrefsTechDrawAnnotationImp.ui, TechDrawGui::DlgPrefsTechDrawColorsImp.ui, TechDrawGui::DlgPrefsTechDrawDimensionsImp.ui, TechDrawGui::DlgPrefsTechDrawGeneralImp.ui, TechDrawGui::DlgPrefsTechDrawHLRImp.ui, TechDrawGui::DlgPrefsTechDrawScaleImp.ui, TechDrawGui::DlgTemplateField.ui, TechDrawGui::SymbolChooser.ui, TechDrawGui::TaskActiveView.ui, TechDrawGui::TaskAlignViews.ui, TechDrawGui::TaskBalloon.ui, TechDrawGui::TaskCenterLine.ui, TechDrawGui::TaskCosmeticLine.ui, TechDrawGui::TaskCosVertex.ui, TechDrawGui::TaskCustomizeFormat.ui, TechDrawGui::TaskDetail.ui, TechDrawGui::TaskDimension.ui, TechDrawGui::TaskGeomHatch.ui, TechDrawGui::TaskHatch.ui, TechDrawGui::TaskLeaderLine.ui, TechDrawGui::TaskLineDecor.ui, TechDrawGui::TaskRestoreLines.ui, TechDrawGui::TaskLinkDim.ui, TechDrawGui::TaskProjection.ui, TechDrawGui::TaskProjGroup.ui, TechDrawGui::TaskRichAnno.ui, TechDrawGui::TaskSectionView.ui, TechDrawGui::TaskSelectLineAttributes.ui, TechDrawGui::TaskWeldingSymbol.ui, TechDrawTools.CommandMoveView.CommandMoveView.ui, TechDrawTools.CommandShareView.CommandShareView.ui, TaskPanel.TaskPanel.ui, and TestGui::UnitTestDialog.ui.

Referenced by drafttaskpanels.task_circulararray.TaskPanelCircularArray.accept(), drafttaskpanels.task_orthoarray.TaskPanelOrthoArray.accept(), drafttaskpanels.task_polararray.TaskPanelPolarArray.accept(), draftguitools.gui_arcs.Arc.action(), draftguitools.gui_beziers.BezCurve.action(), draftguitools.gui_beziers.CubicBezCurve.action(), draftguitools.gui_dimensions.Dimension.action(), draftguitools.gui_ellipses.Ellipse.action(), draftguitools.gui_fillets.Fillet.action(), draftguitools.gui_labels.Label.action(), draftguitools.gui_lines.Line.action(), draftguitools.gui_mirror.Mirror.action(), draftguitools.gui_move.Move.action(), draftguitools.gui_offset.Offset.action(), draftguitools.gui_polygons.Polygon.action(), draftguitools.gui_rectangles.Rectangle.action(), draftguitools.gui_rotate.Rotate.action(), draftguitools.gui_scale.Scale.action(), draftguitools.gui_selectplane.Draft_SelectPlane.action(), draftguitools.gui_shapestrings.ShapeString.action(), draftguitools.gui_splines.BSpline.action(), draftguitools.gui_split.Split.action(), draftguitools.gui_stretch.Stretch.action(), draftguitools.gui_texts.Text.action(), draftguitools.gui_trimex.Trimex.action(), draftguitools.gui_subelements.SubelementHighlight.action(), draftguitools.gui_clone.Clone.Activated(), draftguitools.gui_dimensions.Dimension.Activated(), draftguitools.gui_downgrade.Downgrade.Activated(), draftguitools.gui_draft2sketch.Draft2Sketch.Activated(), draftguitools.gui_edit.Edit.Activated(), draftguitools.gui_facebinders.Facebinder.Activated(), draftguitools.gui_join.Join.Activated(), draftguitools.gui_shape2dview.Shape2DView.Activated(), draftguitools.gui_subelements.SubelementHighlight.Activated(), draftguitools.gui_upgrade.Upgrade.Activated(), draftguitools.gui_wire2spline.WireToBSpline.Activated(), draftguitools.gui_selectplane.Draft_SelectPlane.checkSelection(), DraftGui.DraftToolBar.checkSpecialChars(), draftguitools.gui_points.Point.click(), draftguitools.gui_labels.Label.create(), draftguitools.gui_ellipses.Ellipse.createObject(), draftguitools.gui_rectangles.Rectangle.createObject(), draftguitools.gui_shapestrings.ShapeString.createObject(), draftguitools.gui_texts.Text.createObject(), draftviewproviders.view_text.ViewProviderText.createObject(), draftguitools.gui_stretch.Stretch.doStretch(), draftguitools.gui_arcs.Arc.drawArc(), draftguitools.gui_polygons.Polygon.drawPolygon(), DraftGui.DraftToolBar.escape(), draftguitools.gui_dimensions.Dimension.finish(), draftguitools.gui_move.Move.get_object_selection(), draftguitools.gui_rotate.Rotate.get_object_selection(), draftguitools.gui_scale.Scale.get_object_selection(), draftguitools.gui_arcs.Arc_3Points.getPoint(), draftguitools.gui_edit.Edit.keyPressed(), draftguitools.gui_dimensions.Dimension.numericInput(), draftguitools.gui_trimex.Trimex.numericRadius(), draftguitools.gui_fillets.Fillet.numericRadius(), draftguitools.gui_offset.Offset.numericRadius(), draftguitools.gui_rotate.Rotate.numericRadius(), draftguitools.gui_selectplane.Draft_SelectPlane.onClickAlign(), draftguitools.gui_selectplane.Draft_SelectPlane.onClickAuto(), draftguitools.gui_selectplane.Draft_SelectPlane.onClickCenter(), draftguitools.gui_selectplane.Draft_SelectPlane.onClickFront(), draftguitools.gui_selectplane.Draft_SelectPlane.onClickMove(), draftguitools.gui_selectplane.Draft_SelectPlane.onClickPrevious(), draftguitools.gui_selectplane.Draft_SelectPlane.onClickSide(), draftguitools.gui_selectplane.Draft_SelectPlane.onClickTop(), draftguitools.gui_array_simple.Array.proceed(), draftguitools.gui_clone.Clone.proceed(), draftguitools.gui_downgrade.Downgrade.proceed(), draftguitools.gui_draft2sketch.Draft2Sketch.proceed(), draftguitools.gui_edit.Edit.proceed(), draftguitools.gui_facebinders.Facebinder.proceed(), draftguitools.gui_join.Join.proceed(), draftguitools.gui_patharray.PathArray.proceed(), draftguitools.gui_pathtwistedarray.PathTwistedArray.proceed(), draftguitools.gui_pointarray.PointArray.proceed(), draftguitools.gui_shape2dview.Shape2DView.proceed(), draftguitools.gui_subelements.SubelementHighlight.proceed(), draftguitools.gui_trimex.Trimex.proceed(), draftguitools.gui_upgrade.Upgrade.proceed(), draftguitools.gui_split.Split.proceed(), draftguitools.gui_selectplane.Draft_SelectPlane.reject(), drafttaskpanels.task_circulararray.TaskPanelCircularArray.reject(), drafttaskpanels.task_orthoarray.TaskPanelOrthoArray.reject(), drafttaskpanels.task_polararray.TaskPanelPolarArray.reject(), and draftguitools.gui_edit.Edit.setTrackers().

◆ GetResources()

def draftguitools.gui_dimensions.Dimension.GetResources (   self)
Set icon, menu and tooltip.

References draftutils.translate.QT_TRANSLATE_NOOP.

◆ numericInput()

def draftguitools.gui_dimensions.Dimension.numericInput (   self,
  numx,
  numy,
  numz 
)
Validate the entry fields in the user interface.

This function is called by the toolbar or taskpanel interface
when valid x, y, and z have been entered in the input fields.

References draftguitools.gui_dimensions.Dimension.cont, MeshPartGui::CurveOnMeshHandler::Private::ApproxPar.cont, Import::ImportOCAF2.createObject(), draftguitools.gui_dimensions.Dimension.createObject(), draftguitools.gui_ellipses.Ellipse.createObject(), draftguitools.gui_rectangles.Rectangle.createObject(), draftguitools.gui_shapestrings.ShapeString.createObject(), draftguitools.gui_texts.Text.createObject(), drafttaskpanels.task_shapestring.ShapeStringTaskPanelCmd.createObject(), draftviewproviders.view_text.ViewProviderText.createObject(), draftguitools.gui_dimensions.Dimension.dimtrack, Gui::ManualAlignment.finish(), Gui::SoFCBoundingBox.finish(), Gui::SoFCColorBarBase.finish(), Gui::SoFCColorBar.finish(), Gui::SoFCColorGradient.finish(), Gui::SoFCColorLegend.finish(), Gui::SoFCDB.finish(), zipios::GZIPOutputStream.finish(), zipios::GZIPOutputStreambuf.finish(), zipios::ZipOutputStream.finish(), zipios::ZipOutputStreambuf.finish(), DraftGui.DraftToolBar.finish(), draftguitools.gui_base.GuiCommandBase.finish(), draftguitools.gui_subelements.SubelementHighlight.finish(), drafttaskpanels.task_circulararray.TaskPanelCircularArray.finish(), drafttaskpanels.task_orthoarray.TaskPanelOrthoArray.finish(), drafttaskpanels.task_polararray.TaskPanelPolarArray.finish(), drafttaskpanels.task_shapestring.ShapeStringTaskPanelEdit.finish(), draftviewproviders.view_text.ViewProviderText.finish(), draftguitools.gui_arcs.Arc_3Points.finish(), draftguitools.gui_base_original.DraftTool.finish(), draftguitools.gui_clone.Clone.finish(), draftguitools.gui_fillets.Fillet.finish(), draftguitools.gui_selectplane.Draft_SelectPlane.finish(), draftguitools.gui_dimensions.Dimension.finish(), draftguitools.gui_edit.Edit.finish(), draftguitools.gui_offset.Offset.finish(), draftguitools.gui_stretch.Stretch.finish(), draftguitools.gui_trimex.Trimex.finish(), draftguitools.gui_arcs.Arc.finish(), draftguitools.gui_beziers.BezCurve.finish(), draftguitools.gui_beziers.CubicBezCurve.finish(), draftguitools.gui_ellipses.Ellipse.finish(), draftguitools.gui_labels.Label.finish(), draftguitools.gui_lines.Line.finish(), draftguitools.gui_mirror.Mirror.finish(), draftguitools.gui_move.Move.finish(), draftguitools.gui_polygons.Polygon.finish(), draftguitools.gui_rectangles.Rectangle.finish(), draftguitools.gui_rotate.Rotate.finish(), draftguitools.gui_scale.Scale.finish(), draftguitools.gui_splines.BSpline.finish(), draftguitools.gui_texts.Text.finish(), draftguitools.gui_points.Point.finish(), draftguitools.gui_shapestrings.ShapeString.finish(), Gui::SoFCBackgroundGradient.finish(), Gui::SoSkipBoundingGroup.finish(), Gui::SoFCSelection.finish(), Gui::SoFCHighlightAction.finish(), Gui::SoFCSelectionAction.finish(), Gui::SoFCEnableSelectionAction.finish(), Gui::SoFCEnableHighlightAction.finish(), Gui::SoFCSelectionColorAction.finish(), Gui::SoFCHighlightColorAction.finish(), Gui::SoFCDocumentAction.finish(), Gui::SoFCDocumentObjectAction.finish(), Gui::SoUpdateVBOAction.finish(), Gui::SoFCUnifiedSelection.finish(), Gui::SoFCPathAnnotation.finish(), Gui::SoFCSeparator.finish(), Gui::SoFCSelectionRoot.finish(), ifc4.ifcworktime.finish, uvPtStruct.node, StdMeshers_Quadrangle_2D::ForcedPoint.node, Gui::AxisOrigin.node, Gui::Dialog::Clipping::Private.node, draftguitools.gui_arcs.Arc.node, draftguitools.gui_base_original.DraftTool.node, draftguitools.gui_beziers.CubicBezCurve.node, draftguitools.gui_dimensions.Dimension.node, draftguitools.gui_edit.Edit.node, draftguitools.gui_lines.Line.node, draftguitools.gui_mirror.Mirror.node, draftguitools.gui_move.Move.node, draftguitools.gui_polygons.Polygon.node, draftguitools.gui_rotate.Rotate.node, draftguitools.gui_scale.Scale.node, draftguitools.gui_stretch.Stretch.node, drafttaskpanels.task_shapestring.ShapeStringTaskPanel.node, draftviewproviders.view_dimension.ViewProviderLinearDimension.node, draftviewproviders.view_dimension.ViewProviderAngularDimension.node, GRIDElement.node, Commands.TemplatePyMod_Cmd2.node, FaceQuadStruct::Side::Contact.point, Gui::DAG::VertexProperty.point, Gui::PickedPoint.point, draftguitools.gui_arcs.Arc.point, draftguitools.gui_base_original.DraftTool.point, draftguitools.gui_circulararray.CircularArray.point, draftguitools.gui_dimensions.Dimension.point, draftguitools.gui_ellipses.Ellipse.point, draftguitools.gui_labels.Label.point, draftguitools.gui_lines.Line.point, draftguitools.gui_mirror.Mirror.point, draftguitools.gui_move.Move.point, draftguitools.gui_orthoarray.OrthoArray.point, draftguitools.gui_points.Point.point, draftguitools.gui_polararray.PolarArray.point, draftguitools.gui_polygons.Polygon.point, draftguitools.gui_rectangles.Rectangle.point, draftguitools.gui_rotate.Rotate.point, draftguitools.gui_scale.Scale.point, draftguitools.gui_texts.Text.point, drafttaskpanels.task_shapestring.ShapeStringTaskPanel.point, MeshGui::SoFCMeshFaceSet.point, MeshGui::SoFCMeshNode.point, MeshGui::SoFCMeshVertex.point, MeshPartGui::CurveOnMeshHandler::Private::PickedPoint.point, PathScripts.PathDressupTagGui.HoldingTagMarker.point, PathScripts.PathGetPoint.TaskPanel.point, TechDraw::Vertex.point(), and TechDrawGui::dimVertex.point.

Referenced by draftguitools.gui_scale.Scale.handle_mouse_click_event().

◆ selected_app_measure()

def draftguitools.gui_dimensions.Dimension.selected_app_measure (   self)
Check if App::MeasureDistance objects are selected.

Referenced by draftguitools.gui_dimensions.Dimension.Activated().

◆ selectEdge()

def draftguitools.gui_dimensions.Dimension.selectEdge (   self)
Toggle the select mode to the opposite state.

References draftguitools.gui_dimensions.Dimension.selectmode.

Referenced by DraftGui.DraftToolBar.checkSpecialChars().

◆ set_constraint_node()

def draftguitools.gui_dimensions.Dimension.set_constraint_node (   self)
Set constrained nodes for vertical or horizontal dimension
by projecting on the working plane.

References draftguitools.gui_dimensions.Dimension.force, draftguitools.gui_trimex.Trimex.force, PathScripts.PathJobGui.StockEdit.force, PathScripts.PathJobGui.StockFromBaseBoundBoxEdit.force, PathScripts.PathJobGui.StockCreateBoxEdit.force, PathScripts.PathJobGui.StockCreateCylinderEdit.force, KDL::Wrench.force, uvPtStruct.node, StdMeshers_Quadrangle_2D::ForcedPoint.node, Gui::AxisOrigin.node, Gui::Dialog::Clipping::Private.node, draftguitools.gui_arcs.Arc.node, draftguitools.gui_base_original.DraftTool.node, draftguitools.gui_beziers.CubicBezCurve.node, draftguitools.gui_dimensions.Dimension.node, draftguitools.gui_edit.Edit.node, draftguitools.gui_lines.Line.node, draftguitools.gui_mirror.Mirror.node, draftguitools.gui_move.Move.node, draftguitools.gui_polygons.Polygon.node, draftguitools.gui_rotate.Rotate.node, draftguitools.gui_scale.Scale.node, draftguitools.gui_stretch.Stretch.node, drafttaskpanels.task_shapestring.ShapeStringTaskPanel.node, draftviewproviders.view_dimension.ViewProviderLinearDimension.node, draftviewproviders.view_dimension.ViewProviderAngularDimension.node, GRIDElement.node, Commands.TemplatePyMod_Cmd2.node, FaceQuadStruct::Side::Contact.point, Gui::DAG::VertexProperty.point, Gui::PickedPoint.point, draftguitools.gui_arcs.Arc.point, draftguitools.gui_base_original.DraftTool.point, draftguitools.gui_circulararray.CircularArray.point, draftguitools.gui_dimensions.Dimension.point, draftguitools.gui_ellipses.Ellipse.point, draftguitools.gui_labels.Label.point, draftguitools.gui_lines.Line.point, draftguitools.gui_mirror.Mirror.point, draftguitools.gui_move.Move.point, draftguitools.gui_orthoarray.OrthoArray.point, draftguitools.gui_points.Point.point, draftguitools.gui_polararray.PolarArray.point, draftguitools.gui_polygons.Polygon.point, draftguitools.gui_rectangles.Rectangle.point, draftguitools.gui_rotate.Rotate.point, draftguitools.gui_scale.Scale.point, draftguitools.gui_texts.Text.point, drafttaskpanels.task_shapestring.ShapeStringTaskPanel.point, MeshGui::SoFCMeshFaceSet.point, MeshGui::SoFCMeshNode.point, MeshGui::SoFCMeshVertex.point, MeshPartGui::CurveOnMeshHandler::Private::PickedPoint.point, PathScripts.PathDressupTagGui.HoldingTagMarker.point, PathScripts.PathGetPoint.TaskPanel.point, TechDraw::Vertex.point(), TechDrawGui::dimVertex.point, draftguitools.gui_dimensions.Dimension.proj_point1, and draftguitools.gui_dimensions.Dimension.proj_point2.

◆ set_selection()

def draftguitools.gui_dimensions.Dimension.set_selection (   self)
Fill the nodes according to the selected geometry.

References draftguitools.gui_dimensions.Dimension.arcmode, draftguitools.gui_dimensions.Dimension.edges, draftguitools.gui_trimex.Trimex.edges, WireJoiner.edges, PathScripts.PathDeburr.ObjectDeburr.edges, PathScripts.PathDressupHoldingTags.MapWireToTag.edges, PathScripts.PathDressupHoldingTags.PathData.edges, PathScripts.PathDressupTag.ObjectDressup.edges, Gui::SoGLSelectAction.indices, draftguitools.gui_dimensions.Dimension.indices, MeshCore::PointCollector.indices, MeshCore::FacetCollector.indices, MeshCore::FitPointCollector.indices, MeshCore::MeshEvalDentsOnSurface.indices, MeshCore::MeshEvalFoldsOnSurface.indices, MeshCore::MeshEvalFoldsOnBoundary.indices, MeshCore::MeshEvalFoldOversOnSurface.indices, MeshCore::Group.indices, MeshCore::MeshSurfaceVisitor.indices, MeshCore::MeshPlaneVisitor.indices, MeshGui::MeshRenderer::Private.indices, SketcherGui::EditModeInformationOverlayCoinConverter::NodePolygon< CalculationType::BSplineCurvatureComb >.indices, SketcherGui::EditModeInformationOverlayCoinConverter::NodePolygon< ctype >.indices, SketcherGui::EditModeInformationOverlayCoinConverter::NodePolygon< CalculationType::BSplineControlPolygon >.indices, Gui::PropertyEditor::LinkSelection.link, Gui::PropertyEditor::LinkLabel.link, Gui::LinkView::SubInfo.link(), Gui::LinkView::Element.link(), draftguitools.gui_dimensions.Dimension.link, uvPtStruct.node, StdMeshers_Quadrangle_2D::ForcedPoint.node, Gui::AxisOrigin.node, Gui::Dialog::Clipping::Private.node, draftguitools.gui_arcs.Arc.node, draftguitools.gui_base_original.DraftTool.node, draftguitools.gui_beziers.CubicBezCurve.node, draftguitools.gui_dimensions.Dimension.node, draftguitools.gui_edit.Edit.node, draftguitools.gui_lines.Line.node, draftguitools.gui_mirror.Mirror.node, draftguitools.gui_move.Move.node, draftguitools.gui_polygons.Polygon.node, draftguitools.gui_rotate.Rotate.node, draftguitools.gui_scale.Scale.node, draftguitools.gui_stretch.Stretch.node, drafttaskpanels.task_shapestring.ShapeStringTaskPanel.node, draftviewproviders.view_dimension.ViewProviderLinearDimension.node, draftviewproviders.view_dimension.ViewProviderAngularDimension.node, GRIDElement.node, and Commands.TemplatePyMod_Cmd2.node.

Member Data Documentation

◆ altdown

draftguitools.gui_dimensions.Dimension.altdown

◆ angledata

◆ angles

draftguitools.gui_dimensions.Dimension.angles

◆ arcmode

◆ arctrack

◆ call

◆ center

draftguitools.gui_dimensions.Dimension.center

Referenced by drafttaskpanels.task_circulararray.TaskPanelCircularArray.accept(), drafttaskpanels.task_polararray.TaskPanelPolarArray.accept(), draftguitools.gui_arcs.Arc.action(), draftguitools.gui_dimensions.Dimension.action(), draftguitools.gui_offset.Offset.action(), draftguitools.gui_polygons.Polygon.action(), draftguitools.gui_rotate.Rotate.build_copy_subelements_command(), draftguitools.gui_scale.Scale.build_copy_subelements_command(), draftguitools.gui_rotate.Rotate.build_rotate_subelements_command(), draftguitools.gui_scale.Scale.build_scale_subelements_command(), draftguitools.gui_dimensions.Dimension.create_angle_dimension(), drafttaskpanels.task_circulararray.TaskPanelCircularArray.create_object(), drafttaskpanels.task_polararray.TaskPanelPolarArray.create_object(), draftguitools.gui_arcs.Arc.drawArc(), draftguitools.gui_polygons.Polygon.drawPolygon(), PathScripts.PathDressupAxisMap.ObjectDressup.execute(), draftguitools.gui_rotate.Rotate.handle_mouse_move_event(), draftguitools.gui_arcs.Arc.numericInput(), draftguitools.gui_polygons.Polygon.numericInput(), draftguitools.gui_rotate.Rotate.numericInput(), draftguitools.gui_arcs.Arc.numericRadius(), draftguitools.gui_polygons.Polygon.numericRadius(), PathScripts.PathDressupAxisMap.ObjectDressup.onChanged(), drafttaskpanels.task_circulararray.TaskPanelCircularArray.print_messages(), drafttaskpanels.task_polararray.TaskPanelPolarArray.print_messages(), drafttaskpanels.task_circulararray.TaskPanelCircularArray.reset_point(), drafttaskpanels.task_polararray.TaskPanelPolarArray.reset_point(), draftguitools.gui_rotate.Rotate.rotate_object(), draftguitools.gui_scale.Scale.scale_object(), draftguitools.gui_rotate.Rotate.set_center(), draftguitools.gui_rotate.Rotate.set_ghosts(), and draftguitools.gui_rotate.Rotate.set_rotation_angle().

◆ cont

◆ dimtrack

◆ dir

◆ edges

◆ force

◆ indices

draftguitools.gui_dimensions.Dimension.indices

◆ info

◆ link

◆ max

draftguitools.gui_dimensions.Dimension.max

◆ node

draftguitools.gui_dimensions.Dimension.node

Referenced by draftguitools.gui_beziers.BezCurve.action(), draftguitools.gui_beziers.CubicBezCurve.action(), draftguitools.gui_dimensions.Dimension.action(), draftguitools.gui_ellipses.Ellipse.action(), draftguitools.gui_labels.Label.action(), draftguitools.gui_lines.Line.action(), draftguitools.gui_mirror.Mirror.action(), draftguitools.gui_rectangles.Rectangle.action(), draftguitools.gui_splines.BSpline.action(), draftguitools.gui_texts.Text.action(), draftguitools.gui_ellipses.Ellipse.appendPoint(), draftguitools.gui_rectangles.Rectangle.appendPoint(), draftguitools.gui_labels.Label.create(), draftguitools.gui_dimensions.Dimension.create_angle_dimension(), draftguitools.gui_dimensions.Dimension.create_linear_dimension(), draftguitools.gui_dimensions.Dimension.create_linear_dimension_obj(), draftguitools.gui_dimensions.Dimension.create_radial_dimension_obj(), draftguitools.gui_dimensions.Dimension.createObject(), draftguitools.gui_ellipses.Ellipse.createObject(), draftguitools.gui_rectangles.Rectangle.createObject(), draftviewproviders.view_dimension.ViewProviderLinearDimension.draw_dim_arrows(), draftviewproviders.view_dimension.ViewProviderAngularDimension.draw_dim_arrows(), draftviewproviders.view_dimension.ViewProviderLinearDimension.draw_dim_overshoot(), draftviewproviders.view_dimension.ViewProviderLinearDimension.draw_ext_overshoot(), draftguitools.gui_lines.Line.drawSegment(), draftguitools.gui_beziers.BezCurve.drawUpdate(), draftguitools.gui_beziers.CubicBezCurve.drawUpdate(), draftguitools.gui_splines.BSpline.drawUpdate(), draftguitools.gui_base_original.DraftTool.finish(), draftguitools.gui_beziers.BezCurve.finish(), draftguitools.gui_beziers.CubicBezCurve.finish(), draftguitools.gui_lines.Line.finish(), draftguitools.gui_splines.BSpline.finish(), draftguitools.gui_base_original.DraftTool.getStrings(), draftguitools.gui_move.Move.handle_mouse_move_event(), draftguitools.gui_arcs.Arc.numericInput(), draftguitools.gui_dimensions.Dimension.numericInput(), draftguitools.gui_polygons.Polygon.numericInput(), draftguitools.gui_rotate.Rotate.numericInput(), draftguitools.gui_lines.Line.orientWP(), draftguitools.gui_scale.Scale.pickRef(), draftviewproviders.view_dimension.ViewProviderLinearDimension.remove_dim_arrows(), draftviewproviders.view_dimension.ViewProviderAngularDimension.remove_dim_arrows(), draftviewproviders.view_dimension.ViewProviderLinearDimension.remove_dim_overshoot(), draftviewproviders.view_dimension.ViewProviderLinearDimension.remove_ext_overshoot(), draftguitools.gui_scale.Scale.scale_with_clone(), draftguitools.gui_scale.Scale.scaleGhost(), draftguitools.gui_dimensions.Dimension.set_constraint_node(), draftguitools.gui_dimensions.Dimension.set_selection(), draftguitools.gui_edit.Edit.startEditing(), draftguitools.gui_beziers.BezCurve.undolast(), draftguitools.gui_beziers.CubicBezCurve.undolast(), draftguitools.gui_lines.Line.undolast(), draftguitools.gui_splines.BSpline.undolast(), draftguitools.gui_edit.Edit.updateTrackerAndGhost(), and draftguitools.gui_lines.Line.wipe().

◆ point

draftguitools.gui_dimensions.Dimension.point

Referenced by draftguitools.gui_arcs.Arc.action(), draftguitools.gui_beziers.BezCurve.action(), draftguitools.gui_beziers.CubicBezCurve.action(), draftguitools.gui_dimensions.Dimension.action(), draftguitools.gui_ellipses.Ellipse.action(), draftguitools.gui_fillets.Fillet.action(), draftguitools.gui_labels.Label.action(), draftguitools.gui_lines.Line.action(), draftguitools.gui_mirror.Mirror.action(), draftguitools.gui_offset.Offset.action(), draftguitools.gui_polygons.Polygon.action(), draftguitools.gui_rectangles.Rectangle.action(), draftguitools.gui_scale.Scale.action(), draftguitools.gui_shapestrings.ShapeString.action(), draftguitools.gui_splines.BSpline.action(), draftguitools.gui_split.Split.action(), draftguitools.gui_texts.Text.action(), drafttaskpanels.task_shapestring.ShapeStringTaskPanel.action(), draftguitools.gui_circulararray.CircularArray.click(), draftguitools.gui_orthoarray.OrthoArray.click(), draftguitools.gui_points.Point.click(), draftguitools.gui_polararray.PolarArray.click(), PathScripts.PathGetPoint.TaskPanel.getPoint(), draftguitools.gui_scale.Scale.handle_mouse_click_event(), draftguitools.gui_move.Move.handle_mouse_click_event(), draftguitools.gui_rotate.Rotate.handle_mouse_click_event(), draftguitools.gui_move.Move.handle_mouse_move_event(), draftguitools.gui_rotate.Rotate.handle_mouse_move_event(), draftguitools.gui_scale.Scale.handle_mouse_move_event(), draftguitools.gui_circulararray.CircularArray.move(), draftguitools.gui_points.Point.move(), draftguitools.gui_polararray.PolarArray.move(), draftguitools.gui_dimensions.Dimension.numericInput(), draftguitools.gui_points.Point.numericInput(), draftguitools.gui_split.Split.proceed(), draftguitools.gui_rotate.Rotate.set_center(), draftguitools.gui_dimensions.Dimension.set_constraint_node(), draftguitools.gui_rotate.Rotate.set_rotation_angle(), draftguitools.gui_trimex.Trimex.trimObject(), and PathScripts.PathGetPoint.TaskPanel.updatePoint().

◆ point1

draftguitools.gui_dimensions.Dimension.point1

◆ point2

draftguitools.gui_dimensions.Dimension.point2

◆ proj_point1

draftguitools.gui_dimensions.Dimension.proj_point1

◆ proj_point2

draftguitools.gui_dimensions.Dimension.proj_point2

◆ selectmode

draftguitools.gui_dimensions.Dimension.selectmode

The documentation for this class was generated from the following file: