draftguitools.gui_array_simple.Array Class Reference

Public Member Functions

def Activated (self, name=translate("draft","Array"))
 
def GetResources (self)
 
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
 
 use_link
 
- 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 original simple Array tool.

Parameters
----------
use_link: bool, optional
    It defaults to `False`. If it is `True`, the created object
    will be a `Link array`.

Member Function Documentation

◆ Activated()

def draftguitools.gui_array_simple.Array.Activated (   self,
  name = translate("draft","Array") 
)
Execute when the command is called.

References Gui::Dialog::Clipping::Private.ui, Gui::Dialog::DemoMode.ui, Gui::Dialog::DlgCustomActionsImp.ui, Gui::Dialog::IconDialog.ui, Gui::Dialog::DlgActivateWindowImp.ui, Gui::Dialog::DlgAddProperty.ui, Gui::Dialog::DlgCheckableMessageBoxPrivate.ui, Gui::Dialog::DlgCustomCommandsImp.ui, Gui::Dialog::DlgCustomizeSpNavSettings.ui, Gui::Dialog::DlgDisplayPropertiesImp::Private.ui, Gui::Dialog::DlgSettingsEditorImp.ui, Gui::Dialog::DlgExpressionInput.ui, Gui::Dialog::DlgGeneralImp.ui, Gui::Dialog::DlgInputDialogImp.ui, Gui::Dialog::DlgCustomKeyboardImp.ui, Gui::Dialog::DlgMacroExecuteImp.ui, Gui::Dialog::DlgMacroRecordImp.ui, Gui::Dialog::DlgMaterialPropertiesImp.ui, Gui::DlgObjectSelection.ui, Gui::Dialog::DlgOnlineHelpImp.ui, Gui::Dialog::DlgParameterFind.ui, Gui::Dialog::DlgParameterImp.ui, Gui::Dialog::DlgPreferencesImp.ui, Gui::Dialog::DlgProjectInformationImp.ui, Gui::Dialog::DlgProjectUtility.ui, Gui::Dialog::DlgPropertyLink.ui, Gui::Dialog::DlgReportViewImp.ui, Gui::Dialog::DlgRunExternal.ui, Gui::Dialog::DlgSettings3DViewImp.ui, Gui::Dialog::DlgSettingsColorGradientImp.ui, Gui::Dialog::DlgSettingsDocumentImp.ui, Gui::Dialog::DlgSettingsImageImp.ui, Gui::Dialog::DlgSettingsLazyLoadedImp.ui, Gui::Dialog::DlgSettingsMacroImp.ui, Gui::Dialog::DlgSettingsNavigation.ui, Gui::Dialog::DlgSettingsSelection.ui, Gui::Dialog::DlgSettingsUnitsImp.ui, Gui::Dialog::DlgSettingsViewColor.ui, Gui::Dialog::DlgCustomToolbars.ui, Gui::Dialog::DlgUnitsCalculator.ui, Gui::Dialog::DlgWorkbenchesImp.ui, Gui::Dialog::DocumentRecoveryPrivate.ui, Gui::Dialog::DownloadManager.ui, test.ui, Gui::LocationDialogImp< Ui >.ui, Gui::LocationImpUi< Ui >.ui, Gui::LocationDialogUiImp.ui, Gui::Dialog::Placement.ui, Gui::Dialog::DlgInspector.ui, Gui::Dialog::AboutDialog.ui, Gui::TaskBoxPosition.ui, Gui::TaskBoxAngle.ui, Gui::ElementColors::Private.ui, Gui::TaskView::TaskAppearance.ui, Gui::TaskView::TaskSelectLinkProperty.ui, Gui::Dialog::TextureMapping.ui, Gui::Dialog::Transform.ui, Gui::VectorListEditor.ui, Gui::CheckListDialog.ui, draftguitools.gui_base_original.DraftTool.ui, draftguitools.gui_circulararray.CircularArray.ui, draftguitools.gui_edit.Edit.ui, draftguitools.gui_groups.AddToGroup.ui, draftguitools.gui_groups.SetAutoGroup.ui, draftguitools.gui_orthoarray.OrthoArray.ui, draftguitools.gui_polararray.PolarArray.ui, draftguitools.gui_snapper.Snapper.ui, DrawingGui::TaskOrthoViews.ui, FemGui::DlgSettingsFemCcxImp.ui, FemGui::DlgSettingsFemElmerImp.ui, FemGui::DlgSettingsFemExportAbaqusImp.ui, FemGui::DlgSettingsFemGeneralImp.ui, FemGui::DlgSettingsFemGmshImp.ui, FemGui::DlgSettingsFemInOutVtkImp.ui, FemGui::DlgSettingsFemMaterialImp.ui, FemGui::DlgSettingsFemZ88Imp.ui, FemGui::TaskAnalysisInfo.ui, FemGui::TaskCreateNodeSet.ui, FemGui::TaskDriver.ui, FemGui::TaskFemConstraintBearing.ui, FemGui::TaskFemConstraintContact.ui, FemGui::TaskFemConstraintDisplacement.ui, FemGui::TaskFemConstraintFixed.ui, FemGui::TaskFemConstraintFluidBoundary.ui, FemGui::TaskFemConstraintForce.ui, FemGui::TaskFemConstraintHeatflux.ui, FemGui::TaskFemConstraintInitialTemperature.ui, FemGui::TaskFemConstraintPlaneRotation.ui, FemGui::TaskFemConstraintPressure.ui, FemGui::TaskFemConstraintTemperature.ui, FemGui::TaskFemConstraintTransform.ui, FemGui::TaskObjectName.ui, FemGui::TaskPostDisplay.ui, FemGui::TaskPostClip.ui, FemGui::TaskPostDataAlongLine.ui, FemGui::TaskPostDataAtPoint.ui, FemGui::TaskPostScalarClip.ui, FemGui::TaskPostWarpVector.ui, FemGui::TaskPostCut.ui, FemGui::TaskTetParameter.ui, FemGui::PlaneWidget.ui, FemGui::SphereWidget.ui, ImageGui::ImageOrientationDialog.ui, InspectionGui::VisualInspection.ui, MeshGui::DlgDecimating.ui, MeshGui::DlgEvaluateMeshImp::Private.ui, MeshGui::DlgEvaluateSettings.ui, MeshGui::DlgRegularSolidImp.ui, MeshGui::DlgSettingsImportExport.ui, MeshGui::DlgSettingsMeshView.ui, MeshGui::DlgSmoothing.ui, MeshGui::GmshWidget::Private.ui, MeshGui::RemoveComponents.ui, MeshGui::Segmentation.ui, MeshGui::SegmentationBestFit.ui, MeshGui::Selection.ui, MeshPartGui::CrossSections.ui, MeshPartGui::CurveOnMeshWidget.ui, MeshPartGui::Tessellation.ui, PartGui::CrossSections.ui, PartGui::DlgBooleanOperation.ui, PartGui::DlgExtrusion.ui, PartGui::DlgFilletEdges.ui, PartGui::DlgPartImportIgesImp.ui, PartGui::DlgPartImportStepImp.ui, PartGui::DlgPrimitives.ui, PartGui::Location.ui, PartGui::DlgProjectionOnSurface.ui, PartGui::DlgRevolution.ui, PartGui::DlgSettings3DViewPart.ui, PartGui::DlgSettingsGeneral.ui, PartGui::DlgImportExportIges.ui, PartGui::DlgImportExportStep.ui, PartGui::DlgSettingsObjectColor.ui, PartGui::Mirroring.ui, PartGui::TaskAttacher.ui, PartGui::FaceColors::Private.ui, PartGui::LoftWidget::Private.ui, PartGui::OffsetWidget::Private.ui, PartGui::ShapeBuilderWidget::Private.ui, PartGui::SweepWidget::Private.ui, PartGui::ThicknessWidget::Private.ui, Mod.PartDesign.FeatureHole.TaskHole.TaskHole.ui, PartDesignGui::TaskBooleanParameters.ui, PartDesignGui::TaskChamferParameters.ui, PartDesignGui::TaskDraftParameters.ui, PartDesignGui::TaskFeaturePick.ui, PartDesignGui::TaskFilletParameters.ui, PartDesignGui::TaskHelixParameters.ui, PartDesignGui::TaskHoleParameters.ui, PartDesignGui::TaskLinearPatternParameters.ui, PartDesignGui::TaskLoftParameters.ui, PartDesignGui::TaskMirroredParameters.ui, PartDesignGui::TaskMultiTransformParameters.ui, PartDesignGui::TaskPadParameters.ui, PartDesignGui::TaskPipeParameters.ui, PartDesignGui::TaskPipeOrientation.ui, PartDesignGui::TaskPipeScaling.ui, PartDesignGui::TaskPocketParameters.ui, PartDesignGui::TaskPolarPatternParameters.ui, PartDesignGui::TaskBoxPrimitives.ui, PartDesignGui::TaskRevolutionParameters.ui, PartDesignGui::TaskScaledParameters.ui, PartDesignGui::TaskShapeBinder.ui, PartDesignGui::TaskThicknessParameters.ui, PartDesignGui::TaskTransformedMessages.ui, PathGui::DlgProcessorChooser.ui, PathGui::DlgSettingsPathColor.ui, PathGui::TaskWidgetPathCompound.ui, plotAxes.TaskPanel.TaskPanel.ui, plotLabels.TaskPanel.TaskPanel.ui, plotPositions.TaskPanel.TaskPanel.ui, plotSave.TaskPanel.TaskPanel.ui, plotSeries.TaskPanel.TaskPanel.ui, PointsGui::DlgPointsReadImp.ui, RaytracingGui::DlgSettingsRayImp.ui, ReenGui::FitBSplineSurfaceWidget::Private.ui, ReenGui::PoissonWidget::Private.ui, ReverseEngineeringGui::Segmentation.ui, ReverseEngineeringGui::SegmentationManual.ui, RobotGui::TaskEdge2TracParameter.ui, RobotGui::TaskRobot6Axis.ui, RobotGui::TaskRobotControl.ui, RobotGui::TaskRobotMessages.ui, RobotGui::TaskTrajectory.ui, RobotGui::TaskTrajectoryDressUpParameter.ui, RobotGui::TrajectorySimulate.ui, shipAreasCurve.TaskPanel.TaskPanel.ui, shipCapacityCurve.TaskPanel.TaskPanel.ui, shipCreateShip.TaskPanel.TaskPanel.ui, shipCreateTank.TaskPanel.TaskPanel.ui, shipCreateWeight.TaskPanel.TaskPanel.ui, shipGZ.TaskPanel.TaskPanel.ui, shipHydrostatics.TaskPanel.TaskPanel.ui, shipLoadExample.TaskPanel.TaskPanel.ui, shipOutlineDraw.TaskPanel.TaskPanel.ui, SketcherGui::SketcherRegularPolygonDialog.ui, SketcherGui::SketcherSettings.ui, SketcherGui::SketcherSettingsDisplay.ui, SketcherGui::SketcherSettingsColors.ui, SketcherGui::SketchMirrorDialog.ui, SketcherGui::SketchOrientationDialog.ui, SketcherGui::SketchRectangularArrayDialog.ui, SketcherGui::TaskSketcherConstrains.ui, SketcherGui::TaskSketcherElements.ui, SketcherGui::SketcherGeneralWidget.ui, SketcherGui::TaskSketcherMessages.ui, SketcherGui::TaskSketcherSolverAdvanced.ui, SketcherGui::SketcherValidation.ui, SpreadsheetGui::PropertiesDialog.ui, SpreadsheetGui::SheetView.ui, StartGui::DlgStartPreferencesImp.ui, SurfaceGui::FillingPanel.ui, SurfaceGui::FillingEdgePanel.ui, SurfaceGui::FillingVertexPanel.ui, SurfaceGui::GeomFillSurface.ui, SurfaceGui::SectionsPanel.ui, TechDrawGui::DlgPrefsTechDrawAdvancedImp.ui, TechDrawGui::DlgPrefsTechDrawAnnotationImp.ui, TechDrawGui::DlgPrefsTechDrawColorsImp.ui, TechDrawGui::DlgPrefsTechDrawDimensionsImp.ui, TechDrawGui::DlgPrefsTechDrawGeneralImp.ui, TechDrawGui::DlgPrefsTechDrawHLRImp.ui, TechDrawGui::DlgPrefsTechDrawScaleImp.ui, TechDrawGui::SymbolChooser.ui, TechDrawGui::TaskActiveView.ui, TechDrawGui::TaskBalloon.ui, TechDrawGui::TaskCenterLine.ui, TechDrawGui::TaskCosmeticLine.ui, TechDrawGui::TaskCosVertex.ui, TechDrawGui::TaskDetail.ui, TechDrawGui::TaskDimension.ui, TechDrawGui::TaskGeomHatch.ui, TechDrawGui::TaskHatch.ui, TechDrawGui::TaskLeaderLine.ui, TechDrawGui::TaskLineDecor.ui, TechDrawGui::TaskRestoreLines.ui, TechDrawGui::TaskLinkDim.ui, TechDrawGui::TaskProjGroup.ui, TechDrawGui::TaskRichAnno.ui, TechDrawGui::TaskSectionView.ui, TechDrawGui::TaskWeldingSymbol.ui, TaskPanel.TaskPanel.ui, and TestGui::UnitTestDialog.ui.

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

◆ GetResources()

def draftguitools.gui_array_simple.Array.GetResources (   self)
Set icon, menu and tooltip.

Reimplemented in draftguitools.gui_array_simple.LinkArray.

References draftutils.translate.QT_TRANSLATE_NOOP.

◆ proceed()

def draftguitools.gui_array_simple.Array.proceed (   self)
Proceed with the command if one object was selected.

References draftguitools.gui_base.GuiCommandBase.commit(), draftguitools.gui_base_original.DraftTool.commit(), Gui::MacroManager.commit(), Gui::ManualAlignment.finish(), Gui::SoFCBoundingBox.finish(), Gui::SoFCDB.finish(), zipios::GZIPOutputStream.finish(), zipios::GZIPOutputStreambuf.finish(), zipios::ZipOutputStream.finish(), zipios::ZipOutputStreambuf.finish(), DraftGui.DraftToolBar.finish(), draftguitools.gui_base.GuiCommandBase.finish(), draftguitools.gui_subelements.SubelementHighlight.finish(), drafttaskpanels.task_circulararray.TaskPanelCircularArray.finish(), drafttaskpanels.task_orthoarray.TaskPanelOrthoArray.finish(), drafttaskpanels.task_polararray.TaskPanelPolarArray.finish(), draftguitools.gui_base_original.DraftTool.finish(), draftguitools.gui_clone.Clone.finish(), draftguitools.gui_fillets.Fillet.finish(), draftguitools.gui_selectplane.Draft_SelectPlane.finish(), draftguitools.gui_dimensions.Dimension.finish(), draftguitools.gui_edit.Edit.finish(), draftguitools.gui_offset.Offset.finish(), draftguitools.gui_stretch.Stretch.finish(), draftguitools.gui_trimex.Trimex.finish(), draftguitools.gui_arcs.Arc.finish(), draftguitools.gui_beziers.BezCurve.finish(), draftguitools.gui_beziers.CubicBezCurve.finish(), draftguitools.gui_ellipses.Ellipse.finish(), draftguitools.gui_labels.Label.finish(), draftguitools.gui_lines.Line.finish(), draftguitools.gui_mirror.Mirror.finish(), draftguitools.gui_move.Move.finish(), draftguitools.gui_polygons.Polygon.finish(), draftguitools.gui_rectangles.Rectangle.finish(), draftguitools.gui_rotate.Rotate.finish(), draftguitools.gui_scale.Scale.finish(), draftguitools.gui_splines.BSpline.finish(), draftguitools.gui_texts.Text.finish(), draftguitools.gui_points.Point.finish(), draftguitools.gui_shapestrings.ShapeString.finish(), Gui::SoFCBackgroundGradient.finish(), Gui::SoSkipBoundingGroup.finish(), Gui::SoFCColorBarBase.finish(), Gui::SoFCColorBar.finish(), Gui::SoFCColorGradient.finish(), Gui::SoFCColorLegend.finish(), Gui::SoFCSelection.finish(), Gui::SoFCHighlightAction.finish(), Gui::SoFCSelectionAction.finish(), Gui::SoFCEnableSelectionAction.finish(), Gui::SoFCEnableHighlightAction.finish(), Gui::SoFCSelectionColorAction.finish(), Gui::SoFCHighlightColorAction.finish(), Gui::SoFCDocumentAction.finish(), Gui::SoFCDocumentObjectAction.finish(), Gui::SoUpdateVBOAction.finish(), Gui::SoFCUnifiedSelection.finish(), Gui::SoFCPathAnnotation.finish(), Gui::SoFCSeparator.finish(), Gui::SoFCSelectionRoot.finish(), ifc4.ifcworktime.finish, draftguitools.gui_array_simple.Array.use_link, draftguitools.gui_patharray.PathArray.use_link, draftguitools.gui_pathtwistedarray.PathTwistedArray.use_link, draftguitools.gui_pointarray.PointArray.use_link, draftobjects.draftlink.DraftLink.use_link, drafttaskpanels.task_circulararray.TaskPanelCircularArray.use_link, drafttaskpanels.task_orthoarray.TaskPanelOrthoArray.use_link, and drafttaskpanels.task_polararray.TaskPanelPolarArray.use_link.

Referenced by draftguitools.gui_split.Split.action(), draftguitools.gui_move.Move.get_object_selection(), draftguitools.gui_rotate.Rotate.get_object_selection(), draftguitools.gui_scale.Scale.get_object_selection(), and draftguitools.gui_subelements.SubelementHighlight.get_selection().

Member Data Documentation

◆ call

◆ use_link

draftguitools.gui_array_simple.Array.use_link

Referenced by draftobjects.draftlink.DraftLink.attach(), draftobjects.draftlink.DraftLink.buildShape(), drafttaskpanels.task_circulararray.TaskPanelCircularArray.create_object(), drafttaskpanels.task_orthoarray.TaskPanelOrthoArray.create_object(), drafttaskpanels.task_polararray.TaskPanelPolarArray.create_object(), draftobjects.draftlink.DraftLink.getViewProviderName(), draftobjects.draftlink.DraftLink.migrate_attributes(), draftobjects.draftlink.DraftLink.onDocumentRestored(), draftobjects.patharray.PathArray.onDocumentRestored(), draftobjects.pathtwistedarray.PathTwistedArray.onDocumentRestored(), drafttaskpanels.task_circulararray.TaskPanelCircularArray.print_messages(), drafttaskpanels.task_orthoarray.TaskPanelOrthoArray.print_messages(), drafttaskpanels.task_polararray.TaskPanelPolarArray.print_messages(), draftguitools.gui_array_simple.Array.proceed(), draftguitools.gui_patharray.PathArray.proceed(), draftguitools.gui_pathtwistedarray.PathTwistedArray.proceed(), draftguitools.gui_pointarray.PointArray.proceed(), draftobjects.patharray.PathArray.set_general_properties(), drafttaskpanels.task_circulararray.TaskPanelCircularArray.set_link(), drafttaskpanels.task_orthoarray.TaskPanelOrthoArray.set_link(), drafttaskpanels.task_polararray.TaskPanelPolarArray.set_link(), draftobjects.array.Array.set_link_properties(), draftobjects.pathtwistedarray.PathTwistedArray.set_properties(), draftobjects.pointarray.PointArray.set_properties(), drafttaskpanels.task_polararray.TaskPanelPolarArray.validate_input(), drafttaskpanels.task_circulararray.TaskPanelCircularArray.validate_input(), and drafttaskpanels.task_orthoarray.TaskPanelOrthoArray.validate_input().


The documentation for this class was generated from the following file:
  • Sources/FreeCAD/src/Mod/Draft/draftguitools/gui_array_simple.py