Draft Clone/sv

Description
The Draft Clone command creates linked copies, clones, of selected objects. The shape of a clone is parametric, it will update if its source object changes. But a clone does have its own position, rotation, and scale, and its own View properties. For Arch objects the command creates a special type of clone: an Arch clone.

The command can be used on 2D objects created with the Draft Workbench or Sketcher Workbench, but also on many 3D objects such as those created with the Part Workbench, PartDesign Workbench or Arch Workbench. Clones of 2D objects can be used in PartDesign Bodies.



Usage

 * 1) Optionally select one or more objects.
 * 2) There are several ways to invoke the command:
 * 3) * Press the button.
 * 4) * Select the option from the menu.
 * 5) * Use the keyboard shortcut: then.
 * 6) If you have not yet selected an object: select an object in the 3D view.

Properties
See also: Property editor.

An object created with the Draft Clone command is derived from a Part Part2DObject, a Part Feature object or, if an Arch Clone is created, from the object type of the source object. It inherits all properties from that object. A clone derived from one of the first two objects also has the following additional properties:

Data

 * : specifies if overlapping shapes in the clone are fused or not.
 * : specifies the objects that are cloned.
 * : specifies the X, Y and Z scale factors.

Scripting
See also: Autogenerated API documentation and FreeCAD Scripting Basics.

To create a clone use the method  of the Draft module. This method replaces the deprecated method.


 * contains the objects to be cloned. It is either a single object or a list of objects.
 * is the displacement vector to be applied to the clone.
 * If is  and  contains a single Arch object an Arch Clone is created. Set  to  to create a Draft Clone instead.
 * is returned with the clone object.

Example: