Diameter Dimension
dimension_diameterCreates diameter dimensions for circles by picking two opposite points, with optional ISO 286 fits and tolerance displays.
Instructions
Create a diameter dimension for a circle, optionally toleranced (e.g. ⌀20 H7).
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": "dimension_diameter"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x1 | Yes | First point on diameter X | |
| x2 | Yes | Second point on diameter (opposite side) X | |
| y1 | Yes | First point on diameter Y | |
| y2 | Yes | Second point on diameter Y | |
| fit | No | ISO 286 fit code (e.g. 'H7' hole / 'g6' shaft) resolved for the measured diameter. Mutually exclusive with tol_*. | |
| layer | No | Layer name | |
| tol_mode | No | ISO 129 tolerance display: none | symmetric | deviation | limit | basic. | none |
| tol_lower | No | Lower deviation (mm) | |
| tol_upper | No | Upper deviation (mm) | |
| leader_length | No | Leader line length | |
| text_override | No | Replace the measured text ('<>' keeps the measurement) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||