Public Member Functions | |
def | Activated (self) |
def | addPoint (self, event) |
def | addPointToCurve (self, point, obj, info=None) |
def | addPointToWire (self, obj, newPoint, edgeIndex) |
def | deformat_objects_after_editing (self, objs) |
def | delPoint (self, event) |
def | display_tracker_menu (self, event) |
def | endEditing (self, obj, nodeIndex, v=None) |
def | evaluate_menu_action (self, labelname) |
def | finalizeGhost (self) |
def | finish (self, closed=False) |
def | format_objects_for_editing (self, objs) |
def | get_selected_obj_at_position (self, pos) |
def | getEditNode (self, pos) |
def | getEditNodeIndex (self, point) |
def | getEditPoints (self, obj) |
def | getObjsFromSelection (self) |
def | GetResources (self) |
def | globalize_vector (self, obj, point) |
def | globalize_vectors (self, obj, pointList) |
def | hideTrackers (self, obj=None) |
def | initGhost (self, obj) |
def | keyPressed (self, event_callback) |
def | mouseMoved (self, event_callback) |
def | mousePressed (self, event_callback) |
def | numericInput (self, v, numy=None, numz=None) |
def | proceed (self) |
def | register_editing_callbacks (self) |
def | register_selection_callback (self) |
def | relativize_vector (self, obj, point) |
def | relativize_vectors (self, obj, pointList) |
def | removeTrackers (self, obj=None) |
def | resetTrackers (self, obj) |
def | resetTrackersBezier (self, obj) |
def | searchEditNode (self, picked_point) |
def | sendRay (self, mouse_pos) |
def | setTrackers (self, obj, points=None) |
def | showTrackers (self, obj=None) |
def | startEditing (self, event) |
def | unregister_editing_callbacks (self) |
def | unregister_selection_callback (self) |
def | update (self, obj, nodeIndex, v) |
def | update_object (self, obj, nodeIndex, v) |
def | updateGhost (self, obj, idx, pt) |
def | updateTrackerAndGhost (self, event) |
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 | |
alt_edit_mode | |
edited_objects | |
editing | |
event | |
ghost | |
maxObjects | |
node | |
obj | |
objs_formats | |
overNode | |
pick_radius | |
render_manager | |
running | |
selection_callback | |
supportedCppObjs | |
supportedObjs | |
tracker_menu | |
trackers | |
ui | |
view | |
Public Attributes inherited from draftguitools.gui_base_original.Modifier | |
copymode | |
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
The Draft_Edit FreeCAD command definition. A tool to graphically edit FreeCAD objects. Current implementation use many parts of pivy graphics code by user "looo". The tool collect editpoints from objects and display Trackers on them to allow editing their Shape and their parameters. Callbacks --------- selection_callback registered when tool is launched, identify selected objects. editing_callbacks self._keyPressedCB -> self.keyPressed self._mouseMovedCB -> self._mouseMovedCB if self._mousePressedCB -> self.mousePressed when trackers are displayed for selected objects, these callbacks capture user events and forward them to related functions Task panel (Draft Toolbar) ---------- self.ui = Gui.draftToolBar TODO: since we introduced context menu for interacting with editTrackers, point 2 should become obsolete, because not consistent with multi-object editing. Draft_Edit uses taskpanel in 3 ways: 1 - when waiting for user to select an object calling self.ui.selectUi() 2 - when Trackers are displayed and user must click one, a custom task panel is displayed depending on edited object: self.ui.editUi() -> the default one self.ui.editUi("Wire") -> line and wire editing self.ui.editUi("BezCurve") -> BezCurve editing self.ui.editUi("Circle") -> circle editing self.ui.editUi("Arc") -> arc editing When Draft_Edit evaluate mouse click, depending if some ui button have been pressed (.isChecked()), decide if the action is a startEditing or AddPoint or DelPoint or change BezCurve Continuity, ecc. 3 - when in editing, lineUi support clicking destination point by self.startEditing self.ui.lineUi() self.ui.isRelative.show() Tracker selection ----------------- If the tool recognize mouse click as an attempt to startEditing, using soRayPickAction, it identifies the selected editTracker and start editing it. Here is where "looo" code was very useful. Editing preview --------------- When object editing begins, self.ghost is initiated with the corresponding DraftTracker of the object type. The object Tracker is deleted when user clicks again and endEditing. Context Menu ------------ Activated with Alt+LeftClick or pressing key "e" It's a custom context menu, that depends on clicked tracker or on clicked object. display_tracker_menu populates the menu with custom actions evaluate_menu_action evaluate user chosen action and launch corresponding function. Preferences ----------- maxObjects: Int set by "DraftEditMaxObjects" in user preferences The max number of FreeCAD objects the tool is allowed to edit at the same time. pick_radius: Int set by "DraftEditPickRadius" in user preferences The pick radius during editing operation. Increase if you experience problems in clicking on a editTracker because of screen resolution. Attributes ---------- obj: Edited object I'm planning to discard this attribute. In old implementation every function was supposed to act on self.obj, self.editpoints, self.trackers, self.pl, self.invpl. Due to multiple object editing, i'm planning to keep just self.trackers. Any other object will be identified and processed starting from editTracker information. editing: Int Index of the editTracker that has been clicked by the user. Tracker selection mechanism is based on it. if self.editing is None : the user didn't click any node, and next click will be processed as an attempt to start editing operation if self.editing == o or 1 or 2 or 3 etc : the user is editing corresponding node, so next click will be processed as an attempt to end editing operation trackers: Dictionary {object.Name : [editTrackers]} It records the list of DraftTrackers.editTracker. {object.Name as String : [editTrackers for the object]} Each tracker is created with (position,obj.Name,idx), so it's possible to recall it self.trackers[str(node.objectName.getValue())][ep] overNode: DraftTrackers.editTracker It represent the editTracker under the cursor position. It is used to preview the tracker selection action. ghost: DraftTrackers.* Handles the tracker to preview editing operations. it is initialized when user clicks on a editTracker by self.startEditing() function. alt_edit_mode: Int Allows alternative editing modes for objects. ATM supported for: - arcs: if 0 edit by 3 points, if 1 edit by center, radius, angles supportedObjs: List List of supported Draft Objects. The tool use utils.get_type(obj) to compare object type to the list. supportedCppObjs: List List of supported Part Objects. The tool use utils.get_type(obj) and obj.TypeId to compare object type to the list.
Member Function Documentation
◆ Activated()
def draftguitools.gui_edit.Edit.Activated | ( | self | ) |
Activated is run when user launch Edit command. If something is selected -> call self.proceed() If nothing is selected -> self.register_selection_callback()
References zipios::GZIPOutputStreambuf.finish(), zipios::GZIPOutputStream.finish(), Gui::SoFCDB.finish(), zipios::ZipOutputStreambuf.finish(), Gui::SoFCBackgroundGradient.finish(), Gui::SoFCColorLegend.finish(), Gui::SoFCColorGradient.finish(), zipios::ZipOutputStream.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(), draftguitools.gui_base_original.DraftTool.finish(), Gui::SoFCSelectionColorAction.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, ArchNesting.Nester.running, App::PropertyExpressionEngine.running, draftguitools.gui_edit.Edit.running, Gui::GUISingleApplication::Private.running, and Gui::PythonDebuggerP.running.
◆ addPoint()
def draftguitools.gui_edit.Edit.addPoint | ( | self, | |
event | |||
) |
Add point to obj and reset trackers.
References draftguitools.gui_edit.Edit.addPointToCurve(), draftguitools.gui_edit.Edit.addPointToWire(), draftguitools.gui_edit.Edit.edited_objects, and draftguitools.gui_edit.Edit.resetTrackers().
Referenced by draftguitools.gui_stretch.Stretch.action(), draftguitools.gui_edit.Edit.evaluate_menu_action(), and draftguitools.gui_stretch.Stretch.numericInput().
◆ addPointToCurve()
def draftguitools.gui_edit.Edit.addPointToCurve | ( | self, | |
point, | |||
obj, | |||
info = None |
|||
) |
References draftguitools.gui_edit.Edit.relativize_vector().
Referenced by draftguitools.gui_edit.Edit.addPoint().
◆ addPointToWire()
def draftguitools.gui_edit.Edit.addPointToWire | ( | self, | |
obj, | |||
newPoint, | |||
edgeIndex | |||
) |
References draftguitools.gui_edit.Edit.relativize_vector().
Referenced by draftguitools.gui_edit.Edit.addPoint().
◆ deformat_objects_after_editing()
def draftguitools.gui_edit.Edit.deformat_objects_after_editing | ( | self, | |
objs | |||
) |
Restore objects style during editing mode.
References draftguitools.gui_edit.Edit.objs_formats.
Referenced by draftguitools.gui_edit.Edit.finish().
◆ delPoint()
def draftguitools.gui_edit.Edit.delPoint | ( | self, | |
event | |||
) |
◆ display_tracker_menu()
def draftguitools.gui_edit.Edit.display_tracker_menu | ( | self, | |
event | |||
) |
Referenced by draftguitools.gui_edit.Edit.keyPressed(), and draftguitools.gui_edit.Edit.mousePressed().
◆ endEditing()
def draftguitools.gui_edit.Edit.endEditing | ( | self, | |
obj, | |||
nodeIndex, | |||
v = None |
|||
) |
Terminate editing and start object updating process.
References draftguitools.gui_edit.Edit.alt_edit_mode, draftguitools.gui_edit.Edit.finalizeGhost(), draftguitools.gui_edit.Edit.trackers, 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, Gui::ViewProviderDocumentObjectPy.update(), Gui::ViewProviderDocumentObject.update(), SMESHDS_GroupOnFilter.update(), Gui::DocumentPy.update(), ArchNesting.Nester.update(), AddonManager.CommandAddonManager.update(), ArchPanel.CommandPanel.update(), ArchWindow._CommandWindow.update(), App::LinkBaseExtension.update(), Gui::ViewProvider.update(), ArchWall._CommandWall.update(), Gui::LinkInfo.update(), ArchStructure._CommandStructure.update(), ArchAxis._AxisTaskPanel.update(), ArchRoof._RoofTaskPanel.update(), ArchAxis.AxisSystemTaskPanel.update(), draftguitools.gui_edit.Edit.update(), ArchCommands.SurveyTaskPanel.update(), ArchSectionPlane.SectionPlaneTaskPanel.update(), ArchWindow._ArchWindowTaskPanel.update(), ArchAxis.ArchGridTaskPanel.update(), ArchComponent.ComponentTaskPanel.update(), and DraftGui.FacebinderTaskPanel.update().
Referenced by draftguitools.gui_edit.Edit.mousePressed(), and draftguitools.gui_edit.Edit.numericInput().
◆ evaluate_menu_action()
def draftguitools.gui_edit.Edit.evaluate_menu_action | ( | self, | |
labelname | |||
) |
References Gui::PointMarker.addPoint(), Gui::AlignmentGroup.addPoint(), Base::Builder3D.addPoint(), Base::InventorBuilder.addPoint(), draftguitools.gui_edit.Edit.addPoint(), draftguitools.gui_edit.Edit.alt_edit_mode, draftguitools.gui_edit.Edit.delPoint(), draftguitools.gui_edit.Edit.event, draftguitools.gui_edit.Edit.get_selected_obj_at_position(), draftguitools.gui_edit.Edit.overNode, draftguitools.gui_edit.Edit.resetTrackers(), Gui::ViewProviderDragger.startEditing(), Gui::ViewProviderLink.startEditing(), Gui::ViewProvider.startEditing(), and draftguitools.gui_edit.Edit.startEditing().
◆ finalizeGhost()
def draftguitools.gui_edit.Edit.finalizeGhost | ( | self | ) |
◆ finish()
def draftguitools.gui_edit.Edit.finish | ( | self, | |
closed = False |
|||
) |
Terminate Edit Tool.
Reimplemented from draftguitools.gui_base_original.DraftTool.
References draftguitools.gui_edit.Edit.deformat_objects_after_editing(), draftguitools.gui_edit.Edit.edited_objects, Gui::DAG::RectItem.editing, draftguitools.gui_edit.Edit.editing, Gui::View3DInventorViewer.editing, draftguitools.gui_edit.Edit.finalizeGhost(), Gui::ActiveObjectList::ObjectInfo.obj, ExpressionCompleterModel::Info.obj, draftguitools.gui_base_original.DraftTool.obj, App::Origin::OriginExtension.obj, Base::ObjectStatusLocker< Status, Object >.obj, Info.obj, ArchProfile.ProfileTaskPanel.obj, ArchSchedule.ArchScheduleTaskPanel.obj, ArchMaterial._ArchMaterialTaskPanel.obj, ArchReference.ArchReferenceTaskPanel.obj, ArchAxis._AxisTaskPanel.obj, ArchMaterial._ArchMultiMaterialTaskPanel.obj, ArchRoof._RoofTaskPanel.obj, ArchAxis.AxisSystemTaskPanel.obj, UpdateLabelExpressionVisitor.obj, ArchWindow._ArchWindowTaskPanel.obj, ArchSectionPlane.SectionPlaneTaskPanel.obj, ArchAxis.ArchGridTaskPanel.obj, ArchPanel.SheetTaskPanel.obj, ItemInfo.obj, ItemInfo2.obj, ArchComponent.ComponentTaskPanel.obj, DraftGui.FacebinderTaskPanel.obj, draftguitools.gui_edit.Edit.removeTrackers(), ArchNesting.Nester.running, App::PropertyExpressionEngine.running, draftguitools.gui_edit.Edit.running, Gui::GUISingleApplication::Private.running, Gui::PythonDebuggerP.running, 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::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::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, draftguitools.gui_edit.Edit.unregister_editing_callbacks(), and draftguitools.gui_edit.Edit.unregister_selection_callback().
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().
◆ format_objects_for_editing()
def draftguitools.gui_edit.Edit.format_objects_for_editing | ( | self, | |
objs | |||
) |
Change objects style during editing mode.
References draftguitools.gui_edit.Edit.objs_formats.
Referenced by draftguitools.gui_edit.Edit.proceed().
◆ get_selected_obj_at_position()
def draftguitools.gui_edit.Edit.get_selected_obj_at_position | ( | self, | |
pos | |||
) |
Return object at given position. If object is one of the edited objects (self.edited_objects).
References draftguitools.gui_edit.Edit.edited_objects.
Referenced by draftguitools.gui_edit.Edit.evaluate_menu_action().
◆ getEditNode()
def draftguitools.gui_edit.Edit.getEditNode | ( | self, | |
pos | |||
) |
Get edit node from given screen position.
References draftguitools.gui_edit.Edit.sendRay().
Referenced by draftguitools.gui_edit.Edit.delPoint(), draftguitools.gui_edit.Edit.mouseMoved(), and draftguitools.gui_edit.Edit.startEditing().
◆ getEditNodeIndex()
def draftguitools.gui_edit.Edit.getEditNodeIndex | ( | self, | |
point | |||
) |
Get edit node index from given screen position.
Referenced by draftguitools.gui_edit.Edit.delPoint(), draftguitools.gui_edit.Edit.mouseMoved(), and draftguitools.gui_edit.Edit.startEditing().
◆ getEditPoints()
def draftguitools.gui_edit.Edit.getEditPoints | ( | self, | |
obj | |||
) |
Return a list of App.Vectors according to the given object edit nodes.
References draftguitools.gui_edit.Edit.getEditPoints(), and draftguitools.gui_edit.Edit.globalize_vectors().
Referenced by draftguitools.gui_edit.Edit.getEditPoints(), draftguitools.gui_edit.Edit.proceed(), and draftguitools.gui_edit.Edit.resetTrackers().
◆ getObjsFromSelection()
def draftguitools.gui_edit.Edit.getObjsFromSelection | ( | self | ) |
Evaluate selection and return a valid object to edit. #to be used for app link support for selobj in Gui.Selection.getSelectionEx('', 0): for sub in selobj.SubElementNames: obj = selobj.Object obj_matrix = selobj.Object.getSubObject(sub, retType=4)
References draftguitools.gui_edit.Edit.edited_objects, draftguitools.gui_edit.Edit.maxObjects, draftguitools.gui_edit.Edit.supportedCppObjs, and draftguitools.gui_edit.Edit.supportedObjs.
Referenced by draftguitools.gui_edit.Edit.proceed().
◆ GetResources()
def draftguitools.gui_edit.Edit.GetResources | ( | self | ) |
◆ globalize_vector()
def draftguitools.gui_edit.Edit.globalize_vector | ( | self, | |
obj, | |||
point | |||
) |
Return the given point in the global coordinate system.
Referenced by draftguitools.gui_edit.Edit.globalize_vectors(), and draftguitools.gui_edit.Edit.updateGhost().
◆ globalize_vectors()
def draftguitools.gui_edit.Edit.globalize_vectors | ( | self, | |
obj, | |||
pointList | |||
) |
Return the given point list in the global coordinate system.
References draftguitools.gui_edit.Edit.globalize_vector().
Referenced by draftguitools.gui_edit.Edit.getEditPoints(), and draftguitools.gui_edit.Edit.updateGhost().
◆ hideTrackers()
def draftguitools.gui_edit.Edit.hideTrackers | ( | self, | |
obj = None |
|||
) |
Hide Edit Trackers. Attributes ---------- obj: FreeCAD object Hides trackers only for given object, if obj is None, hides all trackers
References draftguitools.gui_edit.Edit.trackers.
Referenced by draftguitools.gui_edit.Edit.startEditing().
◆ initGhost()
def draftguitools.gui_edit.Edit.initGhost | ( | self, | |
obj | |||
) |
Initialize preview ghost.
Referenced by draftguitools.gui_edit.Edit.startEditing().
◆ keyPressed()
def draftguitools.gui_edit.Edit.keyPressed | ( | self, | |
event_callback | |||
) |
Execute as callback for keyboard event.
References draftguitools.gui_edit.Edit.delPoint(), draftguitools.gui_edit.Edit.display_tracker_menu(), 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(), draftguitools.gui_base_original.DraftTool.finish(), Gui::SoFCSelectionColorAction.finish(), Gui::SoFCSeparator.finish(), Gui::SoFCHighlightColorAction.finish(), draftguitools.gui_base.GuiCommandBase.finish(), Gui::SoFCSelectionRoot.finish(), Gui::SoFCDocumentAction.finish(), Gui::ManualAlignment.finish(), Gui::SoFCDocumentObjectAction.finish(), Gui::SoUpdateVBOAction.finish(), DraftGui.DraftToolBar.finish(), ifc4.ifcworktime.finish, Gui::ActiveObjectList::ObjectInfo.obj, ExpressionCompleterModel::Info.obj, draftguitools.gui_base_original.DraftTool.obj, App::Origin::OriginExtension.obj, Base::ObjectStatusLocker< Status, Object >.obj, Info.obj, ArchProfile.ProfileTaskPanel.obj, ArchSchedule.ArchScheduleTaskPanel.obj, ArchMaterial._ArchMaterialTaskPanel.obj, ArchReference.ArchReferenceTaskPanel.obj, ArchAxis._AxisTaskPanel.obj, ArchMaterial._ArchMultiMaterialTaskPanel.obj, ArchRoof._RoofTaskPanel.obj, ArchAxis.AxisSystemTaskPanel.obj, UpdateLabelExpressionVisitor.obj, ArchWindow._ArchWindowTaskPanel.obj, ArchSectionPlane.SectionPlaneTaskPanel.obj, ArchAxis.ArchGridTaskPanel.obj, ArchPanel.SheetTaskPanel.obj, ItemInfo.obj, ItemInfo2.obj, ArchComponent.ComponentTaskPanel.obj, and DraftGui.FacebinderTaskPanel.obj.
◆ mouseMoved()
def draftguitools.gui_edit.Edit.mouseMoved | ( | self, | |
event_callback | |||
) |
Execute as callback for mouse movement. Update tracker position and update preview ghost.
References Gui::DAG::RectItem.editing, draftguitools.gui_edit.Edit.editing, Gui::View3DInventorViewer.editing, draftguitools.gui_edit.Edit.getEditNode(), draftguitools.gui_edit.Edit.getEditNodeIndex(), draftguitools.gui_edit.Edit.overNode, draftguitools.gui_edit.Edit.trackers, and draftguitools.gui_edit.Edit.updateTrackerAndGhost().
◆ mousePressed()
def draftguitools.gui_edit.Edit.mousePressed | ( | self, | |
event_callback | |||
) |
mouse button event handler, calls: startEditing, endEditing, addPoint, delPoint
References draftguitools.gui_edit.Edit.display_tracker_menu(), Gui::DAG::RectItem.editing, draftguitools.gui_edit.Edit.editing, Gui::View3DInventorViewer.editing, draftguitools.gui_edit.Edit.endEditing(), Gui::ActiveObjectList::ObjectInfo.obj, ExpressionCompleterModel::Info.obj, draftguitools.gui_base_original.DraftTool.obj, App::Origin::OriginExtension.obj, Base::ObjectStatusLocker< Status, Object >.obj, Info.obj, ArchProfile.ProfileTaskPanel.obj, ArchSchedule.ArchScheduleTaskPanel.obj, ArchMaterial._ArchMaterialTaskPanel.obj, ArchReference.ArchReferenceTaskPanel.obj, ArchAxis._AxisTaskPanel.obj, ArchMaterial._ArchMultiMaterialTaskPanel.obj, ArchRoof._RoofTaskPanel.obj, ArchAxis.AxisSystemTaskPanel.obj, UpdateLabelExpressionVisitor.obj, ArchWindow._ArchWindowTaskPanel.obj, ArchSectionPlane.SectionPlaneTaskPanel.obj, ArchAxis.ArchGridTaskPanel.obj, ArchPanel.SheetTaskPanel.obj, ItemInfo.obj, ItemInfo2.obj, ArchComponent.ComponentTaskPanel.obj, DraftGui.FacebinderTaskPanel.obj, Gui::ViewProviderDragger.startEditing(), Gui::ViewProviderLink.startEditing(), Gui::ViewProvider.startEditing(), and draftguitools.gui_edit.Edit.startEditing().
◆ numericInput()
def draftguitools.gui_edit.Edit.numericInput | ( | self, | |
v, | |||
numy = None , |
|||
numz = None |
|||
) |
Execute callback by the toolbar to activate the update function. This function gets called by the toolbar or by the mouse click and activate the update function.
References Gui::DAG::RectItem.editing, draftguitools.gui_edit.Edit.editing, Gui::View3DInventorViewer.editing, draftguitools.gui_edit.Edit.endEditing(), Gui::ActiveObjectList::ObjectInfo.obj, ExpressionCompleterModel::Info.obj, draftguitools.gui_base_original.DraftTool.obj, App::Origin::OriginExtension.obj, Base::ObjectStatusLocker< Status, Object >.obj, Info.obj, ArchProfile.ProfileTaskPanel.obj, ArchSchedule.ArchScheduleTaskPanel.obj, ArchMaterial._ArchMaterialTaskPanel.obj, ArchReference.ArchReferenceTaskPanel.obj, ArchAxis._AxisTaskPanel.obj, ArchMaterial._ArchMultiMaterialTaskPanel.obj, ArchRoof._RoofTaskPanel.obj, ArchAxis.AxisSystemTaskPanel.obj, UpdateLabelExpressionVisitor.obj, ArchWindow._ArchWindowTaskPanel.obj, ArchSectionPlane.SectionPlaneTaskPanel.obj, ArchAxis.ArchGridTaskPanel.obj, ArchPanel.SheetTaskPanel.obj, ItemInfo.obj, ItemInfo2.obj, ArchComponent.ComponentTaskPanel.obj, and DraftGui.FacebinderTaskPanel.obj.
Referenced by draftguitools.gui_scale.Scale.handle_mouse_click_event().
◆ proceed()
def draftguitools.gui_edit.Edit.proceed | ( | self | ) |
this method set the editTrackers
References draftguitools.gui_edit.Edit.edited_objects, 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(), draftguitools.gui_base_original.DraftTool.finish(), Gui::SoFCSelectionColorAction.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, draftguitools.gui_edit.Edit.format_objects_for_editing(), draftguitools.gui_edit.Edit.getEditPoints(), draftguitools.gui_edit.Edit.getObjsFromSelection(), draftguitools.gui_edit.Edit.register_editing_callbacks(), draftguitools.gui_edit.Edit.setTrackers(), 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::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, Gui::LocationDialogUiImp.ui, and draftguitools.gui_edit.Edit.unregister_selection_callback().
Referenced by draftguitools.gui_split.Split.action(), draftguitools.gui_rotate.Rotate.get_object_selection(), draftguitools.gui_move.Move.get_object_selection(), draftguitools.gui_scale.Scale.get_object_selection(), and draftguitools.gui_subelements.SubelementHighlight.get_selection().
◆ register_editing_callbacks()
def draftguitools.gui_edit.Edit.register_editing_callbacks | ( | self | ) |
register editing callbacks (former action function)
Referenced by draftguitools.gui_edit.Edit.proceed().
◆ register_selection_callback()
def draftguitools.gui_edit.Edit.register_selection_callback | ( | self | ) |
Register callback for selection when command is launched.
References draftguitools.gui_edit.Edit.selection_callback, draftguitools.gui_edit.Edit.unregister_selection_callback(), 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.
◆ relativize_vector()
def draftguitools.gui_edit.Edit.relativize_vector | ( | self, | |
obj, | |||
point | |||
) |
Return the given point in the given object coordinate system.
Referenced by draftguitools.gui_edit.Edit.addPointToCurve(), draftguitools.gui_edit.Edit.addPointToWire(), draftguitools.gui_edit.Edit.relativize_vectors(), draftguitools.gui_edit.Edit.update(), and draftguitools.gui_edit.Edit.updateGhost().
◆ relativize_vectors()
def draftguitools.gui_edit.Edit.relativize_vectors | ( | self, | |
obj, | |||
pointList | |||
) |
Return the given point list in the given object coordinate system.
References draftguitools.gui_edit.Edit.relativize_vector().
◆ removeTrackers()
def draftguitools.gui_edit.Edit.removeTrackers | ( | self, | |
obj = None |
|||
) |
Remove Edit Trackers.
References draftguitools.gui_edit.Edit.trackers.
Referenced by draftguitools.gui_edit.Edit.finish(), draftguitools.gui_edit.Edit.resetTrackers(), and draftguitools.gui_edit.Edit.setTrackers().
◆ resetTrackers()
def draftguitools.gui_edit.Edit.resetTrackers | ( | self, | |
obj | |||
) |
Reset Edit Trackers and set them again.
References draftguitools.gui_edit.Edit.getEditPoints(), draftguitools.gui_edit.Edit.removeTrackers(), and draftguitools.gui_edit.Edit.setTrackers().
Referenced by draftguitools.gui_edit.Edit.addPoint(), draftguitools.gui_edit.Edit.delPoint(), draftguitools.gui_edit.Edit.evaluate_menu_action(), and draftguitools.gui_edit.Edit.update().
◆ resetTrackersBezier()
def draftguitools.gui_edit.Edit.resetTrackersBezier | ( | self, | |
obj | |||
) |
References draftguitools.gui_edit.Edit.trackers.
Referenced by draftguitools.gui_edit.Edit.setTrackers().
◆ searchEditNode()
def draftguitools.gui_edit.Edit.searchEditNode | ( | self, | |
picked_point | |||
) |
Search edit node inside picked point list and return node number.
Referenced by draftguitools.gui_edit.Edit.sendRay().
◆ sendRay()
def draftguitools.gui_edit.Edit.sendRay | ( | self, | |
mouse_pos | |||
) |
Send a ray through the scene and return the nearest entity.
References draftguitools.gui_edit.Edit.pick_radius, draftguitools.gui_edit.Edit.render_manager, and draftguitools.gui_edit.Edit.searchEditNode().
Referenced by draftguitools.gui_edit.Edit.getEditNode().
◆ setTrackers()
def draftguitools.gui_edit.Edit.setTrackers | ( | self, | |
obj, | |||
points = None |
|||
) |
Set Edit Trackers for editpoints collected from self.obj.
References zipios::GZIPOutputStreambuf.finish(), zipios::GZIPOutputStream.finish(), Gui::SoFCDB.finish(), Gui::SoFCBackgroundGradient.finish(), zipios::ZipOutputStreambuf.finish(), Gui::SoFCColorLegend.finish(), Gui::SoFCColorGradient.finish(), zipios::ZipOutputStream.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(), draftguitools.gui_base_original.DraftTool.finish(), Gui::SoFCSelectionColorAction.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, draftguitools.gui_edit.Edit.removeTrackers(), draftguitools.gui_edit.Edit.resetTrackersBezier(), and draftguitools.gui_edit.Edit.trackers.
Referenced by draftguitools.gui_edit.Edit.proceed(), draftguitools.gui_edit.Edit.resetTrackers(), draftguitools.gui_snapper.Snapper.setGrid(), and draftguitools.gui_snapper.Snapper.show().
◆ showTrackers()
def draftguitools.gui_edit.Edit.showTrackers | ( | self, | |
obj = None |
|||
) |
Show Edit Trackers. Attributes ---------- obj: FreeCAD object Shows trackers only for given object, if obj is None, shows all trackers
References draftguitools.gui_edit.Edit.trackers.
◆ startEditing()
def draftguitools.gui_edit.Edit.startEditing | ( | self, | |
event | |||
) |
Start editing selected EditNode.
References Gui::DAG::RectItem.editing, draftguitools.gui_edit.Edit.editing, Gui::View3DInventorViewer.editing, draftguitools.gui_edit.Edit.finalizeGhost(), draftguitools.gui_edit.Edit.getEditNode(), draftguitools.gui_edit.Edit.getEditNodeIndex(), draftguitools.gui_drawing.Drawing.ghost, draftguitools.gui_edit.Edit.ghost, draftguitools.gui_edit.Edit.hideTrackers(), draftguitools.gui_edit.Edit.initGhost(), Gui::Dialog::Clipping::Private.node, draftguitools.gui_base_original.DraftTool.node, Gui::AxisOrigin.node, uvPtStruct.node, StdMeshers_Quadrangle_2D::ForcedPoint.node, draftguitools.gui_arcs.Arc.node, Gui::ActiveObjectList::ObjectInfo.obj, ExpressionCompleterModel::Info.obj, draftguitools.gui_base_original.DraftTool.obj, App::Origin::OriginExtension.obj, Base::ObjectStatusLocker< Status, Object >.obj, Info.obj, ArchProfile.ProfileTaskPanel.obj, ArchSchedule.ArchScheduleTaskPanel.obj, ArchMaterial._ArchMaterialTaskPanel.obj, ArchReference.ArchReferenceTaskPanel.obj, ArchAxis._AxisTaskPanel.obj, ArchMaterial._ArchMultiMaterialTaskPanel.obj, ArchRoof._RoofTaskPanel.obj, ArchAxis.AxisSystemTaskPanel.obj, UpdateLabelExpressionVisitor.obj, ArchWindow._ArchWindowTaskPanel.obj, ArchSectionPlane.SectionPlaneTaskPanel.obj, ArchAxis.ArchGridTaskPanel.obj, ArchPanel.SheetTaskPanel.obj, ItemInfo.obj, ItemInfo2.obj, ArchComponent.ComponentTaskPanel.obj, DraftGui.FacebinderTaskPanel.obj, draftguitools.gui_edit.Edit.trackers, 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, 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_edit.Edit.evaluate_menu_action(), and draftguitools.gui_edit.Edit.mousePressed().
◆ unregister_editing_callbacks()
def draftguitools.gui_edit.Edit.unregister_editing_callbacks | ( | self | ) |
remove callbacks used during editing if they exist
References draftguitools.gui_edit.Edit._keyPressedCB, draftguitools.gui_edit.Edit._mouseMovedCB, and draftguitools.gui_edit.Edit._mousePressedCB.
Referenced by draftguitools.gui_edit.Edit.finish().
◆ unregister_selection_callback()
def draftguitools.gui_edit.Edit.unregister_selection_callback | ( | self | ) |
remove selection callback if it exists
References draftguitools.gui_edit.Edit.selection_callback, 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_edit.Edit.finish(), draftguitools.gui_edit.Edit.proceed(), and draftguitools.gui_edit.Edit.register_selection_callback().
◆ update()
def draftguitools.gui_edit.Edit.update | ( | self, | |
obj, | |||
nodeIndex, | |||
v | |||
) |
Apply the App.Vector to the modified point and update obj.
References draftguitools.gui_edit.Edit.relativize_vector(), draftguitools.gui_edit.Edit.resetTrackers(), and draftguitools.gui_edit.Edit.update_object().
Referenced by femtaskpanels.task_result_mechanical._TaskPanel.calculate(), Spreadsheet_legacy.SpreadsheetView.changeCell(), draftguitools.gui_edit.Edit.endEditing(), draftguitools.gui_trackers.boxTracker.height(), ArchAxis.CommandArchGrid.IsActive(), draftguitools.gui_trackers.rectangleTracker.p3(), Plot.Plot.plot(), Spreadsheet_legacy.SpreadsheetView.recompute(), draftguitools.gui_trackers.gridTracker.reset(), draftguitools.gui_edit.Edit.update_object(), and draftguitools.gui_edit.Edit.updateGhost().
◆ update_object()
def draftguitools.gui_edit.Edit.update_object | ( | self, | |
obj, | |||
nodeIndex, | |||
v | |||
) |
References draftguitools.gui_edit.Edit.alt_edit_mode, Gui::ViewProviderDocumentObjectPy.update(), Gui::ViewProviderDocumentObject.update(), SMESHDS_GroupOnFilter.update(), Gui::DocumentPy.update(), ArchNesting.Nester.update(), AddonManager.CommandAddonManager.update(), ArchPanel.CommandPanel.update(), ArchWindow._CommandWindow.update(), App::LinkBaseExtension.update(), Gui::ViewProvider.update(), ArchWall._CommandWall.update(), Gui::LinkInfo.update(), ArchStructure._CommandStructure.update(), ArchAxis._AxisTaskPanel.update(), ArchRoof._RoofTaskPanel.update(), ArchAxis.AxisSystemTaskPanel.update(), draftguitools.gui_edit.Edit.update(), ArchCommands.SurveyTaskPanel.update(), ArchSectionPlane.SectionPlaneTaskPanel.update(), ArchWindow._ArchWindowTaskPanel.update(), ArchAxis.ArchGridTaskPanel.update(), ArchComponent.ComponentTaskPanel.update(), and DraftGui.FacebinderTaskPanel.update().
Referenced by draftguitools.gui_edit.Edit.update().
◆ updateGhost()
def draftguitools.gui_edit.Edit.updateGhost | ( | self, | |
obj, | |||
idx, | |||
pt | |||
) |
References draftguitools.gui_edit.Edit.alt_edit_mode, Gui::DAG::RectItem.editing, draftguitools.gui_edit.Edit.editing, Gui::View3DInventorViewer.editing, draftguitools.gui_drawing.Drawing.ghost, draftguitools.gui_edit.Edit.ghost, draftguitools.gui_edit.Edit.globalize_vector(), draftguitools.gui_edit.Edit.globalize_vectors(), DraftVecUtils.project(), draftguitools.gui_edit.Edit.relativize_vector(), and draftguitools.gui_edit.Edit.update().
Referenced by draftguitools.gui_edit.Edit.updateTrackerAndGhost().
◆ updateTrackerAndGhost()
def draftguitools.gui_edit.Edit.updateTrackerAndGhost | ( | self, | |
event | |||
) |
Update tracker position when editing and update ghost.
References Gui::DAG::RectItem.editing, draftguitools.gui_edit.Edit.editing, Gui::View3DInventorViewer.editing, draftguitools.gui_drawing.Drawing.ghost, draftguitools.gui_edit.Edit.ghost, Gui::Dialog::Clipping::Private.node, draftguitools.gui_base_original.DraftTool.node, Gui::AxisOrigin.node, uvPtStruct.node, StdMeshers_Quadrangle_2D::ForcedPoint.node, draftguitools.gui_arcs.Arc.node, Gui::ActiveObjectList::ObjectInfo.obj, ExpressionCompleterModel::Info.obj, draftguitools.gui_base_original.DraftTool.obj, App::Origin::OriginExtension.obj, Base::ObjectStatusLocker< Status, Object >.obj, Info.obj, ArchProfile.ProfileTaskPanel.obj, ArchSchedule.ArchScheduleTaskPanel.obj, ArchMaterial._ArchMaterialTaskPanel.obj, ArchReference.ArchReferenceTaskPanel.obj, ArchAxis._AxisTaskPanel.obj, ArchMaterial._ArchMultiMaterialTaskPanel.obj, ArchRoof._RoofTaskPanel.obj, ArchAxis.AxisSystemTaskPanel.obj, UpdateLabelExpressionVisitor.obj, ArchWindow._ArchWindowTaskPanel.obj, ArchSectionPlane.SectionPlaneTaskPanel.obj, ArchAxis.ArchGridTaskPanel.obj, ArchPanel.SheetTaskPanel.obj, ItemInfo.obj, ItemInfo2.obj, ArchComponent.ComponentTaskPanel.obj, DraftGui.FacebinderTaskPanel.obj, draftguitools.gui_edit.Edit.trackers, 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::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::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, 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, Gui::LocationDialogUiImp.ui, and draftguitools.gui_edit.Edit.updateGhost().
Referenced by draftguitools.gui_edit.Edit.mouseMoved().
Member Data Documentation
◆ alt_edit_mode
draftguitools.gui_edit.Edit.alt_edit_mode |
◆ edited_objects
draftguitools.gui_edit.Edit.edited_objects |
◆ editing
draftguitools.gui_edit.Edit.editing |
Referenced by draftguitools.gui_edit.Edit.finish(), draftguitools.gui_edit.Edit.mouseMoved(), draftguitools.gui_edit.Edit.mousePressed(), draftguitools.gui_edit.Edit.numericInput(), draftguitools.gui_edit.Edit.startEditing(), draftguitools.gui_edit.Edit.updateGhost(), and draftguitools.gui_edit.Edit.updateTrackerAndGhost().
◆ event
draftguitools.gui_edit.Edit.event |
Referenced by draftguitools.gui_edit.Edit.evaluate_menu_action().
◆ ghost
draftguitools.gui_edit.Edit.ghost |
Referenced by draftguitools.gui_mirror.Mirror.action(), draftguitools.gui_offset.Offset.action(), draftguitools.gui_labels.Label.action(), draftguitools.gui_edit.Edit.finalizeGhost(), draftguitools.gui_labels.Label.finish(), draftguitools.gui_mirror.Mirror.finish(), draftguitools.gui_offset.Offset.finish(), draftguitools.gui_trimex.Trimex.finish(), draftguitools.gui_offset.Offset.numericRadius(), draftguitools.gui_trimex.Trimex.redraw(), draftguitools.gui_edit.Edit.startEditing(), draftguitools.gui_trimex.Trimex.trimObject(), draftguitools.gui_edit.Edit.updateGhost(), and draftguitools.gui_edit.Edit.updateTrackerAndGhost().
◆ maxObjects
draftguitools.gui_edit.Edit.maxObjects |
Referenced by draftguitools.gui_edit.Edit.getObjsFromSelection().
◆ node
draftguitools.gui_edit.Edit.node |
Referenced by 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(), draftviewproviders.view_dimension.ViewProviderLinearDimension.remove_dim_arrows(), draftviewproviders.view_dimension.ViewProviderAngularDimension.remove_dim_arrows(), draftviewproviders.view_dimension.ViewProviderLinearDimension.remove_dim_overshoot(), and draftviewproviders.view_dimension.ViewProviderLinearDimension.remove_ext_overshoot().
◆ obj
draftguitools.gui_edit.Edit.obj |
Referenced by shipOutlineDraw.TaskPanel.TaskPanel.accept(), femtaskpanels.task_element_geometry2D._TaskPanel.accept(), femtaskpanels.task_constraint_tie._TaskPanel.accept(), femtaskpanels.task_element_rotation1D._TaskPanel.accept(), femtaskpanels.task_mesh_region._TaskPanel.accept(), femtaskpanels.task_mesh_group._TaskPanel.accept(), femtaskpanels.task_mesh_boundarylayer._TaskPanel.accept(), femtaskpanels.task_element_geometry1D._TaskPanel.accept(), femtaskpanels.task_material_reinforced._TaskPanel.accept(), femtaskpanels.task_material_common._TaskPanel.accept(), PathScripts.PathSetupSheetGui.OpTaskPanel.accept(), femtaskpanels.task_element_fluid1D._TaskPanel.accept(), AttachmentEditor.TaskAttachmentEditor.AttachmentEditorTaskPanel.accept(), PathScripts.PathOpGui.TaskPanelBaseGeometryPage.addBase(), PathScripts.PathEngraveGui.TaskPanelBaseGeometryPage.addBaseGeometry(), PathScripts.PathOpGui.TaskPanelBaseGeometryPage.addBaseGeometry(), PathScripts.PathOpGui.TaskPanelBaseLocationPage.addLocationAt(), PathScripts.PathDressupTagGui.PathDressupTagTaskPanel.addNewTagAt(), PathScripts.PathJob.ObjectJob.addOperation(), AttachmentEditor.TaskAttachmentEditor.AttachmentEditorTaskPanel.addSelection(), PathScripts.PathJob.ObjectJob.addToolController(), PathScripts.PathJobGui.TaskPanel.alignCenterInStock(), PathScripts.PathJobGui.TaskPanel.alignCenterInStockXY(), PathScripts.PathJobGui.TaskPanel.alignSetOrigin(), PathScripts.PathJob.ObjectJob.allOperations(), PathScripts.PathDressupTagGui.PathDressupTagViewProvider.allow(), PathScripts.PathDressupDogbone.Bone.angle(), Mod.PartDesign.SprocketFeature.SprocketTaskPanel.ANSISizeChanged(), PathScripts.PathDressupTag.ObjectDressup.assignDefaultValues(), PathScripts.PathToolBitGui.ViewProvider.attach(), PathScripts.PathSetupSheetGui.ViewProvider.attach(), PathScripts.PathJobGui.ViewProvider.attach(), PathScripts.PathDressupAxisMap.ViewProviderDressup.attach(), PathScripts.PathDressupTagGui.PathDressupTagViewProvider.attach(), PathScripts.PathDressupLeadInOut.ViewProviderDressup.attach(), PathScripts.PathDressupRampEntry.ViewProviderDressup.attach(), PathScripts.PathDressupDogbone.ViewProviderDressup.attach(), femtaskpanels.task_material_common._TaskPanel.check_material_keys(), PathScripts.PathCircularHoleBaseGui.TaskPanelHoleGeometryPage.checkedChanged(), PathScripts.PathJobGui.StockFromBaseBoundBoxEdit.checkXpos(), PathScripts.PathJobGui.StockFromBaseBoundBoxEdit.checkYpos(), PathScripts.PathJobGui.StockFromBaseBoundBoxEdit.checkZpos(), Texture.ViewProviderTexture.claimChildren(), PathScripts.PathToolBitGui.ViewProvider.claimChildren(), PathScripts.PathDressupAxisMap.ViewProviderDressup.claimChildren(), PathScripts.PathDressupPathBoundaryGui.DressupPathBoundaryViewProvider.claimChildren(), PathScripts.PathJobGui.ViewProvider.claimChildren(), PathScripts.PathDressupZCorrect.ViewProviderDressup.claimChildren(), PathScripts.PathDressupTagGui.PathDressupTagViewProvider.claimChildren(), PathScripts.PathDressupLeadInOut.ViewProviderDressup.claimChildren(), PathScripts.PathDressupRampEntry.ViewProviderDressup.claimChildren(), PathScripts.PathDressupDogbone.ViewProviderDressup.claimChildren(), shipAreasCurve.Preview.Preview.clean(), shipOutlineDraw.Preview.Preview.clean(), PathScripts.PathDressupPathBoundaryGui.TaskPanel.cleanup(), PathScripts.PathPocketShapeGui.TaskPanelExtensionPage.cleanupPage(), PathScripts.PathOpGui.TaskPanelBaseGeometryPage.clearBase(), PathScripts.PathDressupTagGui.PathDressupTagTaskPanel.clicked(), Mod.PartDesign.SprocketFeature.SprocketTaskPanel.clicked(), AttachmentEditor.TaskAttachmentEditor.AttachmentEditorTaskPanel.clicked(), PathScripts.PathDressupTagGui.PathDressupTagTaskPanel.copyNewTags(), PathScripts.PathPocketShapeGui.TaskPanelExtensionPage.createItemForBaseModel(), shipOutlineDraw.TaskPanel.TaskPanel.createPreview(), PathScripts.PathDressupHoldingTags.PathData.defaultTagHeight(), PathScripts.PathCircularHoleBaseGui.TaskPanelHoleGeometryPage.deleteBase(), PathScripts.PathOpGui.TaskPanelBaseGeometryPage.deleteBase(), PathScripts.PathDressupHoldingTags.ObjectTagDressup.doExecute(), PathScripts.PathJobGui.ViewProvider.editObject(), PathScripts.PathDressupTagGui.PathDressupTagTaskPanel.editTagAt(), PathScripts.PathToolControllerGui.DlgToolControllerEdit.exec_(), PathScripts.PathDressupTag.ObjectDressup.execute(), PathScripts.PathSetupSheet.SetupSheet.expressionReference(), PathScripts.PathDressupTagGui.PathDressupTagTaskPanel.generateNewTags(), PathScripts.PathSurfaceSupport.PathGeometryGenerator.generatePathGeometry(), PathScripts.PathJob.ObjectJob.getCycleTime(), PathScripts.PathDressupTagGui.PathDressupTagTaskPanel.getFields(), PathScripts.PathDressupZCorrect.TaskPanel.getFields(), PathScripts.PathToolControllerGui.TaskPanel.getFields(), PathScripts.PathSetupSheetGui.GlobalEditor.getFields(), PathScripts.PathJobGui.TaskPanel.getFields(), PathScripts.PathDressupDogbone.TaskPanel.getFields(), PathScripts.PathToolBitGui.ViewProvider.getIcon(), PathScripts.PathGetPoint.TaskPanel.getPoint(), PathScripts.PathPocketShape.Extension.getSubLink(), PathScripts.PathPocketShape.Extension.getWire(), PathScripts.PathSetupSheet.SetupSheet.hasDefaultOperationDepths(), PathScripts.PathSetupSheet.SetupSheet.hasDefaultOperationHeights(), PathScripts.PathSetupSheet.SetupSheet.hasDefaultToolRapids(), ArchAxis.CommandArchGrid.IsActive(), PathScripts.PathJobGui.TaskPanel.jobModelEdit(), PathScripts.PathJobGui.TaskPanel.modelSet0(), Mod.PartDesign.SprocketFeature.SprocketTaskPanel.numTeethChanged(), PathScripts.PathDressupPathBoundary.DressupPathBoundary.onDcoumentRestored(), PathScripts.PathJobGui.ViewProvider.onDelete(), PathScripts.PathDressupTagGui.PathDressupTagViewProvider.onDelete(), PathScripts.PathDressupLeadInOut.ViewProviderDressup.onDelete(), PathScripts.PathDressupRampEntry.ViewProviderDressup.onDelete(), PathScripts.PathDressupHoldingTags.ObjectTagDressup.onDocumentRestored(), PathScripts.PathIconViewProvider.ViewProvider.onEdit(), shipOutlineDraw.TaskPanel.TaskPanel.onTableItem(), PathScripts.PathSetupSheet.SetupSheet.operationsWithSettings(), femtaskpanels.task_material_reinforced._TaskPanel.output_obj_mat_param(), PathScripts.PathOpGui.TaskPanelPage.pageCleanup(), PathScripts.PathOpGui.TaskPanelPage.pageGetFields(), PathScripts.PathOpGui.TaskPanelPage.pageRegisterSignalHandlers(), PathScripts.PathOpGui.TaskPanelPage.pageSetFields(), AttachmentEditor.TaskAttachmentEditor.AttachmentEditorTaskPanel.parseAllRefLines(), PathScripts.PathSurfaceSupport.ProcessSelectedFaces.PathSurface(), PathScripts.PathSurfaceSupport.ProcessSelectedFaces.PathWaterline(), Mod.PartDesign.SprocketFeature.SprocketTaskPanel.pitchChanged(), PathScripts.PathGetPoint.TaskPanel.pointFinish(), PathScripts.PathJobGui.TaskPanel.preCleanup(), PathScripts.PathOpGui.TaskPanel.preCleanup(), PathScripts.PathSurfaceSupport.ProcessSelectedFaces.preProcessModel(), AttachmentEditor.TaskAttachmentEditor.AttachmentEditorTaskPanel.readParameters(), femtaskpanels.task_element_geometry2D._TaskPanel.recompute_and_set_back_all(), femtaskpanels.task_element_rotation1D._TaskPanel.recompute_and_set_back_all(), femtaskpanels.task_mesh_region._TaskPanel.recompute_and_set_back_all(), femtaskpanels.task_mesh_group._TaskPanel.recompute_and_set_back_all(), femtaskpanels.task_mesh_boundarylayer._TaskPanel.recompute_and_set_back_all(), femtaskpanels.task_constraint_tie._TaskPanel.recompute_and_set_back_all(), femtaskpanels.task_element_geometry1D._TaskPanel.recompute_and_set_back_all(), femtaskpanels.task_material_reinforced._TaskPanel.recompute_and_set_back_all(), femtaskpanels.task_material_common._TaskPanel.recompute_and_set_back_all(), femtaskpanels.task_element_fluid1D._TaskPanel.recompute_and_set_back_all(), PathScripts.PathToolBitGui.TaskPanel.reject(), AttachmentEditor.TaskAttachmentEditor.AttachmentEditorTaskPanel.reject(), PathScripts.PathJobGui.TaskPanel.reject(), PathScripts.PathOpGui.TaskPanel.reject(), PathScripts.PathCircularHoleBaseGui.TaskPanelHoleGeometryPage.resetBase(), Mod.PartDesign.SprocketFeature.SprocketTaskPanel.rollerDiameterChanged(), femtaskpanels.task_element_geometry1D._TaskPanel.set_beamsection_props(), femtaskpanels.task_element_fluid1D._TaskPanel.set_fluidsection_props(), femtaskpanels.task_mesh_boundarylayer._TaskPanel.set_mesh_boundarylayer_props(), PathScripts.PathJob.ObjectJob.setCenterOfRotation(), PathScripts.PathPocketShapeGui.TaskPanelExtensionPage.setExtensions(), PathScripts.PathEngraveGui.TaskPanelBaseGeometryPage.setFields(), PathScripts.PathDressupZCorrect.TaskPanel.setFields(), PathScripts.PathDressupTagGui.PathDressupTagTaskPanel.setFields(), PathScripts.PathToolControllerGui.TaskPanel.setFields(), PathScripts.PathJobGui.TaskPanel.setFields(), PathScripts.PathDressupDogbone.TaskPanel.setFields(), PathScripts.PathSetupSheet.SetupSheet.setFromTemplate(), ArchMaterial.MultiMaterialDelegate.setModelData(), PathScripts.PathSetupSheet.SetupSheet.setOperationProperties(), PathScripts.PathProbeGui.TaskPanelOpPage.SetOutputFileName(), PathScripts.PathJobGui.TaskPanel.setPostProcessorOutputFile(), PathScripts.PathDressupZCorrect.TaskPanel.SetProbePointFileName(), shipOutlineDraw.TaskPanel.TaskPanel.setSectionType(), PathScripts.PathDressupHoldingTags.ObjectTagDressup.setup(), PathScripts.PathJobGui.ViewProvider.setupEditVisibility(), PathScripts.PathOpGui.TaskPanelPage.setupToolController(), PathScripts.PathSetupSheetGui.OpTaskPanel.setupUi(), PathScripts.PathDressupPathBoundaryGui.TaskPanel.setupUi(), PathScripts.PathDressupTagGui.PathDressupTagTaskPanel.setupUi(), PathScripts.PathSetupSheetGui.GlobalEditor.setupUi(), PathScripts.PathOpGui.TaskPanel.setupUi(), PathScripts.PathDressupHoldingTags.ObjectTagDressup.setXyEnabled(), PathScripts.PathJobGui.TaskPanel.tabPageChanged(), PathScripts.PathSetupSheet.SetupSheet.templateAttributes(), PathScripts.PathJob.ObjectJob.templateAttrs(), PathScripts.PathJobGui.TaskPanel.templateExport(), PathScripts.PathPocketShapeGui.TaskPanelExtensionPage.toggleExtensionCorners(), PathScripts.PathJobGui.TaskPanel.toolControllerAdd(), PathScripts.PathJobGui.TaskPanel.toolControllerSelect(), PathScripts.PathDressupTag.ObjectDressup.toolRadius(), Mod.PartDesign.SprocketFeature.SprocketTaskPanel.transferFrom(), Mod.PartDesign.SprocketFeature.SprocketTaskPanel.transferTo(), shipAreasCurve.Preview.Preview.update(), shipOutlineDraw.Preview.Preview.update(), PathScripts.PathEngraveGui.TaskPanelBaseGeometryPage.updateBase(), PathScripts.PathCircularHoleBaseGui.TaskPanelHoleGeometryPage.updateBase(), PathScripts.PathOpGui.TaskPanelBaseGeometryPage.updateBase(), PathScripts.PathDressupDogbone.TaskPanel.updateBoneList(), PathScripts.PathJobGui.ViewProvider.updateData(), PathScripts.PathDressupPathBoundaryGui.TaskPanel.updateDressup(), PathScripts.PathDeburrGui.TaskPanelOpPage.updateExtraDepth(), PathScripts.PathPocketShapeGui.TaskPanelExtensionPage.updateItemEnabled(), PathScripts.PathOpGui.TaskPanelBaseLocationPage.updateLocations(), PathScripts.PathDressupTagGui.PathDressupTagViewProvider.updatePositions(), AttachmentEditor.TaskAttachmentEditor.AttachmentEditorTaskPanel.updatePreview(), PathScripts.PathGui.QuantitySpinBox.updateProperty(), PathScripts.PathOpGui.TaskPanel.updateSelection(), PathScripts.PathJobGui.TaskPanel.updateSelection(), PathScripts.PathGui.QuantitySpinBox.updateSpinBox(), PathScripts.PathDressupPathBoundaryGui.TaskPanel.updateStockEditor(), PathScripts.PathJobGui.TaskPanel.updateStockEditor(), PathScripts.PathToolControllerGui.ToolControllerEditor.updateToolController(), PathScripts.PathJobGui.TaskPanel.updateToolController(), PathScripts.PathJobGui.TaskPanel.updateTooltips(), PathScripts.PathToolControllerGui.ToolControllerEditor.updateUi(), PathScripts.PathDressupZCorrect.TaskPanel.updateUI(), PathScripts.PathSetupSheetGui.GlobalEditor.updateUI(), PathScripts.PathDressupDogbone.TaskPanel.updateUI(), PathScripts.PathProfileGui.TaskPanelOpPage.updateVisibility(), PathScripts.PathDeburrGui.TaskPanelOpPage.updateWidth(), PathScripts.PathJobGui.StockFromBaseBoundBoxEdit.updateXpos(), PathScripts.PathJobGui.StockFromBaseBoundBoxEdit.updateYpos(), PathScripts.PathJobGui.StockFromBaseBoundBoxEdit.updateZpos(), and AttachmentEditor.TaskAttachmentEditor.AttachmentEditorTaskPanel.writeParameters().
◆ objs_formats
draftguitools.gui_edit.Edit.objs_formats |
◆ overNode
draftguitools.gui_edit.Edit.overNode |
◆ pick_radius
draftguitools.gui_edit.Edit.pick_radius |
Referenced by draftguitools.gui_edit.Edit.sendRay().
◆ render_manager
draftguitools.gui_edit.Edit.render_manager |
Referenced by draftguitools.gui_edit.Edit.sendRay().
◆ running
draftguitools.gui_edit.Edit.running |
Referenced by shipHydrostatics.TaskPanel.TaskPanel.accept(), draftguitools.gui_wire2spline.WireToBSpline.Activated(), draftguitools.gui_edit.Edit.Activated(), shipHydrostatics.TaskPanel.TaskPanel.externalFaces(), draftguitools.gui_offset.Offset.finish(), draftguitools.gui_edit.Edit.finish(), draftguitools.gui_snapper.Snapper.off(), shipHydrostatics.TaskPanel.TaskPanel.reject(), draftguitools.gui_snapper.Snapper.snap(), draftguitools.gui_snapper.Snapper.snapToObject(), and femsolver.task.Task.start().
◆ selection_callback
draftguitools.gui_edit.Edit.selection_callback |
◆ supportedCppObjs
draftguitools.gui_edit.Edit.supportedCppObjs |
Referenced by draftguitools.gui_edit.Edit.getObjsFromSelection().
◆ supportedObjs
draftguitools.gui_edit.Edit.supportedObjs |
Referenced by draftguitools.gui_edit.Edit.getObjsFromSelection().
◆ tracker_menu
draftguitools.gui_edit.Edit.tracker_menu |
◆ trackers
draftguitools.gui_edit.Edit.trackers |
Referenced by draftguitools.gui_edit.Edit.endEditing(), draftguitools.gui_edit.Edit.hideTrackers(), draftguitools.gui_edit.Edit.mouseMoved(), draftguitools.gui_edit.Edit.removeTrackers(), draftguitools.gui_edit.Edit.resetTrackersBezier(), draftguitools.gui_edit.Edit.setTrackers(), draftguitools.gui_snapper.Snapper.setTrackers(), draftguitools.gui_edit.Edit.showTrackers(), draftguitools.gui_edit.Edit.startEditing(), and draftguitools.gui_edit.Edit.updateTrackerAndGhost().
◆ ui
draftguitools.gui_edit.Edit.ui |
Referenced by draftguitools.gui_polararray.PolarArray.Activated(), draftguitools.gui_orthoarray.OrthoArray.Activated(), DraftGui.DraftToolBar.changeEvent(), draftguitools.gui_orthoarray.OrthoArray.click(), draftguitools.gui_polararray.PolarArray.click(), draftguitools.gui_polararray.PolarArray.move(), draftguitools.gui_groups.AddToGroup.proceed(), and draftguitools.gui_groups.SetAutoGroup.proceed().
◆ view
draftguitools.gui_edit.Edit.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_edit.py