# BREP_boolean
`BREP_boolean` holds the booleans and healing of the BREP kernel. Its Rust library
target is `brep_boolean`; this is version **0.27.0**.
It is one of the implementation crates the kernel is built from. Applications
should depend on [`BREP_kernel`](https://crates.io/crates/BREP_kernel), which
re-exports the public API of every kernel crate at its root (`brep_kernel::…`)
and adds the feature pipeline and the STEP, IGES, Parasolid (import), 3MF,
GLB, STL and OBJ exchange.
Many items here are public only so the other kernel crates can reach them;
those are hidden from the documentation and carry no stability promise beyond
the kernel's own. The kernel crates are released together, at one version.
It contains:
- face splitting, imprinting, edge splits and fragmentation;
- boolean union, subtraction and intersection (`boolean_operation`) with its acceptance checks and oracle;
- healing: curve coalescing, same-surface face merging, sewing and pinched-vertex splits;
- triangle-soup repair into a faceted B-rep, mesh segmentation and spherical mesh unions.
Kernel crates it requires: [`BREP_RANSAC`](https://crates.io/crates/BREP_RANSAC), [`BREP_geometry`](https://crates.io/crates/BREP_geometry), [`BREP_topology`](https://crates.io/crates/BREP_topology). It is required by [`BREP_construction`](https://crates.io/crates/BREP_construction), [`BREP_blend`](https://crates.io/crates/BREP_blend), [`BREP_offset`](https://crates.io/crates/BREP_offset), [`BREP_direct_edit`](https://crates.io/crates/BREP_direct_edit), [`BREP_kernel`](https://crates.io/crates/BREP_kernel).
## Building
The crate builds natively and for `wasm32-unknown-unknown`. The `parallel`
feature runs some per-face loops on rayon; `profile-wall` turns on a diagnostic
wall-time partition. Both are off by default, and `BREP_kernel` forwards them.
The packaged crate ships the library sources, the README, the licence and the
manifest; it carries no test suite.
## License
The Autodrop3d licence in `LICENSE.md`, shipped in the crate (`license-file` in
the manifest). Source: <https://github.com/mmiscool/next.BREP.io_RUST_BREP_KERNEL>