add_sketch_dimension
Adds a driving dimension to the open sketch and sets its value in millimeters or degrees, including lengths, diameters, radii, distances, and angles.
Instructions
Adds a driving dimension to the open sketch and sets it to 'value' (mm, or degrees for angles).
(x, y): a point on the entity (sketch coordinates). One entity: length of a line, diameter of a circle, radius of an arc. With (x2, y2) on a second entity: distance between them, or the angle between two lines. (text_x, text_y) places the text (default: next to the entity).
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": {
"x_mm": "<x_mm>",
"y_mm": "<y_mm>",
"value": "<value>"
},
"name": "add_sketch_dimension"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x_mm | Yes | ||
| y_mm | Yes | ||
| value | Yes | ||
| x2_mm | No | ||
| y2_mm | No | ||
| text_x_mm | No | ||
| text_y_mm | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |