get_anchors
Retrieve an object's assembly anchors in global coordinates before placing parts or planning mates, so you can use returned positions instead of guessing.
Instructions
List an object's assembly anchors in GLOBAL coordinates. Auto-derived ones (bbox_center/min/max, com, axis_mid/start/end for the dominant cylindrical face, face0..2_center for the largest planar faces) merge with set_anchors ones, and explicit wins. Call it before placing parts and plan mates from the returned numbers; never guess coordinates.
Returns: JSON with anchors as {name: {pos, dir, source: "auto" | "explicit"}}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc_name | Yes | ||
| obj_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |