Linear
Repeat objects along one, two or three directions.


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
- Choose Linear. Its panel opens on the right with numbered steps; anything you selected first fills matching inputs.
- Pick Objects to pattern (solid, surface, curve, freeform, one or more).
- Pick Direction 1 (edge or round face) (face, edge), optional.
- Pick Direction 2 (edge or round face) (face, edge), optional.
- Pick Direction 3 (edge or round face) (face, edge), optional.
- Pick Target body (solid), optional.
- Adjust the settings and check the preview in the viewport.
- Confirm in the panel to apply, or cancel to leave the model unchanged. Applied changes are one undo step.
Settings
| Setting | Default | Values |
|---|---|---|
| Spacing is | Between instances | Between instances, Overall extent |
| Direction 1 | X axis | X axis, Y axis, Z axis, Picked edge / axis |
| Count 1 | 4 | Whole number, 1 to 200 |
| Spacing 1 | 20 mm | |
| Direction 2 | Y axis | X axis, Y axis, Z axis, Picked edge / axis |
| Count 2 | 1 | Whole number, 1 to 200 |
| Spacing 2 | 20 mm | |
| Direction 3 | Z axis | X axis, Y axis, Z axis, Picked edge / axis |
| Count 3 | 1 | Whole number, 1 to 200 |
| Spacing 3 | 20 mm | |
| Result | New bodies | New bodies, Join into a body, Cut from a body |
| Skip instances | Text |
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")