native_build_parts
Build multiple named solids in one call from box, profile, or cylinder definitions, with repeat patterns and frames; validate plans with check_only before modifying the project.
Instructions
Build many solids in one call. Use this instead of repeating import_profile/extrude_profile/transform.
Each part: {"name": "Rafter", "box": [x0,y0,z0,x1,y1,z1]} or {"name":..., "profile": [[x,y,z],...], "thickness": mm,
"direction": [dx,dy,dz] (optional, perpendicular to the profile)}. Profiles may be vertical or sloped.
Round parts: {"name": "Dowel", "cylinder": {"center": [x,y,z] (middle of the start face), "radius": mm,
"height": mm, "axis": [x,y,z] (default up)}}. Never approximate a circle with a polygon. For a round hole,
build the cylinder and cut it with native_subtract_bodies.
"repeat": {"count": n, "step": [dx,dy,dz]} or a list of such for grids.
frame: {"origin": [x,y,z], "rotate_z": degrees} places the whole list, e.g. on a 45 degree grid.
All lengths in mm. Bodies are named after their part and grouped into folder. One restore point is saved.
check_only validates and reports the plan without touching the project.
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": {
"parts": "<parts>"
},
"name": "native_build_parts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| frame | No | ||
| parts | Yes | ||
| folder | No | ||
| check_only | No |