|
|
| Menu location |
|---|
| Modification → Array Tools → Twisted Path Array |
| Workbenches |
| Draft |
| Default shortcut |
| None |
| Introduced in version |
| 0.19 |
| See also |
| Draft OrthoArray, Draft PolarArray, Draft CircularArray, Draft PathArray, Draft PathLinkArray, Draft PointArray, Draft PointLinkArray, Draft PathTwistedLinkArray |
The Draft PathTwistedArray command creates a regular array from a selected object by placing copies along a path that are also rotated around the path. Use the Draft PathTwistedLinkArray command to create a more efficient Link array instead. Except for the type of array that is created, Link array or regular array, the Draft PathTwistedLinkArray command is identical to this command.
Both commands 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 BIM Workbench.
Base object (at the origin) and selected path → Rotated copies placed along the path
With a straight line as a path object this is a quite efficient tool to create helical stairs from a single step.
See also: Property View.
A Draft PathTwistedArray object is derived from a Part Feature object and inherits all its properties (with the exception of some View properties that are not inherited by Link arrays). The following properties are additional unless otherwise stated:
Link
The properties in this group are only available for Link arrays. See Std LinkMake for more information.
Float)Vector)VectorList)BoolList)PlacementList)LinkList)Bool)LinkList)Integer)LinkSubHidden)Enumeration)Bool)Draft
Bool)Objects
LinkGlobal): specifies the object to duplicate in the array.Integer): number of copies to create.Bool): specifies whether to expand the array in the Tree View to enable the selection of its individual elements. Only available for Link arrays.Bool): specifies if overlapping elements in the array are fused or not. introduced in 1.0LinkGlobal): specifies the object to be used for the path.Float): rotation factor of the twisted array.Link
The properties in this group, with the exception of the inherited property, are only available for Link arrays. See Std LinkMake for more information.
Enumeration)FloatConstraint)Bool)FloatConstraint)Bool): this is an inherited property that appears in the Selection group for other arrays.Material)Base
The properties in this group, with the exception of the inherited properties, are only available for Link arrays. See Std LinkMake for more information.
PersistentObject)MaterialList)ColorList)BoolList)PythonObject): this is an inherited property.Placement): this is an inherited property.Display Options
The properties in this group are inherited properties. See Part Feature for more information.
Bool): this property is not inherited by Link arrays.Enumeration): for Link arrays it can be Link or ChildView. For other arrays it can be: Flat Lines, Shaded, Wireframe or Points.Bool)Bool)Bool)Draft
Enumeration): not used.Float): not used.Object style
The properties in this group are not inherited by Link arrays.
See also: Autogenerated API documentation and FreeCAD Scripting Basics.
To create a Draft PathTwistedArray use the make_path_twisted_array method of the Draft module.
path_twisted_array = Draft.make_path_twisted_array(base_object,
path_object, count=15, rot_factor=0.25, use_link=True)
base_object is the object to be arrayed. It can also be the Label (string) of an object in the current document.path_object is the path object. It can also be the Label (string) of an object in the current document.count is the number of elements in the array.rot_factor is a factor for the number of turns along the path.use_link is True the created elements are App Links instead of regular copies.