blender_boolean
Cut, union, or intersect two meshes using exact or fast solvers, with built-in connectivity and manifold checks to prevent silent boolean failures.
Instructions
Boolean op on two meshes with built-in connectivity + manifold checks. Always prefer this over raw modifiers in execute_code.
operation: DIFFERENCE | UNION | INTERSECT. solver: EXACT (reliable) | FAST. use_self (EXACT only): classify self-intersecting operands via winding numbers. Set True when an operand contains multiple overlapping shells (multi-shell meshes) — without it the EXACT solver can silently annihilate the target (an ANNIHILATION warning in the result flags this). Slower; default False. use_hole_tolerant (EXACT only): better results when operands have holes (non-watertight geometry). Slower; default False. Returns face counts, connected components, warnings. A WARNING means the boolean may have silently failed — inspect the numbers and re-run.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cutter | Yes | ||
| solver | No | EXACT | |
| target | Yes | ||
| use_self | No | ||
| operation | No | DIFFERENCE | |
| keep_cutter | No | ||
| use_hole_tolerant | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |