catia_assembly_constraint
Constrain CATIA assembly components by referencing geometry faces with tokens. Supports coincidence, contact, offset, distance, angle, parallel, perpendicular, and fix constraints.
Instructions
Constrain components to each other. Reference the geometry with the usual tokens - inside an assembly 'face#3' and 'face@x,y,z' resolve against every visible component, and catia_list_faces reports which component each belongs to. Dimensional kinds (offset, distance, angle) take a value.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | coincidence | contact | offset | distance | angle | planar_angle | parallel | perpendicular | fix. | |
| name | No | Name for the constraint. | |
| value | No | Offset in mm or angle in degrees, where applicable. | |
| elements | Yes | Reference tokens of the geometry to constrain, e.g. ['face@0,0,10','face@0,0,50']. One element for 'fix', two otherwise. |