Draft OrthoArray/pl

Description
The Draft OrthoArray command creates an orthogonal (3-axes) array from a selected object. The command can optionally create a Link array, which is more efficient than a regular array.

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.



Usage

 * 1) Optionally select one object.
 * 2) There are several ways to invoke the command:
 * 3) * Press the button.
 * 4) * Select the option from the menu.
 * 5) The  task panel opens. See Options for more information.
 * 6) If you have not yet selected an object: select one object.
 * 7) Enter the required parameters in the task panel.
 * 8) To finish the command do one of the following:
 * 9) * Click in the 3D view.
 * 10) * Press.
 * 11) * Press the button.

Options

 * Enter the for the X, Y and Z directions. This number must be at least  for every direction.
 * Enter the to specify the displacement for the elements in the X direction. For a rectangular array the Y and Z values must be.
 * Enter the to specify the displacement for the elements in the Y direction. For a rectangular array the X and Z values must be.
 * Enter the to specify the displacement for the elements in the Z direction. For a rectangular array the X and Y values must be.
 * Press the button to reset the displacement in the given direction to the default values.
 * If the checkbox is checked overlapping elements in the array are fused. This does not work for Link arrays.
 * If the checkbox is checked a Link array instead of a regular array is created. A Link array is more efficient because its elements are App Link objects.
 * Press or the  button to abort the command.

Preferences
See also: Preferences Editor and Draft Preferences.


 * To change the number of decimals used for the input of coordinates:.

Properties
See also: Property editor.

The Draft OrthoArray command, the Draft PolarArray command and the Draft CircularArray command create the same object. This 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.



The properties in this group are hidden for orthogonal arrays and polar arrays.


 * : specifies the number of circular layers. Must be at least.
 * : specifies the distance between circular layers.
 * : specifies the number of symmetry lines. This number changes the distribution of the elements in the array.
 * : specifies the distance between elements in the same circular layer. Must be larger than zero.


 * : specifies the type of array, which can be, or.
 * : specifies the object and edge to be used instead of the and  properties. Not used for orthogonal arrays.
 * : specifies the object to duplicate in the array.
 * : (read-only) specifies the total number of elements in the array. : Only available for Link arrays.
 * : specifies whether to expand the array in the Tree view to enable the selection of its individual elements. Only available for Link arrays.
 * : specifies if overlapping elements in the array are fused or not. Not used for Link arrays.

The properties in this group are hidden for circular arrays and polar arrays.


 * : specifies the interval between elements in the X direction.
 * : specifies the interval between elements in the Y direction.
 * : specifies the interval between elements in the Z direction.
 * : specifies the number of elements in the X direction. Must be at least.
 * : specifies the number of elements in the Y direction. Must be at least.
 * : specifies the number of elements in the Z direction. Must be at least.

The properties in this group are hidden for circular arrays and orthogonal arrays.


 * : specifies the aperture of the circular arc. Use for a full circle.
 * : specifies the interval between elements in the direction.
 * : specifies the number of elements in the polar direction.

The properties in this group are hidden for orthogonal arrays.


 * : specifies the direction of the axis of the array.
 * : specifies the center point of the array. The axis of the array passes through this point. For circular arrays it is an offset from the of the  object.

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.

Parametric array
To create a parametric orthogonal array use the method  of the Draft module. This method replaces the deprecated method. The method can create Draft OrthoArrays, Draft PolarArrays and Draft CircularArrays. For each array type one or more wrappers are available.

The main method:

The wrappers for orthogonal arrays are:

The wrappers for rectangular arrays are:


 * is the object to be arrayed. It can also be the (string) of an object in the current document.
 * ,, and are the vectors between the base points of the elements in the respective directions.
 * ,, and are the  distances between the base points of the elements in the respective directions.
 * ,, and are the numbers of elements in the respective directions.
 * If is  the created elements are App Links instead of regular copies.
 * is returned with the created array object.

Example:

Non-parametric array
To create a non-parametric orthogonal array use the method of the Draft module. This method returns.

Example: