Draft PointArray/tr

Tanım
The Draft PointArray command creates a regular array from a selected base object by placing copies at the points from a point object. Use the Draft PointLinkArray 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 PointLinkArray command is identical to this command.

The base object can be a 2D object created with the Draft Workbench or Sketcher Workbench, but also a 3D object such as those created with the Part Workbench, PartDesign Workbench or Arch Workbench.

The point object can be any object with a shape and vertices (including a Std Part containing one or more of such objects), as well as a mesh and a point cloud. Duplicate points in the point object are filtered out.

In only three point object types are supported see Point object version 0.20 and below.



Usage

 * 1) Select the object you wish to array.
 * 2) Add the point compound object to the selection.
 * 3) There are several ways to invoke the command:
 * 4) * Press the button.
 * 5) * Select the option from the menu.
 * 6) The array is created.
 * 7) Optionally change the properties of the array in the Property editor.

Point object version 0.20 and below
These are the supported point objects in and how they can be created:
 * Part Compound: Create one or more Draft Points or Part Points, select them and invoke the Part Compound command.
 * Draft Block: Create one or more Draft Points or Part Points, select them and invoke the Draft Upgrade command.
 * Sketcher Sketch: Create a Sketch and add one or more Sketcher Points to the sketch.

Properties
See also: Property editor.

A Draft PointArray 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:

Data
The properties in this group are only available for Link arrays. See Std LinkMake for more information.




 * : specifies the object to duplicate in the array.
 * : (read-only) specifies the number of elements in the array. This number is determined by the number of points in the.
 * : specifies whether to expand the array in the Tree view to enable the selection of its individual elements. Only available for Link arrays.
 * : : specifies an additional placement, translation and rotation, for each element in the array.
 * : specifies the compound object whose points are used to position the elements in the array. The object must have a, or  property, and contain at least one element with , , and  properties.

View
The properties in this group, with the exception of the inherited property, are only available for Link arrays. See Std LinkMake for more information.


 * : this is an inherited property that appears in the Selection group for other arrays
 * : this is an inherited property that appears in the Selection group for other arrays
 * : this is an inherited property that appears in the Selection group for other arrays
 * : this is an inherited property that appears in the Selection group for other arrays
 * : this is an inherited property that appears in the Selection group for other arrays

The properties in this group, with the exception of the inherited property, are only available for Link arrays. See Std LinkMake for more information.


 * : this is an inherited property.
 * : this is an inherited property.
 * : this is an inherited property.
 * : this is an inherited property.
 * : this is an inherited property.

The properties in this group are inherited properties. See Part Feature for more information.


 * : this property is not inherited by Link arrays.
 * : for Link arrays it can be or . For other arrays it can be:, ,  or


 * : not used.
 * : not used.

The properties in this group are not inherited by Link arrays.

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

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


 * is the object to be arrayed. It can also be the (string) of an object in the current document.
 * is the object containing the points. It can also be the (string) of an object in the current document. It should have a, , or  property containing points.
 * is an, an or an  that displaces each element.
 * If is  the created elements are App Links instead of regular copies.

Example: