Bodies: boolean / cut off / move
part_bodyCombine, subtract, intersect, plane-cut, or move 3D bodies to build multi-body parts from extruded or revolved features, with volume verification and single-step undo.
Instructions
Multi-body parts (bodies come from part_extrude/part_revolve with new_body=true; list them with inspect_model(sections=['bodies'])). kind=boolean: base body + tool bodies, operation union | difference (base minus tools) | intersect. kind=cut_off: cut the part by a plane and keep the side with keep_point. kind=move: shift bodies by offset [dx, dy, dz] mm, copy=true keeps the originals. Verified by volume/bodies. Returns a receipt: created object handles, volume/mass before and after, backup path. The whole call is ONE Ctrl+Z for the user; if verification fails the model is restored and VERIFY_FAILED is returned.
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": {
"doc": "<doc>",
"kind": "<kind>"
},
"name": "part_body"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc | Yes | Document handle from doc_list/doc_open, e.g. 'doc:12001:0a1b2c3d' | |
| base | No | boolean: obj: of the base body | |
| copy | No | move: keep the originals (copy) | |
| kind | Yes | ||
| name | No | Meaningful feature name for the tree, e.g. 'Отв_крепёжные_6xD11' | |
| plane | No | cut_off: XY|ZX|ZY | obj: plane | topo: face | |
| tools | No | boolean: obj: of the tool bodies | |
| bodies | No | move: obj: of the bodies | |
| offset | No | move: mm | |
| operation | No | union | |
| keep_point | No | cut_off: [x, y, z] mm of the part that must remain |