native_align
Aligns a body by moving a selected flat face to sit centered on another body's flat face, enabling face-to-face part placement.
Instructions
Move a body so one of its flat faces sits on a flat face of another body, centre to centre, e.g. ("Lid", {"facing": "-z"}, "Box", {"facing": "+z"}). If a face has no material at its centre (a ring), the call fails.
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": {
"source_body": "<source_body>",
"source_where": "<source_where>",
"target_body": "<target_body>",
"target_where": "<target_where>"
},
"name": "native_align"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source_body | Yes | ||
| target_body | Yes | ||
| source_where | Yes | ||
| target_where | Yes |