Add Sketch Constraint
add_constraintApply geometric constraints like parallel, perpendicular, or tangent to sketch entities by index in the active sketch to control geometry and relationships.
Instructions
Add a geometric constraint in the active sketch. Entities are referenced by index within the sketch.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entity_one | No | Index of the first sketch entity | |
| entity_two | No | Index of the second sketch entity (not needed for fix/horizontal/vertical) | |
| sketch_name | No | Sketch name (default: most recent) | |
| symmetry_line | No | Index of the symmetry line (only for symmetry constraint) | |
| constraint_type | Yes |