DoubleCAD User Manual : Constraining Pattern - Copied Objects

Available in DoubleCAD Pro only
This section refers to objects copied in patterns (lines, linear arrays, radial arrays), using the Copy Entities tools (see Copying Objects).
When you copy objects in a pattern, you can use Auto Constraints and dimension variables to control spacing, angles, etc.
This example uses a circle copied into a linear array.

  1. Before you begin, make sure Auto Add Constraints is active in the Inspector Bar.

  2. Create a rectangle and add a small circle. The rectangle should have parallel and coincident constraints assigned automatically.

  3. Select the circle and use Fit Linear Copy to copy the circle into a grid. (See Fit Linear Copy

  4. Assign some Orthogonal dimensions as shown. (See Creating Dimensions).

  5. Open the Calculator palette (F2) and the dimensions should be shown, identified by a variable. In this example, the variables were assigned names (L, E1, E2).

    ----Note: For more information on working with variables, see Calculator Palette - Variables
  6. Create a formula so that the two edge dimensions will be equal. In this case, the variable E1 was used as the formula for E2.

    The dimensions update, and the spacing between copied objects remains constant. However, in this case, the linear array does not have a 90 degree angle.

  7. To fix this, activate the Parallel constraint and click first the array constraint line, then the top line of the rectangle.

    Now the array is perpendicular again.