Block Out Assembly from Parts List
blockout_assemblyUse this when you have a list of parts with bounding boxes and positions (from a layout, spreadsheet, another tool or a sketch) and need an evaluable placeholder assembly script. Pass parts as { name, bbox_mm:[x,y,z], position_mm:[x,y,z], rotation_deg?, anchors? } in mm; position_mm locates the bbox lower corner and anchors are named points in assembly coordinates. Optional connections [{ from, to }] reference anchors as "part.anchor" (including built-ins origin, bbox_center, bbox_x_min..bbox_z_max) and become fastened mates that express connectivity intent only; no wire or route geometry is generated. Returns the script (corner-anchored box solids with named connectors) plus warnings. It reads no files and cuts nothing; refine the solids with add_part/add_feature afterwards.
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": "blockout_assembly"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Assembly name, default "blockout". | |
| parts | Yes | ||
| connections | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||