body_split
Split solid bodies into multiple parts by using a plane, face, or another body as a cutting tool, with optional extension to cut through the entire body.
Instructions
Split bodies into parts with a plane, a face or another body.
The new parts are listed in created_bodies, the split bodies in modified_bodies. Refs: planes from origin:* / construction_*, faces and bodies from inspect_query.
Errors: the tool among the bodies, a tool of another type -> INVALID_PARAMS (nothing changed); a tool that does not cross the body -> FUSION_API_ERROR, rolled back.
Returns {"feature", "health", "created_bodies", "modified_bodies", "removed_bodies"}.
Example: body_split(bodies=[], tool="origin:XZ")
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tool | Yes | Splitting tool: construction plane, origin:XY|XZ|YZ, face or body | |
| bodies | Yes | Body refs (inspect_query / earlier results) | |
| extend_tool | No | Extend the tool to cut through the whole body |