Edit Pattern
Change the spacing or count of a line, grid or circle of features, or drop one.
- Ribbon: Direct Modeling › Edit
- Guide: Solid modeling

In the app
Click any feature that belongs to a pattern. For a line, set the spacing and the count; for a grid, the spacing along its rows, the spacing between rows, the count per row and the number of rows, and whether every other row is shifted half a step (staggered, like a pegboard); for a circle, the angular step and the count. “Remove instance” deletes one instance by its number (counted from the first in the pattern, the clicked feature included). The clicked feature stays where it is. Leave a field at 0 to keep its current value.
How to use
- Choose Edit Pattern. Its panel opens on the right with numbered steps; anything you selected first fills matching inputs.
- Pick A feature of the pattern (click any hole, slot, pocket or boss in it) (face).
- 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 | 0 mm | 0 to 1000000 mm |
| Spacing 2 | 0 mm | 0 to 1000000 mm |
| Number of instances | 0 | 0 to 500 |
| Number of instances 2 | 0 | 0 to 500 |
| Angular step | 0 ° | 0 to 360 ° |
| Remove instance (0 = none) | 0 | 0 to 100000 |
| Every other row | As it is | As it is, Shifted half a step, Not shifted |
Script it
Command name edit_pattern. See Python scripting and the command reference.
python
import cadkit as cad
cad.run("edit_pattern", slots={"A feature of the pattern (click any hole, slot, pocket or boss in it)": ...}, spacing=0, spacing_2=0)