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.
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. |