catia_offset_constraint
Creates an offset constraint between two planar faces/planes, setting a signed distance in mm (0 = touching).
Instructions
Offset (Décalage) between two planar faces/planes: signed distance in mm (0 = touching).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Explicit name for the offset constraint in the tree (recommended). | |
| offset | Yes | Distance in mm. | |
| 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. | |
| orientation | No | Normals same or opposite direction (optional). | |
| 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. |