set_anchors
Define named anchors on CAD objects to mark positions and directions that persist, follow Placement, and record a modeling step; optionally replace or merge and use local/global coordinates.
Instructions
Define named anchors on an object. They persist with the document, move with its Placement, and the write becomes a modeling-session step.
Args:
anchors: {name: {"pos": [x, y, z], "dir": [x, y, z] | null}}.
replace: Replace all existing anchors instead of merging.
coord_frame: local stores values as given; global converts them first, for global source coordinates.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| anchors | Yes | ||
| replace | No | ||
| doc_name | Yes | ||
| obj_name | Yes | ||
| coord_frame | No | local |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |