|Draft -> Clone|
This tool produces a clone (a copy that is parametrically bound to the original object) of a selected object. If the original object changes, the clone changes too, but keeps its position, rotation and scale.
How to use
- Select objects you wish to clone
- Press the button
- : Specifies an optional scale factor for the clone
- The result of the Draft Scale tool is also a clone
The Clone tool can by used in macros and from the python console by using the following function:
clone (obj,[delta]): makes a clone of the given object(s). The clone is an exact, linked copy of the given object. If the original object changes, the final object changes too. Optionally, you can give a delta Vector to move the clone away from the original position.
import Draft Draft.clone(FreeCAD.ActiveDocument.ActiveObject)