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

Enclosed Body ​

Make solids from the spaces enclosed by surfaces, planes and bodies.

Enclosed Body: A sheet over a plate compared with The space between, as a solid.
Prism help example. Make solids from the spaces enclosed by surfaces, planes and bodies. With no space picked, every space is kept. You can also type the numbers. View full size

In the app

Step 1: pick every surface, plane or body that helps close off a space (for example a surface that cuts a block in two, or planes around a shape). Step 2: each enclosed space gets its own colour and number; click the spaces you want to keep (Alt-click reaches one behind another) and press Create solids. With none picked, every space is kept.

How to use ​

  1. Choose Enclosed Body. Its panel opens on the right with numbered steps; anything you selected first fills matching inputs.
  2. Pick Surfaces, planes and bodies that enclose the space (solid, surface, face, plane, one or more).
  3. Adjust the settings and check the preview in the viewport.
  4. Use the panel buttons as needed: Keep every space, Swap kept and left-out spaces.
  5. Confirm in the panel to apply, or cancel to leave the model unchanged. Applied changes are one undo step.

Settings ​

SettingDefaultValues
Spaces to keep (blank = all)Text
Working on1 Pick the surfaces that enclose the space1 Pick the surfaces that enclose the space, 2 Pick the spaces to keep
Delete the surfaces and bodies used afterwardOn

Script it ​

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

python
import cadkit as cad

cad.run("boundary_fill", slots={"Surfaces, planes and bodies that enclose the space": [...]}, working_on="1  Pick the surfaces that enclose the space", delete_the_surfaces_and_bodies_used_afterward=True)