Public Member Functions | |
def | action (self, arg) |
def | Activated (self) |
def | finish (self, closed=False, cont=False) |
def | GetResources (self) |
def | mirror (self, p1, p2, copy=False) |
def | numericInput (self, numx, numy, numz) |
def | proceed (self) |
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 | |
call | |
extendedCopy | |
ghost | |
name | |
node | |
point | |
sel | |
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
Gui Command for the Mirror tool.
Member Function Documentation
◆ action()
def draftguitools.gui_mirror.Mirror.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_base_original.DraftTool.extendedCopy, 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, draftguitools.gui_mirror.Mirror.ghost, draftguitools.gui_labels.Label.ghost, 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, WorkingPlane.plane, 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::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::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.
◆ Activated()
def draftguitools.gui_mirror.Mirror.Activated | ( | self | ) |
Execute when the command is called.
◆ finish()
def draftguitools.gui_mirror.Mirror.finish | ( | self, | |
closed = False , |
|||
cont = False |
|||
) |
Terminate the operation of the tool.
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(), 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(), 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(), draftguitools.gui_mirror.Mirror.ghost, draftguitools.gui_labels.Label.ghost, draftguitools.gui_drawing.Drawing.ghost, draftguitools.gui_edit.Edit.ghost, 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 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_mirror.Mirror.GetResources | ( | self | ) |
Set icon, menu and tooltip.
◆ mirror()
def draftguitools.gui_mirror.Mirror.mirror | ( | self, | |
p1, | |||
p2, | |||
copy = False |
|||
) |
Mirror the real shapes.
References Gui::MacroManager.commit(), draftguitools.gui_base_original.DraftTool.commit(), draftguitools.gui_base.GuiCommandBase.commit(), draftguitools.gui_labels.Label.sel, draftguitools.gui_mirror.Mirror.sel, ArchWindow._CommandWindow.sel, and DraftVecUtils.toString().
◆ numericInput()
def draftguitools.gui_mirror.Mirror.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.
Referenced by draftguitools.gui_scale.Scale.handle_mouse_click_event().
◆ proceed()
def draftguitools.gui_mirror.Mirror.proceed | ( | self | ) |
Proceed with the command if one object was selected.
References draftguitools.gui_array_simple.Array.call, draftguitools.gui_arcs.Arc.call, draftguitools.gui_base_original.DraftTool.call, draftguitools.gui_base.GuiCommandBase.call, 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_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().
Member Data Documentation
◆ call
draftguitools.gui_mirror.Mirror.call |
◆ extendedCopy
draftguitools.gui_mirror.Mirror.extendedCopy |
◆ ghost
draftguitools.gui_mirror.Mirror.ghost |
Referenced by draftguitools.gui_mirror.Mirror.action(), draftguitools.gui_offset.Offset.action(), 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(), and draftguitools.gui_trimex.Trimex.trimObject().
◆ name
draftguitools.gui_mirror.Mirror.name |
Referenced by prototype.Node.addtofreecad(), drafttaskpanels.task_polararray.TaskPanelPolarArray.create_object(), drafttaskpanels.task_orthoarray.TaskPanelOrthoArray.create_object(), drafttaskpanels.task_circulararray.TaskPanelCircularArray.create_object(), gzip_utf8.GzipFile.filename(), ifc4.ifcapproval.hasidentifierorname(), femsolver.elmer.sifio.Section.keys(), automotive_design.si_unit.named_unit_dimensions(), Mod.PartDesign.WizardShaft.SegmentFunction.SegmentFunction.output(), prototype.Node.pprint(), prototype.Node.pprint2(), draftguitools.gui_pointarray.PointArray.proceed(), draftguitools.gui_patharray.PathArray.proceed(), PathScripts.PathSetupSheetGui.OpTaskPanel.propertyGroup(), PathScripts.PathSetupSheetGui.OpTaskPanel.propertyName(), drafttaskpanels.task_orthoarray.TaskPanelOrthoArray.reject(), drafttaskpanels.task_polararray.TaskPanelPolarArray.reject(), drafttaskpanels.task_circulararray.TaskPanelCircularArray.reject(), ifc2x3.ifcexternalreference.wr1(), ifc4.ifcexternalreference.wr1(), ifc2x3.ifcdocumentreference.wr1(), ifc4.ifcdocumentreference.wr1(), and automotive_design.general_property_association.wr2().
◆ node
draftguitools.gui_mirror.Mirror.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().
◆ point
draftguitools.gui_mirror.Mirror.point |
Referenced by drafttaskpanels.task_shapestring.ShapeStringTaskPanel.action(), draftguitools.gui_orthoarray.OrthoArray.click(), draftguitools.gui_polararray.PolarArray.click(), PathScripts.PathGetPoint.TaskPanel.getPoint(), draftguitools.gui_polararray.PolarArray.move(), and PathScripts.PathGetPoint.TaskPanel.updatePoint().
◆ sel
draftguitools.gui_mirror.Mirror.sel |
The documentation for this class was generated from the following file:
- src/Mod/Draft/draftguitools/gui_mirror.py