Linear Dimension
dimension_linearCreate linear dimensions with optional ISO 129 tolerances or ISO 286 fit codes. Specify extension line origins, dimension line position, rotation, and text override.
Instructions
Create a linear dimension, optionally toleranced (ISO 129 or ISO 286 fit).
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 | |||