Subtract
Cut one body out of another.
- Ribbon: Home, Solid, Surface, NURBS, Sheet Metal › Combine
- Guide: Solid modeling

In the app
Pick the body to cut from, then the bodies to cut with. A surface can cut a surface too: an open tube or sheet is closed off in your mind's eye, whatever part of the target lies inside it is removed, and the cut is filled with the tool's walls (or left open by turning that off).
How to use
- Choose Subtract. Its panel opens on the right with numbered steps; anything you selected first fills matching inputs.
- Pick Body to cut from (solid, surface).
- Pick Tool bodies (solid, surface, one or more).
- 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 |
|---|---|---|
| Keep tool bodies | Off | |
| Fill the cut with the tool's walls | On |
Script it
Command name subtract. See Python scripting and the command reference.
python
import cadkit as cad
cad.run("subtract", slots={"Body to cut from": ..., "Tool bodies": [...]}, keep_tool_bodies=False, fill_the_cut_with_the_tool_s_walls=True)