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

Fill ​

Fill a face or closed sketch with copies.

Fill: A plate and one bump compared with A field of copies.
Prism help example. Fill a face or closed sketch with copies. Fill patterns suit vents, perforations and grips. View full size

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 ​

  1. Choose Fill. 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 Region to fill (planar face or closed sketch) (curve or sketch, face).
  4. Pick Target body (solid), optional.
  5. Adjust the settings and check the preview in the viewport.
  6. Confirm in the panel to apply, or cancel to leave the model unchanged. Applied changes are one undo step.

Settings ​

SettingDefaultValues
LayoutStaggered grid (hex)Square grid, Staggered grid (hex), Concentric rings, Spiral (golden angle)
Spacing12 mm
Row / ring spacing (0 = automatic)0 mm
Margin from the boundary3 mm
Layout rotation0 °-360 to 360 °
Layout originCenter of the regionCenter of the region, Position of the original
ResultNew bodiesNew bodies, Join into a body, Cut from a body
Skip instancesText
Move the original to the first positionOn

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)