Point: Snap (deterministic OSNAP)
point_from_snapCalculate exact snap points on entities using types like end, mid, or center to eliminate coordinate guess errors.
Instructions
Compute a deterministic snap point on an entity. Use this INSTEAD OF guessing coordinates — eliminates the most common LLM drawing error.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| snap | Yes | Snap type: end | mid | center | quad | perp | near | |
| ref_x | No | Reference X (required for perp/near; disambiguates end/quad) | |
| ref_y | No | Reference Y | |
| handle | Yes | Entity handle to snap onto |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||