boolean
Cut, join, or intersect two meshes to create windows, doors, holes, or notches, with optional repair and closed-result checks.
Instructions
Combine two meshes: a is changed, b is the tool and is deleted unless keep_tool. difference cuts b out of a.
Both should be closed and have outward normals (check_mesh). With repair=true
an open mesh is first healed with repair_mesh (the answer lists repaired). If that does not close it, the call
fails and names the object, the number of open edges and where they are (world box). a keeps its own material
slots: the faces made by b take the material of the faces of a next to them, and empty slots are removed.
The result is welded and its zero-area faces are dissolved (merged_vertices, removed_zero_faces; doubled_vertices_left
where parts only touch along an edge). The result is checked: when solver leaves new
boundary or non-manifold edges, the other solvers and a tool shifted by a few micrometres are tried; the answer
names the solver used (and tool_shift_m). If none gives a closed result the call fails, changes nothing, and gives
the edge counts and their world box. allow_open=true skips the input check and keeps such a result with a warning.
Use it for windows, doors, holes, notches.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| a | Yes | ||
| b | Yes | ||
| repair | No | ||
| solver | No | EXACT | |
| keep_tool | No | ||
| operation | No | difference | |
| allow_open | No |