Public Member Functions | |
def | Activated (self) |
def | click (self, event_cb=None) |
def | finish (self, cont=False) |
def | GetResources (self) |
def | move (self, event_cb) |
def | numericInput (self, numx, numy, numz) |
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 | getStrings (self, addrot=None) |
def | IsActive (self) |
Public Attributes | |
callbackClick | |
callbackMove | |
point | |
stack | |
view | |
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 Point tool.
Member Function Documentation
◆ Activated()
def draftguitools.gui_points.Point.Activated | ( | self | ) |
Execute when the command is called.
◆ click()
def draftguitools.gui_points.Point.click | ( | self, | |
event_cb = None |
|||
) |
Execute as a callback when the pointer clicks on the 3D view. It should act as if the Enter key was pressed, or the OK button was pressed in the task panel.
References draftguitools.gui_points.Point.callbackClick, draftguitools.gui_points.Point.callbackMove, 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(), draftguitools.gui_base_original.DraftTool.finish(), Gui::SoFCSeparator.finish(), draftguitools.gui_base.GuiCommandBase.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, Gui::PickedPoint.point, FaceQuadStruct::Side::Contact.point, Gui::DAG::VertexProperty.point, draftguitools.gui_base_original.DraftTool.point, draftguitools.gui_arcs.Arc.point, draftguitools.gui_points.Point.stack, Gui::View3DInventor.stack, Gui::Dialog::Clipping::Private.view, Gui::PointMarker.view, Gui::GraphvizView.view, draftguitools.gui_base_original.DraftTool.view, Gui::ItemViewSelection.view, and draftguitools.gui_base.GuiCommandBase.view.
Referenced by draftguitools.gui_polararray.PolarArray.Activated(), and draftguitools.gui_points.Point.numericInput().
◆ finish()
def draftguitools.gui_points.Point.finish | ( | self, | |
cont = False |
|||
) |
Terminate the operation and restart if needed.
Reimplemented from draftguitools.gui_base_original.DraftTool.
References ArchSchedule.CommandArchSchedule.Activated(), AddonManager.CommandAddonManager.Activated(), draftguitools.gui_arcs.Arc.Activated(), draftguitools.gui_array_simple.Array.Activated(), draftguitools.gui_base_original.DraftTool.Activated(), ArchCutPlane._CommandCutLine.Activated(), ArchFrame._CommandFrame.Activated(), ArchTruss.CommandArchTruss.Activated(), draftguitools.gui_annotationstyleeditor.AnnotationStyleEditor.Activated(), draftguitools.gui_base.GuiCommandSimplest.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(), draftguitools.gui_array_simple.LinkArray.Activated(), ArchRoof._CommandRoof.Activated(), ArchAxis._CommandAxisSystem.Activated(), ArchMaterial._CommandArchMultiMaterial.Activated(), InitGui.ArchWorkbench.Activated(), ArchPipe._CommandPipeConnector.Activated(), ArchPanel.CommandPanel.Activated(), ArchWindow._CommandWindow.Activated(), ArchEquipment._CommandEquipment.Activated(), ArchAxis.CommandArchGrid.Activated(), ArchStructure._CommandStructure.Activated(), ArchStairs._CommandStairs.Activated(), ArchBuilding._CommandBuilding.Activated(), ArchEquipment._Command3Views.Activated(), ArchSpace._CommandSpace.Activated(), ArchWall._CommandWall.Activated(), ArchBuildingPart.CommandBuildingPart.Activated(), ArchPanel.CommandPanelCut.Activated(), ArchFence._CommandFence.Activated(), ArchPanel.CommandPanelSheet.Activated(), draftguitools.gui_arcs.Arc_3Points.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(), 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::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_selectplane.Draft_SelectPlane.action(), draftguitools.gui_selectplane.Draft_SelectPlane.checkSelection(), 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_selectplane.Draft_SelectPlane.reject(), drafttaskpanels.task_orthoarray.TaskPanelOrthoArray.reject(), drafttaskpanels.task_polararray.TaskPanelPolarArray.reject(), and drafttaskpanels.task_circulararray.TaskPanelCircularArray.reject().
◆ GetResources()
def draftguitools.gui_points.Point.GetResources | ( | self | ) |
Set icon, menu and tooltip.
◆ move()
def draftguitools.gui_points.Point.move | ( | self, | |
event_cb | |||
) |
Execute as a callback when the pointer moves in the 3D view. It should automatically update the coordinates in the widgets of the task panel.
References Gui::PickedPoint.point, FaceQuadStruct::Side::Contact.point, Gui::DAG::VertexProperty.point, draftguitools.gui_base_original.DraftTool.point, draftguitools.gui_arcs.Arc.point, 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::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, and Gui::LocationDialogUiImp.ui.
Referenced by draftguitools.gui_polararray.PolarArray.Activated().
◆ numericInput()
def draftguitools.gui_points.Point.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_orthoarray.OrthoArray.click(), draftguitools.gui_points.Point.click(), draftguitools.gui_circulararray.CircularArray.click(), Gui::PickedPoint.point, FaceQuadStruct::Side::Contact.point, Gui::DAG::VertexProperty.point, draftguitools.gui_base_original.DraftTool.point, and draftguitools.gui_arcs.Arc.point.
Referenced by draftguitools.gui_scale.Scale.handle_mouse_click_event().
Member Data Documentation
◆ callbackClick
draftguitools.gui_points.Point.callbackClick |
Referenced by draftguitools.gui_points.Point.click().
◆ callbackMove
draftguitools.gui_points.Point.callbackMove |
Referenced by draftguitools.gui_points.Point.click().
◆ point
draftguitools.gui_points.Point.point |
◆ stack
draftguitools.gui_points.Point.stack |
Referenced by Mod.Show.mTempoVis.TempoVis.activateWorkbench(), Mod.Show.TVStack.TVStack.byTag(), draftguitools.gui_points.Point.click(), Mod.Show.TVStack.TVStack.dissolve(), Mod.Show.mTempoVis.TempoVis.forget(), Mod.Show.TVStack.TVStack.getSplitSequence(), Mod.Show.TVStack.TVStack.insert(), Mod.Show.mTempoVis.TempoVis.is_in_stack(), Mod.Show.TVStack.TVStack.purge_dead(), Mod.Show.TVStack.TVStack.rebuild_index(), Mod.Show.mTempoVis.TempoVis.restore(), Mod.Show.TVStack.TVStack.restoreAll(), Mod.Show.TVStack.TVStack.unwindForSaving(), Mod.Show.TVStack.TVStack.value_after(), and Mod.Show.TVStack.TVStack.withdraw().
◆ view
draftguitools.gui_points.Point.view |
Referenced by drafttaskpanels.task_shapestring.ShapeStringTaskPanel.accept(), draftguitools.gui_selectplane.Draft_SelectPlane.finish(), PathScripts.PathGetPoint.TaskPanel.getPoint(), draftguitools.gui_selectplane.Draft_SelectPlane.onClickAlign(), drafttaskpanels.task_shapestring.ShapeStringTaskPanel.reject(), and PathScripts.PathGetPoint.TaskPanel.removeGlobalCallbacks().
The documentation for this class was generated from the following file:
- src/Mod/Draft/draftguitools/gui_points.py