Split Body
split_bodySplit the active part’s bodies with a fully crossing plane or sketch and keep every resulting piece in the part for downstream modeling or printing.
Instructions
Beta: new: checked on SolidWorks by a scratch run, not yet by a live demo.
Split the active part's bodies with a plane or a sketch, keeping every piece in the part.
E.g. cut a part in two at the Right Plane to print it in halves. The
plane or sketch must cross the bodies all the way. Fails, changing
nothing, when the tool is unknown or the split makes no new body. To
save a piece as its own part, use save_body_as_part. Needs: a part
with a body. Changes: adds a Split feature. Returns: split with
name, made (the new bodies' names), the body names, counts and
volumes before and after.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"input_data": "<input_data>"
},
"name": "split_body"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input_data | Yes | `tool`, a plane or sketch name. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||