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 / Cap ​

Cap an open loop of edges with a flat face or smooth patch so the body closes.

Fill / Cap: Start: a body with an open top compared with Result: the opening capped.
Prism help example. Cap an open loop of edges with a flat face or smooth patch so the body closes. Use it after deleting faces or to close an imported shell. View full size

In the app

Edit existing geometry: click an edge of an open loop (the rim of a missing face or of a gap in a shell) and the whole loop is capped with a flat face, or a smooth patch if the loop is not flat, then sewn to the body so it closes into a solid when it can. Unlike Delete Face, nothing is extended: the cap is made from the loop alone.

How to use ​

  1. Choose Fill / Cap. Its panel opens on the right with numbered steps; anything you selected first fills matching inputs.
  2. Pick An open edge (the whole open loop is found) (edge, one or more).
  3. Adjust the settings and check the preview in the viewport.
  4. Confirm in the panel to apply, or cancel to leave the model unchanged. Applied changes are one undo step.

Settings ​

SettingDefaultValues
CapAutomatic (flat when the loop is flat)Automatic (flat when the loop is flat), Flat, Smooth patch
Joint tolerance0.05 mm0.001 to 5 mm

Script it ​

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

python
import cadkit as cad

cad.run("fill_cap", slots={"An open edge (the whole open loop is found)": [...]}, cap="Automatic (flat when the loop is flat)", joint_tolerance=0.05)