Expand description
§BREP
Umbrella crate for the BREP CAD kernel family. It re-exports the geometry
kernel unconditionally and the higher layers behind feature flags, so a
single BREP dependency scales from headless geometry to the full app:
| Module | Feature | Backing crate |
|---|---|---|
kernel | (always) | BREP_kernel |
gizmos | gizmos | BREP_gizmos |
render | render | BREP_render |
app | app | BREP_app |
reconstruction | reconstruction | BREP_reconstruction |
full is an alias for app (which also enables render and gizmos); it
does not enable reconstruction or parallel. parallel forwards to the
kernel’s rayon parallelism (tessellation and STEP import).
BREP = "0.32" # kernel only
BREP = { version = "0.32", features = ["render"] } # + the wgpu render engine
BREP = { version = "0.32", features = ["full"] } # the eframe app, render and gizmosuse brep::kernel; // always present
use brep::render; // with `features = ["render"]`Re-exports§
pub use brep_kernel as kernel;