Linear Dimension
dimension_linearCreate a linear dimension between two points, with optional ISO 129 tolerance display or ISO 286 fit codes for precise annotation.
Instructions
Create a linear dimension, optionally toleranced (ISO 129 or ISO 286 fit).
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>",
"dim_x": "<dim_x>",
"dim_y": "<dim_y>"
},
"name": "dimension_linear"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x1 | Yes | First extension line origin X | |
| x2 | Yes | Second extension line origin X | |
| y1 | Yes | First extension line origin Y | |
| y2 | Yes | Second extension line origin Y | |
| fit | No | ISO 286 fit code (e.g. 'H7', 'g6', 'js9'); resolves deviations from the authored tables for the measured nominal. Mutually exclusive with tol_*. | |
| dim_x | Yes | Dimension line position X | |
| dim_y | Yes | Dimension line position Y | |
| layer | No | Layer name | |
| rotation | No | Angle of the measured dimension (0=horizontal, 90=vertical) | |
| tol_mode | No | ISO 129 tolerance display: none | symmetric (±tol_upper) | deviation (+tol_upper/-tol_lower) | limit (stacked limits) | basic (boxed). | none |
| tol_lower | No | Lower deviation (mm), e.g. 0.01 for -0.01 | |
| tol_upper | No | Upper deviation (mm), e.g. 0.02 for +0.02 | |
| text_override | No | Replace the measured text ('<>' keeps the measurement) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||