draftguitools.gui_patharray.PathArray Class Reference

Public Member Functions

def Activated (self, name=translate("draft","Path 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
 
 name
 
 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 Path 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()

◆ GetResources()

def draftguitools.gui_patharray.PathArray.GetResources (   self)
Set icon, menu and tooltip.

Reimplemented in draftguitools.gui_patharray.PathLinkArray.

References draftutils.translate.QT_TRANSLATE_NOOP.

◆ proceed()

def draftguitools.gui_patharray.PathArray.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, DraftVecUtils.toString(), 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

◆ name

◆ use_link

draftguitools.gui_patharray.PathArray.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_patharray.py