catia_angle_constraint
Set the angle between two planes, faces, or axes of two components in degrees to constrain their relative orientation.
Instructions
Angle between two planes/faces/axes of two components, in degrees.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Explicit name for the angle constraint in the tree (recommended). | |
| angle | Yes | Angle in degrees. | |
| element1 | Yes | Geometry of the component, in the component's OWN part coordinates (mm): {'face_point': [x,y,z]} a point inside a face; {'axis_point': [x,y,z]} a point on a cylindrical/conical face, meaning its AXIS; {'edge_point': [x,y,z]}; or {'plane': 'xy'|'yz'|'zx'} one of the component's origin planes. Use catia_list_faces on the part to find points, radii and axes. | |
| element2 | Yes | Geometry of the component, in the component's OWN part coordinates (mm): {'face_point': [x,y,z]} a point inside a face; {'axis_point': [x,y,z]} a point on a cylindrical/conical face, meaning its AXIS; {'edge_point': [x,y,z]}; or {'plane': 'xy'|'yz'|'zx'} one of the component's origin planes. Use catia_list_faces on the part to find points, radii and axes. | |
| component1 | Yes | Instance name (e.g. 'Engine.1'), or a path 'Sub.1/Part.1' for a sub-assembly child. | |
| component2 | Yes | Second instance name or path. | |
| defer_update | No | Skip the solve after this constraint (default false). Each solve re-computes EVERY constraint, so its cost grows with the assembly: in a long sequence defer all but the last, then check with catia_update_assembly. The status is NOT evaluated when deferred. |