Fill
Fill a face or closed sketch with copies.

In the app
Pick the objects, then a planar face or closed sketch to fill. Copies are placed at the chosen spacing wherever they fit inside, keeping the margin from the boundary.
How to use
- Choose Fill. 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 Region to fill (planar face or closed sketch) (curve or sketch, face).
- 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 |
|---|---|---|
| Layout | Staggered grid (hex) | Square grid, Staggered grid (hex), Concentric rings, Spiral (golden angle) |
| Spacing | 12 mm | |
| Row / ring spacing (0 = automatic) | 0 mm | |
| Margin from the boundary | 3 mm | |
| Layout rotation | 0 ° | -360 to 360 ° |
| Layout origin | Center of the region | Center of the region, Position of the original |
| Result | New bodies | New bodies, Join into a body, Cut from a body |
| Skip instances | Text | |
| Move the original to the first position | On |
Script it
Command name pattern_fill. See Python scripting and the command reference.
python
import cadkit as cad
cad.run("pattern_fill", slots={"Objects to pattern": [...], "Region to fill (planar face or closed sketch)": ...}, layout="Staggered grid (hex)", spacing=12)