add_sketch_constraint
Add geometric constraints like coincident, tangent, or perpendicular to sketch entities to define relationships and enforce design intent.
Instructions
Add a geometric constraint to sketch entities. Supported types: coincident, tangent, perpendicular, parallel, horizontal, vertical, equal, concentric, midpoint, colinear, smooth.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sketch_index | Yes | Index of the sketch (0-based). | |
| constraint_type | Yes | Type of constraint. | |
| entity1_index | Yes | Index of the first sketch entity (curve or point). | |
| entity2_index | No | Index of the second sketch entity (if required by constraint type). |