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

Split Body ​

Cut a body into separate pieces with a plane, face or surface.

Split Body: A body and a cutting plane compared with Two separate bodies.
Prism help example. Cut a body into separate pieces with a plane, face or surface. Split Face divides a face without cutting the body. View full size
A block intersects a dashed plane, with two separate solids shown as the result.
Concept diagram. Split Body separates a solid along a selected cutting tool such as a plane. View full size

In the app

Pick the body, then what cuts it: a plane, face, surface, solid or a sketch. A sketch cuts straight through the body along its plane's normal: a line across the whole body gives two pieces, a closed shape inside the outline gives the plug it encloses and the body with a pocket. A line that stops inside the body is refused. Each piece becomes its own body.

How to use ​

  1. Choose Split Body. Its panel opens on the right with numbered steps; anything you selected first fills matching inputs.
  2. Pick Body to split (solid).
  3. Pick Splitting tool (plane, face, surface or solid) (solid, surface, curve or sketch, face, plane).
  4. Adjust the settings and check the preview in the viewport.
  5. Confirm in the panel to apply, or cancel to leave the model unchanged. Applied changes are one undo step.

Settings ​

SettingDefaultValues
Delete the cutting tool afterwardOn

Script it ​

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

python
import cadkit as cad

cad.run("split_body", slots={"Body to split": ..., "Splitting tool (plane, face, surface or solid)": ...}, delete_the_cutting_tool_afterward=True)