AlphaPrism is in active development: features may change and you may run into bugs. Keep backups of your work.Known issuesReport a bug
Skip to content

Linear ​

Repeat objects along one, two or three directions.

Linear: Start: one object compared with Result: evenly spaced copies.
Prism help example. Repeat objects in a straight line at an even spacing. Add a second or third direction to make a grid or a block of copies. View full size
One blue feature followed by three equally spaced copies on a plate.
Concept diagram. Linear Pattern repeats a feature or body in a straight direction at a specified spacing. View full size
Linear Pattern preview of three rounded bodies with numbered instances
Three instances of a rounded body, spaced 100 mm along X. The numbered preview helps check the direction and count before confirming. View full size

In the app

Pick the objects, then set how many copies go in each direction. Use counts in two or three directions for grids and blocks; negative spacing flips a direction.

How to use ​

  1. Choose Linear. Its panel opens on the right with numbered steps; anything you selected first fills matching inputs.
  2. Pick Objects to pattern (solid, surface, curve, freeform, one or more).
  3. Pick Direction 1 (edge or round face) (face, edge), optional.
  4. Pick Direction 2 (edge or round face) (face, edge), optional.
  5. Pick Direction 3 (edge or round face) (face, edge), optional.
  6. Pick Target body (solid), optional.
  7. Adjust the settings and check the preview in the viewport.
  8. Confirm in the panel to apply, or cancel to leave the model unchanged. Applied changes are one undo step.

Settings ​

SettingDefaultValues
Spacing isBetween instancesBetween instances, Overall extent
Direction 1X axisX axis, Y axis, Z axis, Picked edge / axis
Count 14Whole number, 1 to 200
Spacing 120 mm
Direction 2Y axisX axis, Y axis, Z axis, Picked edge / axis
Count 21Whole number, 1 to 200
Spacing 220 mm
Direction 3Z axisX axis, Y axis, Z axis, Picked edge / axis
Count 31Whole number, 1 to 200
Spacing 320 mm
ResultNew bodiesNew bodies, Join into a body, Cut from a body
Skip instancesText

Script it ​

Command name pattern_linear. See Python scripting and the command reference.

python
import cadkit as cad

cad.run("pattern_linear", slots={"Objects to pattern": [...]}, spacing_is="Between instances", direction_1="X axis")