catia_sketch_constraint
Apply dimensional or geometric constraints to CATIA sketch elements, referencing points like start, end, or center. Supports distance, angle, tangency, parallelism, and more.
Instructions
Add a constraint to the current sketch. Dimensional kinds (distance, length, radius, diameter, angle) take a value; geometric kinds (horizontal, vertical, parallel, perpendicular, tangent, coincidence, concentric, symmetry) do not. Element names come from catia_sketch_geometry; append '.start', '.end' or '.center' to reference a point of an element.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | One of: horizontal, vertical, radius, diameter, length, distance, angle, parallel, perpendicular, tangent, coincidence, concentric, symmetry. | |
| value | No | Dimension value: mm for lengths, degrees for angles. | |
| sketch | No | Target sketch. | |
| elements | Yes | Sketch element names, e.g. ['Line.1'] or ['Line.1','Line.3'] or ['Line.1.start','Circle.1.center']. | |
| reference_only | No | Create a driven (measured) dimension instead of a driving one. |