pcb_place_dimension
Places a linear dimension between two points on a PCB layer, auto-detecting horizontal or vertical orientation from the larger coordinate delta.
Instructions
Place a linear dimension between two points.
Horizontal dimension measures delta-X, vertical measures delta-Y. Orientation auto-detects from the larger axis delta if not given.
Args: x1, y1: First reference point in mils x2, y2: Second reference point in mils layer: Layer to draw the dimension on (default "TopOverlay") orientation: "horizontal" or "vertical" ("" = auto)
Returns: Dictionary confirming the dimension placement
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x1 | Yes | ||
| x2 | Yes | ||
| y1 | Yes | ||
| y2 | Yes | ||
| layer | No | TopOverlay | |
| orientation | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||