catia_boolean_operation
Combine two CATIA V5 bodies using boolean operations (assemble, add, remove, intersect, union_trim) to merge functional zones into a final solid.
Instructions
Combine two Bodies with a boolean operation (right-click a body > x.Objet > ... in the GUI). This is how the multi-corps method produces the final solid: model each functional zone in its own Body, then combine them here.
assemble: union that respects each body's feature nature (a Pocket in the tool body removes material — most common case).
add: union that always adds material, even if the tool body's first feature is a Pocket (it's reinterpreted as a Boss).
remove: target_body minus tool_body.
intersect: keeps only material common to both bodies.
union_trim: union with control over which side to keep/remove (faces_to_remove_points / faces_to_keep_points: one [x, y, z] inside each face of the tool body; see catia_list_faces).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Explicit name for the created feature in the specification tree (e.g. 'Pad_Bras_20mm', 'Trou_Conique_D12'). Strongly recommended: default names like 'Extrusion.3' make the tree unreadable and are flagged by tree audits. | |
| operation | Yes | ||
| tool_body | Yes | Name of the body being combined INTO the target (e.g. 'Body.2'). | |
| target_body | No | Name of the body receiving the operation. Defaults to the currently active body (InWorkObject) if omitted. | |
| faces_to_keep_points | No | union_trim only: a point inside each tool-body face to keep. | |
| faces_to_remove_points | No | union_trim only: a point inside each tool-body face to discard. |