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
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"x1": "<x1>",
"y1": "<y1>",
"x2": "<x2>",
"y2": "<y2>"
},
"name": "pcb_place_dimension"
}
}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 | |||