get_anchors
Get assembly anchor coordinates in global space, combining auto-derived and explicit named anchors. Use these positions and directions to plan part placement and assembly mates accurately.
Instructions
List an object's assembly anchors in GLOBAL coordinates (read-only).
Auto-derives standard anchors from the Shape (bbox_center/min/max, com,
axis_mid/start/end for the dominant cylindrical face, face0..2_center for
the largest planar faces) and merges explicit named anchors defined via
set_anchors (explicit wins on a name clash). Call this BEFORE placing
parts and plan mates from the returned numbers — never guess coordinates.
Returns:
JSON with anchors: {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 |