draftobjects.clone.Clone Class Reference

Public Member Functions

def execute (self, obj)
 
def getSubVolume (self, obj, placement=None)
 
def join (self, obj, shapes)
 
- Public Member Functions inherited from draftobjects.base.DraftObject
def execute (self, obj)
 
def onChanged (self, obj, prop)
 

Additional Inherited Members

- Public Attributes inherited from draftobjects.base.DraftObject
 Type
 

Detailed Description

The Clone object

Member Function Documentation

◆ execute()

def draftobjects.clone.Clone.execute (   self,
  obj 
)
Run this method when the object is created or recomputed.

Override this method to produce effects when the object
is newly created, and whenever the document is recomputed.

By default it does nothing.

Parameters
----------
obj : the scripted object.
    This commonly may be of types `Part::Part2DObjectPython`,
    `Part::FeaturePython`, or `App::FeaturePython`.

Reimplemented from draftobjects.base.DraftObject.

References DraftVecUtils.equals(), Part::Geom2dBSplineCurve.join(), Part::GeomBSplineCurve.join(), WireJoiner.join(), femsolver.task.Task.join(), femsolver.task.Thread.join(), draftobjects.clone.Clone.join(), and ArchVRM.Renderer.join().

Referenced by draftobjects.facebinder.Facebinder.addSubobjects(), PathScripts.PathDressupDogbone.ObjectDressup.boneStateList(), ArchSite.Compass.buildCoordinates(), PathScripts.PathDressupHoldingTags.ObjectTagDressup.generateTags(), ArchPanel.PanelCut.getWires(), ArchSchedule.CommandArchSchedule.IsActive(), Mod.PartDesign.Scripts.DistanceBolt.DistanceBolt.onChanged(), Mod.PartDesign.Scripts.Epitrochoid.Epitrochoid.onChanged(), Mod.PartDesign.Scripts.Parallelepiped.Parallelepiped.onChanged(), Mod.PartDesign.Scripts.Parallelepiped.BoxCylinder.onChanged(), Mod.PartDesign.Scripts.Spring.MySpring.onChanged(), FeaturePython.DistanceBolt.onChanged(), PathScripts.PathStock.StockFromBase.onChanged(), PathScripts.PathStock.StockCreateBox.onChanged(), PathScripts.PathStock.StockCreateCylinder.onChanged(), draftobjects.draftlink.DraftLink.onDocumentRestored(), draftobjects.patharray.PathArray.onDocumentRestored(), and draftobjects.pathtwistedarray.PathTwistedArray.onDocumentRestored().

◆ getSubVolume()

def draftobjects.clone.Clone.getSubVolume (   self,
  obj,
  placement = None 
)

◆ join()

def draftobjects.clone.Clone.join (   self,
  obj,
  shapes 
)

The documentation for this class was generated from the following file: