add_sketch_dimension
Add distance, radius, diameter, or angle dimension constraints to sketch entities for precise size and position control.
Instructions
Add a dimension constraint to sketch entities. Supported types: distance, radius, diameter, angle.
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": {
"sketch_index": "<sketch_index>",
"dimension_type": "<dimension_type>",
"entity1_index": "<entity1_index>",
"value": "<value>"
},
"name": "add_sketch_dimension"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sketch_index | Yes | Index of the sketch (0-based). | |
| dimension_type | Yes | Type of dimension. | |
| entity1_index | Yes | Index of the first sketch entity. | |
| entity2_index | No | Index of the second entity (for distance between two entities or angle). | |
| value | Yes | Dimension value: mm for distance/radius/diameter, degrees for angle. | |
| text_position_x | No | X position for the dimension text in mm. | |
| text_position_y | No | Y position for the dimension text in mm. |