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).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"component1": "<component1>",
"element1": "<element1>",
"component2": "<component2>",
"element2": "<element2>",
"offset": "<offset>"
},
"name": "catia_offset_constraint"
}
}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. |