Public Member Functions | |
def | action (self, arg) |
def | Activated (self) |
def | drawArc (self) |
def | finish (self, closed=False, cont=False) |
def | GetResources (self) |
def | numericInput (self, numx, numy, numz) |
def | numericRadius (self, rad) |
def | updateAngle (self, angle) |
Public Member Functions inherited from draftguitools.gui_base_original.Creator | |
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 | |
angle | |
arctrack | |
call | |
center | |
closedCircle | |
featureName | |
firstangle | |
linetrack | |
node | |
point | |
rad | |
step | |
tangents | |
tanpoints | |
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 Circular Arc tool.
Member Function Documentation
◆ action()
def draftguitools.gui_arcs.Arc.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 draftguitools.gui_arcs.Arc.center, DraftVecUtils.dist(), zipios::GZIPOutputStreambuf.finish(), zipios::GZIPOutputStream.finish(), Gui::SoFCDB.finish(), zipios::ZipOutputStreambuf.finish(), Gui::SoFCBackgroundGradient.finish(), Gui::SoFCColorLegend.finish(), zipios::ZipOutputStream.finish(), Gui::SoFCColorGradient.finish(), Gui::SoFCColorBarBase.finish(), Gui::SoFCHighlightAction.finish(), Gui::SoFCUnifiedSelection.finish(), Gui::SoFCSelection.finish(), Gui::SoFCSelectionAction.finish(), draftguitools.gui_arcs.Arc.finish(), Gui::SoFCBoundingBox.finish(), Gui::SoFCEnableSelectionAction.finish(), Gui::SoSkipBoundingGroup.finish(), Gui::SoFCEnableHighlightAction.finish(), Gui::SoFCColorBar.finish(), Gui::SoFCPathAnnotation.finish(), Gui::SoFCSelectionColorAction.finish(), Gui::SoFCSeparator.finish(), Gui::SoFCHighlightColorAction.finish(), Gui::SoFCSelectionRoot.finish(), Gui::SoFCDocumentAction.finish(), Gui::ManualAlignment.finish(), Gui::SoFCDocumentObjectAction.finish(), Gui::SoUpdateVBOAction.finish(), DraftGui.DraftToolBar.finish(), ifc4.ifcworktime.finish, DraftVecUtils.isNull(), Gui::PickedPoint.point, FaceQuadStruct::Side::Contact.point, Gui::DAG::VertexProperty.point, draftguitools.gui_arcs.Arc.point, and DraftVecUtils.project().
◆ Activated()
def draftguitools.gui_arcs.Arc.Activated | ( | self | ) |
Execute when the command is called.
References draftguitools.gui_arcs.Arc.featureName, test.ui, Gui::Dialog::Clipping::Private.ui, Gui::Dialog::DlgAddProperty.ui, Gui::TaskBoxPosition.ui, Gui::Dialog::DlgProjectInformationImp.ui, Gui::Dialog::DlgGeneralImp.ui, Gui::Dialog::DlgSettings3DViewImp.ui, Gui::ElementColors::Private.ui, Gui::Dialog::TextureMapping.ui, Gui::Dialog::DlgSettingsNavigation.ui, Gui::Dialog::DlgCustomCommandsImp.ui, Gui::Dialog::DlgSettingsEditorImp.ui, Gui::Dialog::DlgDisplayPropertiesImp::Private.ui, Gui::Dialog::DlgParameterFind.ui, Gui::TaskBoxAngle.ui, Gui::Dialog::DlgCustomKeyboardImp.ui, Gui::Dialog::DlgWorkbenchesImp.ui, Gui::Dialog::DlgMacroExecuteImp.ui, Gui::TaskView::TaskAppearance.ui, Gui::Dialog::DlgMaterialPropertiesImp.ui, Gui::Dialog::DlgInputDialogImp.ui, Gui::Dialog::DlgExpressionInput.ui, Gui::Dialog::DlgMacroRecordImp.ui, Gui::Dialog::DemoMode.ui, Gui::Dialog::DlgSettingsColorGradientImp.ui, Gui::DlgObjectSelection.ui, Gui::Dialog::DlgCustomizeSpNavSettings.ui, Gui::Dialog::DlgProjectUtility.ui, Gui::Dialog::DlgInspector.ui, Gui::Dialog::DlgActivateWindowImp.ui, Gui::Dialog::DlgCustomActionsImp.ui, Gui::Dialog::DlgReportViewImp.ui, Gui::Dialog::DlgSettingsMacroImp.ui, Gui::Dialog::DlgSettingsViewColor.ui, Gui::Dialog::Placement.ui, Gui::Dialog::DlgSettingsUnitsImp.ui, Gui::Dialog::DownloadManager.ui, Gui::Dialog::DlgSettingsDocumentImp.ui, Gui::TaskView::TaskSelectLinkProperty.ui, Gui::Dialog::DlgOnlineHelpImp.ui, Gui::Dialog::DlgPropertyLink.ui, Gui::Dialog::DlgRunExternal.ui, Gui::Dialog::DlgUnitsCalculator.ui, Gui::Dialog::IconDialog.ui, Gui::Dialog::DlgParameterImp.ui, Gui::Dialog::DlgCustomToolbars.ui, draftguitools.gui_base_original.DraftTool.ui, Gui::Dialog::DlgSettingsImageImp.ui, Gui::Dialog::DlgCheckableMessageBoxPrivate.ui, Gui::Dialog::AboutDialog.ui, Gui::Dialog::Transform.ui, Gui::Dialog::DlgPreferencesImp.ui, Gui::Dialog::DocumentRecoveryPrivate.ui, Gui::CheckListDialog.ui, Gui::LocationDialogImp< Ui >.ui, Gui::LocationImpUi< Ui >.ui, and Gui::LocationDialogUiImp.ui.
Referenced by draftguitools.gui_rectangles.Rectangle.finish(), draftguitools.gui_ellipses.Ellipse.finish(), draftguitools.gui_texts.Text.finish(), draftguitools.gui_polygons.Polygon.finish(), draftguitools.gui_arcs.Arc.finish(), draftguitools.gui_mirror.Mirror.finish(), draftguitools.gui_move.Move.finish(), draftguitools.gui_lines.Line.finish(), draftguitools.gui_splines.BSpline.finish(), draftguitools.gui_points.Point.finish(), draftguitools.gui_beziers.BezCurve.finish(), draftguitools.gui_shapestrings.ShapeString.finish(), draftguitools.gui_rotate.Rotate.finish(), and draftguitools.gui_beziers.CubicBezCurve.finish().
◆ drawArc()
def draftguitools.gui_arcs.Arc.drawArc | ( | self | ) |
Actually draw the arc object.
References draftguitools.gui_arcs.Arc.angle, SoGestureSwipeEvent.angle, DraftGui.DraftToolBar.angle, draftguitools.gui_arcs.Arc.center, draftguitools.gui_arcs.Arc.closedCircle, Gui::MacroManager.commit(), draftguitools.gui_base_original.DraftTool.commit(), draftguitools.gui_base.GuiCommandBase.commit(), zipios::GZIPOutputStreambuf.finish(), zipios::GZIPOutputStream.finish(), Gui::SoFCDB.finish(), zipios::ZipOutputStreambuf.finish(), Gui::SoFCBackgroundGradient.finish(), Gui::SoFCColorLegend.finish(), zipios::ZipOutputStream.finish(), Gui::SoFCColorGradient.finish(), Gui::SoFCColorBarBase.finish(), Gui::SoFCHighlightAction.finish(), Gui::SoFCUnifiedSelection.finish(), Gui::SoFCSelection.finish(), Gui::SoFCSelectionAction.finish(), draftguitools.gui_arcs.Arc.finish(), Gui::SoFCBoundingBox.finish(), Gui::SoFCEnableSelectionAction.finish(), Gui::SoSkipBoundingGroup.finish(), Gui::SoFCEnableHighlightAction.finish(), Gui::SoFCColorBar.finish(), Gui::SoFCPathAnnotation.finish(), Gui::SoFCSelectionColorAction.finish(), Gui::SoFCSeparator.finish(), Gui::SoFCHighlightColorAction.finish(), Gui::SoFCSelectionRoot.finish(), Gui::SoFCDocumentAction.finish(), Gui::ManualAlignment.finish(), Gui::SoFCDocumentObjectAction.finish(), Gui::SoUpdateVBOAction.finish(), DraftGui.DraftToolBar.finish(), ifc4.ifcworktime.finish, draftguitools.gui_arcs.Arc.firstangle, Base::ParameterGrpPy.getStrings(), draftguitools.gui_base_original.DraftTool.getStrings(), draftguitools.gui_arcs.Arc.rad, and DraftVecUtils.toString().
Referenced by draftguitools.gui_arcs.Arc_3Points.getPoint(), and draftguitools.gui_arcs.Arc.numericRadius().
◆ finish()
def draftguitools.gui_arcs.Arc.finish | ( | self, | |
closed = False , |
|||
cont = False |
|||
) |
Terminate the operation and close the arc if asked. Parameters ---------- closed: bool, optional Close the line if `True`.
References ArchSchedule.CommandArchSchedule.Activated(), AddonManager.CommandAddonManager.Activated(), draftguitools.gui_arcs.Arc.Activated(), ArchCutPlane._CommandCutLine.Activated(), ArchFrame._CommandFrame.Activated(), ArchTruss.CommandArchTruss.Activated(), draftguitools.gui_annotationstyleeditor.AnnotationStyleEditor.Activated(), ArchCutPlane._CommandCutPlane.Activated(), ArchProject._CommandProject.Activated(), ArchCurtainWall.CommandArchCurtainWall.Activated(), ArchMaterial._CommandArchMaterial.Activated(), ArchRebar._CommandRebar.Activated(), ArchPipe._CommandPipe.Activated(), ArchAxis._CommandAxis.Activated(), ArchFloor._CommandFloor.Activated(), ArchProfile.Arch_Profile.Activated(), ArchRoof._CommandRoof.Activated(), ArchAxis._CommandAxisSystem.Activated(), ArchMaterial._CommandArchMultiMaterial.Activated(), InitGui.ArchWorkbench.Activated(), ArchPipe._CommandPipeConnector.Activated(), ArchPanel.CommandPanel.Activated(), ArchWindow._CommandWindow.Activated(), ArchAxis.CommandArchGrid.Activated(), ArchEquipment._CommandEquipment.Activated(), ArchStructure._CommandStructure.Activated(), ArchBuilding._CommandBuilding.Activated(), ArchStairs._CommandStairs.Activated(), ArchEquipment._Command3Views.Activated(), ArchSpace._CommandSpace.Activated(), ArchWall._CommandWall.Activated(), ArchBuildingPart.CommandBuildingPart.Activated(), ArchPanel.CommandPanelCut.Activated(), ArchFence._CommandFence.Activated(), ArchPanel.CommandPanelSheet.Activated(), ArchSite._CommandSite.Activated(), ArchWall._CommandMergeWalls.Activated(), ArchReference.ArchReferenceCommand.Activated(), ArchSectionPlane._CommandSectionPlane.Activated(), ArchCommands._CommandAdd.Activated(), ArchCommands._CommandRemove.Activated(), ArchCommands._CommandSplitMesh.Activated(), ArchCommands._CommandMeshToShape.Activated(), ArchCommands._CommandSelectNonSolidMeshes.Activated(), ArchCommands._CommandRemoveShape.Activated(), ArchCommands._CommandCloseHoles.Activated(), ArchPanel.CommandNest.Activated(), ArchCommands._CommandCheck.Activated(), ArchCommands._CommandSurvey.Activated(), ArchCommands._ToggleIfcBrepFlag.Activated(), ArchCommands._CommandComponent.Activated(), ArchCommands._CommandCloneComponent.Activated(), ArchCommands._CommandIfcSpreadsheet.Activated(), ArchCommands._ToggleSubs.Activated(), DraftGui.DraftToolBar.Activated(), draftguitools.gui_arcs.Arc.arctrack, Gui::GraphvizView.doc, draftguitools.gui_annotationstyleeditor.AnnotationStyleEditor.doc, draftguitools.gui_base.GuiCommandSimplest.doc, ExpressionCompleterModel::Info.doc, App::RelabelDocumentExpressionVisitor.doc, draftguitools.gui_base_original.DraftTool.doc, App::DynamicProperty::PropData.doc, draftguitools.gui_base.GuiCommandBase.doc, App::LinkBaseExtension::PropInfo.doc, ItemInfo.doc, ItemInfo2.doc, importIFClegacy.IfcEntity.doc, draftguitools.gui_arcs.Arc.linetrack, test.ui, Gui::Dialog::Clipping::Private.ui, Gui::Dialog::DlgAddProperty.ui, Gui::TaskBoxPosition.ui, Gui::Dialog::DlgProjectInformationImp.ui, Gui::Dialog::DlgGeneralImp.ui, Gui::Dialog::DlgSettings3DViewImp.ui, Gui::ElementColors::Private.ui, Gui::Dialog::TextureMapping.ui, Gui::Dialog::DlgSettingsNavigation.ui, Gui::Dialog::DlgCustomCommandsImp.ui, Gui::Dialog::DlgSettingsEditorImp.ui, Gui::Dialog::DlgDisplayPropertiesImp::Private.ui, Gui::Dialog::DlgParameterFind.ui, Gui::TaskBoxAngle.ui, Gui::Dialog::DlgCustomKeyboardImp.ui, Gui::Dialog::DlgWorkbenchesImp.ui, Gui::Dialog::DlgMacroExecuteImp.ui, Gui::TaskView::TaskAppearance.ui, Gui::Dialog::DlgMaterialPropertiesImp.ui, Gui::Dialog::DlgInputDialogImp.ui, Gui::Dialog::DlgExpressionInput.ui, Gui::Dialog::DlgMacroRecordImp.ui, Gui::Dialog::DlgSettingsColorGradientImp.ui, Gui::Dialog::DemoMode.ui, Gui::DlgObjectSelection.ui, Gui::Dialog::DlgCustomizeSpNavSettings.ui, Gui::Dialog::DlgProjectUtility.ui, Gui::Dialog::DlgInspector.ui, Gui::Dialog::DlgActivateWindowImp.ui, Gui::Dialog::DlgCustomActionsImp.ui, Gui::Dialog::DlgReportViewImp.ui, Gui::Dialog::DlgSettingsViewColor.ui, Gui::Dialog::DlgSettingsMacroImp.ui, Gui::Dialog::Placement.ui, Gui::Dialog::DlgSettingsUnitsImp.ui, Gui::Dialog::DownloadManager.ui, Gui::Dialog::DlgSettingsDocumentImp.ui, Gui::TaskView::TaskSelectLinkProperty.ui, Gui::Dialog::DlgOnlineHelpImp.ui, Gui::Dialog::DlgPropertyLink.ui, Gui::Dialog::DlgRunExternal.ui, Gui::Dialog::DlgUnitsCalculator.ui, Gui::Dialog::IconDialog.ui, Gui::Dialog::DlgParameterImp.ui, draftguitools.gui_base_original.DraftTool.ui, Gui::Dialog::DlgCustomToolbars.ui, Gui::Dialog::DlgSettingsImageImp.ui, Gui::Dialog::DlgCheckableMessageBoxPrivate.ui, Gui::Dialog::AboutDialog.ui, Gui::Dialog::Transform.ui, Gui::Dialog::DlgPreferencesImp.ui, Gui::Dialog::DocumentRecoveryPrivate.ui, Gui::CheckListDialog.ui, Gui::LocationDialogImp< Ui >.ui, Gui::LocationImpUi< Ui >.ui, and Gui::LocationDialogUiImp.ui.
Referenced by drafttaskpanels.task_polararray.TaskPanelPolarArray.accept(), drafttaskpanels.task_orthoarray.TaskPanelOrthoArray.accept(), drafttaskpanels.task_circulararray.TaskPanelCircularArray.accept(), draftguitools.gui_split.Split.action(), draftguitools.gui_splines.BSpline.action(), draftguitools.gui_beziers.BezCurve.action(), draftguitools.gui_lines.Line.action(), draftguitools.gui_polygons.Polygon.action(), draftguitools.gui_subelements.SubelementHighlight.action(), draftguitools.gui_rotate.Rotate.action(), draftguitools.gui_fillets.Fillet.action(), draftguitools.gui_move.Move.action(), draftguitools.gui_texts.Text.action(), draftguitools.gui_mirror.Mirror.action(), draftguitools.gui_stretch.Stretch.action(), draftguitools.gui_scale.Scale.action(), draftguitools.gui_arcs.Arc.action(), draftguitools.gui_offset.Offset.action(), draftguitools.gui_ellipses.Ellipse.action(), draftguitools.gui_rectangles.Rectangle.action(), draftguitools.gui_shapestrings.ShapeString.action(), draftguitools.gui_labels.Label.action(), draftguitools.gui_selectplane.Draft_SelectPlane.action(), draftguitools.gui_trimex.Trimex.action(), draftguitools.gui_beziers.CubicBezCurve.action(), draftguitools.gui_dimensions.Dimension.action(), draftguitools.gui_wire2spline.WireToBSpline.Activated(), draftguitools.gui_subelements.SubelementHighlight.Activated(), draftguitools.gui_dimensions.Dimension.Activated(), draftguitools.gui_edit.Edit.Activated(), draftguitools.gui_selectplane.Draft_SelectPlane.checkSelection(), draftguitools.gui_points.Point.click(), draftguitools.gui_labels.Label.create(), draftguitools.gui_ellipses.Ellipse.createObject(), draftguitools.gui_rectangles.Rectangle.createObject(), draftguitools.gui_texts.Text.createObject(), draftguitools.gui_shapestrings.ShapeString.createObject(), draftguitools.gui_stretch.Stretch.doStretch(), draftguitools.gui_arcs.Arc.drawArc(), draftguitools.gui_polygons.Polygon.drawPolygon(), draftguitools.gui_edit.Edit.keyPressed(), draftguitools.gui_dimensions.Dimension.numericInput(), draftguitools.gui_fillets.Fillet.numericRadius(), draftguitools.gui_offset.Offset.numericRadius(), draftguitools.gui_rotate.Rotate.numericRadius(), draftguitools.gui_trimex.Trimex.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_subelements.SubelementHighlight.proceed(), draftguitools.gui_facebinders.Facebinder.proceed(), draftguitools.gui_downgrade.Downgrade.proceed(), draftguitools.gui_draft2sketch.Draft2Sketch.proceed(), draftguitools.gui_upgrade.Upgrade.proceed(), draftguitools.gui_shape2dview.Shape2DView.proceed(), draftguitools.gui_join.Join.proceed(), draftguitools.gui_array_simple.Array.proceed(), draftguitools.gui_clone.Clone.proceed(), draftguitools.gui_split.Split.proceed(), draftguitools.gui_trimex.Trimex.proceed(), draftguitools.gui_pointarray.PointArray.proceed(), draftguitools.gui_patharray.PathArray.proceed(), draftguitools.gui_edit.Edit.proceed(), draftguitools.gui_selectplane.Draft_SelectPlane.reject(), drafttaskpanels.task_orthoarray.TaskPanelOrthoArray.reject(), drafttaskpanels.task_polararray.TaskPanelPolarArray.reject(), drafttaskpanels.task_circulararray.TaskPanelCircularArray.reject(), and draftguitools.gui_edit.Edit.setTrackers().
◆ GetResources()
def draftguitools.gui_arcs.Arc.GetResources | ( | self | ) |
Set icon, menu and tooltip.
Reimplemented in draftguitools.gui_circles.Circle.
◆ numericInput()
def draftguitools.gui_arcs.Arc.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_arcs.Arc.arctrack, draftguitools.gui_arcs.Arc.center, Gui::Dialog::Clipping::Private.node, Gui::AxisOrigin.node, uvPtStruct.node, StdMeshers_Quadrangle_2D::ForcedPoint.node, draftguitools.gui_arcs.Arc.node, draftguitools.gui_arcs.Arc.step, App::ObjectIdentifier::Component.step, test.ui, Gui::Dialog::Clipping::Private.ui, Gui::Dialog::DlgAddProperty.ui, Gui::TaskBoxPosition.ui, Gui::Dialog::DlgProjectInformationImp.ui, Gui::Dialog::DlgGeneralImp.ui, Gui::Dialog::DlgSettings3DViewImp.ui, Gui::ElementColors::Private.ui, Gui::Dialog::TextureMapping.ui, Gui::Dialog::DlgSettingsNavigation.ui, Gui::Dialog::DlgCustomCommandsImp.ui, Gui::Dialog::DlgSettingsEditorImp.ui, Gui::Dialog::DlgDisplayPropertiesImp::Private.ui, Gui::Dialog::DlgParameterFind.ui, Gui::TaskBoxAngle.ui, Gui::Dialog::DlgCustomKeyboardImp.ui, Gui::Dialog::DlgWorkbenchesImp.ui, Gui::Dialog::DlgMacroExecuteImp.ui, Gui::TaskView::TaskAppearance.ui, Gui::Dialog::DlgInputDialogImp.ui, Gui::Dialog::DlgMaterialPropertiesImp.ui, Gui::Dialog::DlgExpressionInput.ui, Gui::Dialog::DlgMacroRecordImp.ui, Gui::Dialog::DemoMode.ui, Gui::Dialog::DlgSettingsColorGradientImp.ui, Gui::DlgObjectSelection.ui, Gui::Dialog::DlgCustomizeSpNavSettings.ui, Gui::Dialog::DlgProjectUtility.ui, Gui::Dialog::DlgInspector.ui, Gui::Dialog::DlgActivateWindowImp.ui, Gui::Dialog::DlgCustomActionsImp.ui, Gui::Dialog::DlgReportViewImp.ui, Gui::Dialog::DlgSettingsMacroImp.ui, Gui::Dialog::DlgSettingsViewColor.ui, Gui::Dialog::Placement.ui, Gui::Dialog::DlgSettingsUnitsImp.ui, Gui::Dialog::DownloadManager.ui, Gui::Dialog::DlgSettingsDocumentImp.ui, Gui::TaskView::TaskSelectLinkProperty.ui, Gui::Dialog::DlgOnlineHelpImp.ui, Gui::Dialog::DlgPropertyLink.ui, Gui::Dialog::DlgRunExternal.ui, Gui::Dialog::DlgUnitsCalculator.ui, Gui::Dialog::IconDialog.ui, Gui::Dialog::DlgParameterImp.ui, draftguitools.gui_base_original.DraftTool.ui, Gui::Dialog::DlgCustomToolbars.ui, Gui::Dialog::DlgSettingsImageImp.ui, Gui::Dialog::DlgCheckableMessageBoxPrivate.ui, Gui::Dialog::AboutDialog.ui, Gui::Dialog::Transform.ui, Gui::Dialog::DlgPreferencesImp.ui, Gui::Dialog::DocumentRecoveryPrivate.ui, Gui::CheckListDialog.ui, Gui::LocationDialogImp< Ui >.ui, Gui::LocationImpUi< Ui >.ui, and Gui::LocationDialogUiImp.ui.
Referenced by draftguitools.gui_scale.Scale.handle_mouse_click_event().
◆ numericRadius()
def draftguitools.gui_arcs.Arc.numericRadius | ( | self, | |
rad | |||
) |
Validate the entry radius in the user interface. This function is called by the toolbar or taskpanel interface when a valid radius has been entered in the input field.
References draftguitools.gui_arcs.Arc.angle, SoGestureSwipeEvent.angle, DraftGui.DraftToolBar.angle, draftguitools.gui_arcs.Arc.arctrack, draftguitools.gui_arcs.Arc.center, draftguitools.gui_arcs.Arc.closedCircle, draftguitools.gui_arcs.Arc.drawArc(), DraftVecUtils.equals(), draftguitools.gui_arcs.Arc.firstangle, draftguitools.gui_arcs.Arc.linetrack, draftguitools.gui_arcs.Arc.rad, DraftVecUtils.rotate(), DraftVecUtils.scaleTo(), draftguitools.gui_arcs.Arc.step, App::ObjectIdentifier::Component.step, draftguitools.gui_arcs.Arc.tangents, draftguitools.gui_arcs.Arc.tanpoints, test.ui, Gui::Dialog::Clipping::Private.ui, Gui::Dialog::DlgAddProperty.ui, Gui::TaskBoxPosition.ui, Gui::Dialog::DlgProjectInformationImp.ui, Gui::Dialog::DlgGeneralImp.ui, Gui::Dialog::DlgSettings3DViewImp.ui, Gui::ElementColors::Private.ui, Gui::Dialog::TextureMapping.ui, Gui::Dialog::DlgSettingsNavigation.ui, Gui::Dialog::DlgCustomCommandsImp.ui, Gui::Dialog::DlgSettingsEditorImp.ui, Gui::Dialog::DlgDisplayPropertiesImp::Private.ui, Gui::Dialog::DlgParameterFind.ui, Gui::TaskBoxAngle.ui, Gui::Dialog::DlgCustomKeyboardImp.ui, Gui::Dialog::DlgWorkbenchesImp.ui, Gui::TaskView::TaskAppearance.ui, Gui::Dialog::DlgMacroExecuteImp.ui, Gui::Dialog::DlgInputDialogImp.ui, Gui::Dialog::DlgMaterialPropertiesImp.ui, Gui::Dialog::DlgExpressionInput.ui, Gui::Dialog::DlgMacroRecordImp.ui, Gui::Dialog::DlgSettingsColorGradientImp.ui, Gui::Dialog::DemoMode.ui, Gui::DlgObjectSelection.ui, Gui::Dialog::DlgCustomizeSpNavSettings.ui, Gui::Dialog::DlgProjectUtility.ui, Gui::Dialog::DlgInspector.ui, Gui::Dialog::DlgActivateWindowImp.ui, Gui::Dialog::DlgCustomActionsImp.ui, Gui::Dialog::DlgReportViewImp.ui, Gui::Dialog::DlgSettingsMacroImp.ui, Gui::Dialog::DlgSettingsViewColor.ui, Gui::Dialog::Placement.ui, Gui::Dialog::DownloadManager.ui, Gui::Dialog::DlgSettingsUnitsImp.ui, Gui::Dialog::DlgSettingsDocumentImp.ui, Gui::TaskView::TaskSelectLinkProperty.ui, Gui::Dialog::DlgOnlineHelpImp.ui, Gui::Dialog::DlgPropertyLink.ui, Gui::Dialog::DlgRunExternal.ui, Gui::Dialog::DlgUnitsCalculator.ui, Gui::Dialog::IconDialog.ui, Gui::Dialog::DlgParameterImp.ui, draftguitools.gui_base_original.DraftTool.ui, Gui::Dialog::DlgCustomToolbars.ui, Gui::Dialog::DlgSettingsImageImp.ui, Gui::Dialog::DlgCheckableMessageBoxPrivate.ui, Gui::Dialog::AboutDialog.ui, Gui::Dialog::Transform.ui, Gui::Dialog::DlgPreferencesImp.ui, Gui::Dialog::DocumentRecoveryPrivate.ui, Gui::CheckListDialog.ui, Gui::LocationDialogImp< Ui >.ui, Gui::LocationImpUi< Ui >.ui, Gui::LocationDialogUiImp.ui, and draftguitools.gui_arcs.Arc.updateAngle().
◆ updateAngle()
def draftguitools.gui_arcs.Arc.updateAngle | ( | self, | |
angle | |||
) |
Update the angle with the new value.
References draftguitools.gui_arcs.Arc.angle, SoGestureSwipeEvent.angle, DraftGui.DraftToolBar.angle, and draftguitools.gui_arcs.Arc.firstangle.
Referenced by draftguitools.gui_arcs.Arc.numericRadius().
Member Data Documentation
◆ altdown
draftguitools.gui_arcs.Arc.altdown |
Referenced by draftguitools.gui_dimensions.Dimension.action().
◆ angle
draftguitools.gui_arcs.Arc.angle |
Referenced by drafttaskpanels.task_polararray.TaskPanelPolarArray.accept(), PathScripts.PathDressupDogbone.Bone.adaptiveLength(), draftguitools.gui_rotate.Rotate.build_copy_subelements_command(), draftguitools.gui_rotate.Rotate.build_rotate_subelements_command(), PathScripts.PathDressupDogbone.Bone.corner(), drafttaskpanels.task_polararray.TaskPanelPolarArray.create_object(), PathScripts.PathDressupHoldingTags.Tag.createSolidsAt(), PathScripts.PathDressupDogbone.Bone.distance(), draftguitools.gui_arcs.Arc.drawArc(), PathScripts.PathDressupRampEntry.ObjectDressup.execute(), PathScripts.PathDressupRampEntry.ObjectDressup.generateRamps(), draftguitools.gui_rotate.Rotate.numericRadius(), draftguitools.gui_arcs.Arc.numericRadius(), drafttaskpanels.task_polararray.TaskPanelPolarArray.print_messages(), draftguitools.gui_rotate.Rotate.rotate_object(), draftguitools.gui_arcs.Arc.updateAngle(), and drafttaskpanels.task_polararray.TaskPanelPolarArray.validate_input().
◆ arctrack
draftguitools.gui_arcs.Arc.arctrack |
Referenced by draftguitools.gui_dimensions.Dimension.action(), draftguitools.gui_polygons.Polygon.finish(), draftguitools.gui_arcs.Arc.finish(), draftguitools.gui_dimensions.Dimension.finish(), draftguitools.gui_rotate.Rotate.finish(), draftguitools.gui_polygons.Polygon.numericInput(), draftguitools.gui_rotate.Rotate.numericInput(), draftguitools.gui_arcs.Arc.numericInput(), draftguitools.gui_rotate.Rotate.numericRadius(), and draftguitools.gui_arcs.Arc.numericRadius().
◆ call
draftguitools.gui_arcs.Arc.call |
Referenced by drafttaskpanels.task_shapestring.ShapeStringTaskPanel.accept(), draftguitools.gui_selectplane.Draft_SelectPlane.finish(), draftguitools.gui_base_original.DraftTool.finish(), draftguitools.gui_base.GuiCommandBase.finish(), draftguitools.gui_subelements.SubelementHighlight.get_selection(), draftguitools.gui_facebinders.Facebinder.proceed(), draftguitools.gui_downgrade.Downgrade.proceed(), draftguitools.gui_draft2sketch.Draft2Sketch.proceed(), draftguitools.gui_upgrade.Upgrade.proceed(), draftguitools.gui_mirror.Mirror.proceed(), draftguitools.gui_shape2dview.Shape2DView.proceed(), draftguitools.gui_stretch.Stretch.proceed(), draftguitools.gui_join.Join.proceed(), draftguitools.gui_array_simple.Array.proceed(), draftguitools.gui_rotate.Rotate.proceed(), draftguitools.gui_clone.Clone.proceed(), draftguitools.gui_offset.Offset.proceed(), draftguitools.gui_move.Move.proceed(), draftguitools.gui_scale.Scale.proceed(), draftguitools.gui_drawing.Drawing.proceed(), draftguitools.gui_split.Split.proceed(), draftguitools.gui_trimex.Trimex.proceed(), draftguitools.gui_pointarray.PointArray.proceed(), draftguitools.gui_patharray.PathArray.proceed(), drafttaskpanels.task_shapestring.ShapeStringTaskPanel.reject(), and draftguitools.gui_subelements.SubelementHighlight.remove_view_callback().
◆ center
draftguitools.gui_arcs.Arc.center |
Referenced by drafttaskpanels.task_polararray.TaskPanelPolarArray.accept(), drafttaskpanels.task_circulararray.TaskPanelCircularArray.accept(), draftguitools.gui_polygons.Polygon.action(), draftguitools.gui_arcs.Arc.action(), draftguitools.gui_offset.Offset.action(), draftguitools.gui_dimensions.Dimension.action(), draftguitools.gui_scale.Scale.build_copy_subelements_command(), draftguitools.gui_rotate.Rotate.build_copy_subelements_command(), draftguitools.gui_rotate.Rotate.build_rotate_subelements_command(), draftguitools.gui_scale.Scale.build_scale_subelements_command(), drafttaskpanels.task_polararray.TaskPanelPolarArray.create_object(), drafttaskpanels.task_circulararray.TaskPanelCircularArray.create_object(), draftguitools.gui_dimensions.Dimension.createObject(), draftguitools.gui_arcs.Arc.drawArc(), draftguitools.gui_polygons.Polygon.drawPolygon(), PathScripts.PathDressupAxisMap.ObjectDressup.execute(), draftguitools.gui_rotate.Rotate.handle_mouse_move_event(), draftguitools.gui_polygons.Polygon.numericInput(), draftguitools.gui_rotate.Rotate.numericInput(), draftguitools.gui_arcs.Arc.numericInput(), draftguitools.gui_polygons.Polygon.numericRadius(), draftguitools.gui_arcs.Arc.numericRadius(), PathScripts.PathDressupAxisMap.ObjectDressup.onChanged(), drafttaskpanels.task_polararray.TaskPanelPolarArray.print_messages(), drafttaskpanels.task_circulararray.TaskPanelCircularArray.print_messages(), drafttaskpanels.task_polararray.TaskPanelPolarArray.reset_point(), drafttaskpanels.task_circulararray.TaskPanelCircularArray.reset_point(), draftguitools.gui_rotate.Rotate.rotate_object(), draftguitools.gui_scale.Scale.scale_object(), draftguitools.gui_rotate.Rotate.set_center(), and draftguitools.gui_rotate.Rotate.set_rotation_angle().
◆ closedCircle
draftguitools.gui_arcs.Arc.closedCircle |
Referenced by draftguitools.gui_arcs.Arc.drawArc(), and draftguitools.gui_arcs.Arc.numericRadius().
◆ featureName
draftguitools.gui_arcs.Arc.featureName |
◆ firstangle
draftguitools.gui_arcs.Arc.firstangle |
◆ linetrack
draftguitools.gui_arcs.Arc.linetrack |
◆ node
draftguitools.gui_arcs.Arc.node |
Referenced by draftguitools.gui_splines.BSpline.action(), draftguitools.gui_beziers.BezCurve.action(), draftguitools.gui_lines.Line.action(), draftguitools.gui_texts.Text.action(), draftguitools.gui_mirror.Mirror.action(), draftguitools.gui_ellipses.Ellipse.action(), draftguitools.gui_rectangles.Rectangle.action(), draftguitools.gui_labels.Label.action(), draftguitools.gui_beziers.CubicBezCurve.action(), draftguitools.gui_dimensions.Dimension.action(), draftguitools.gui_ellipses.Ellipse.appendPoint(), draftguitools.gui_rectangles.Rectangle.appendPoint(), draftguitools.gui_labels.Label.create(), draftguitools.gui_ellipses.Ellipse.createObject(), draftguitools.gui_rectangles.Rectangle.createObject(), draftguitools.gui_texts.Text.createObject(), draftguitools.gui_dimensions.Dimension.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_splines.BSpline.drawUpdate(), draftguitools.gui_beziers.BezCurve.drawUpdate(), draftguitools.gui_beziers.CubicBezCurve.drawUpdate(), draftguitools.gui_lines.Line.finish(), draftguitools.gui_splines.BSpline.finish(), draftguitools.gui_base_original.DraftTool.finish(), draftguitools.gui_beziers.BezCurve.finish(), draftguitools.gui_beziers.CubicBezCurve.finish(), draftguitools.gui_base_original.DraftTool.getStrings(), draftguitools.gui_move.Move.handle_mouse_move_event(), draftguitools.gui_polygons.Polygon.numericInput(), draftguitools.gui_rotate.Rotate.numericInput(), draftguitools.gui_arcs.Arc.numericInput(), draftguitools.gui_dimensions.Dimension.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.scaleGhost(), draftguitools.gui_dimensions.Dimension.setFromSelection(), draftguitools.gui_edit.Edit.startEditing(), draftguitools.gui_splines.BSpline.undolast(), draftguitools.gui_beziers.BezCurve.undolast(), draftguitools.gui_lines.Line.undolast(), draftguitools.gui_beziers.CubicBezCurve.undolast(), draftguitools.gui_edit.Edit.updateTrackerAndGhost(), and draftguitools.gui_lines.Line.wipe().
◆ point
draftguitools.gui_arcs.Arc.point |
Referenced by draftguitools.gui_split.Split.action(), draftguitools.gui_splines.BSpline.action(), draftguitools.gui_beziers.BezCurve.action(), draftguitools.gui_lines.Line.action(), draftguitools.gui_polygons.Polygon.action(), drafttaskpanels.task_shapestring.ShapeStringTaskPanel.action(), draftguitools.gui_fillets.Fillet.action(), draftguitools.gui_texts.Text.action(), draftguitools.gui_mirror.Mirror.action(), draftguitools.gui_scale.Scale.action(), draftguitools.gui_arcs.Arc.action(), draftguitools.gui_offset.Offset.action(), draftguitools.gui_ellipses.Ellipse.action(), draftguitools.gui_rectangles.Rectangle.action(), draftguitools.gui_shapestrings.ShapeString.action(), draftguitools.gui_labels.Label.action(), draftguitools.gui_beziers.CubicBezCurve.action(), draftguitools.gui_dimensions.Dimension.action(), draftguitools.gui_orthoarray.OrthoArray.click(), draftguitools.gui_points.Point.click(), draftguitools.gui_circulararray.CircularArray.click(), draftguitools.gui_polararray.PolarArray.click(), PathScripts.PathGetPoint.TaskPanel.getPoint(), draftguitools.gui_move.Move.handle_mouse_click_event(), draftguitools.gui_scale.Scale.handle_mouse_click_event(), draftguitools.gui_rotate.Rotate.handle_mouse_click_event(), draftguitools.gui_rotate.Rotate.handle_mouse_move_event(), draftguitools.gui_move.Move.handle_mouse_move_event(), draftguitools.gui_scale.Scale.handle_mouse_move_event(), draftguitools.gui_points.Point.move(), draftguitools.gui_circulararray.CircularArray.move(), draftguitools.gui_polararray.PolarArray.move(), draftguitools.gui_points.Point.numericInput(), draftguitools.gui_dimensions.Dimension.numericInput(), draftguitools.gui_split.Split.proceed(), draftguitools.gui_rotate.Rotate.set_center(), draftguitools.gui_rotate.Rotate.set_rotation_angle(), draftguitools.gui_trimex.Trimex.trimObject(), and PathScripts.PathGetPoint.TaskPanel.updatePoint().
◆ rad
draftguitools.gui_arcs.Arc.rad |
◆ step
draftguitools.gui_arcs.Arc.step |
Referenced by draftguitools.gui_stretch.Stretch.action(), draftguitools.gui_stretch.Stretch.addPoint(), draftguitools.gui_rotate.Rotate.handle_mouse_click_event(), draftguitools.gui_polygons.Polygon.numericInput(), draftguitools.gui_rotate.Rotate.numericInput(), draftguitools.gui_arcs.Arc.numericInput(), draftguitools.gui_rotate.Rotate.numericRadius(), and draftguitools.gui_arcs.Arc.numericRadius().
◆ tangents
draftguitools.gui_arcs.Arc.tangents |
◆ tanpoints
draftguitools.gui_arcs.Arc.tanpoints |
The documentation for this class was generated from the following file:
- src/Mod/Draft/draftguitools/gui_arcs.py