Skip to main content

Crate brep

Crate brep 

Source
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:

ModuleFeatureBacking crate
kernel(always)BREP_kernel
gizmosgizmosBREP_gizmos
renderrenderBREP_render
appappBREP_app
reconstructionreconstructionBREP_reconstruction

full turns everything on; parallel forwards to the kernel’s rayon tessellation.

BREP = "0.8"                                    # kernel only
BREP = { version = "0.8", features = ["render"] } # + the wgpu render engine
BREP = { version = "0.8", features = ["full"] }   # everything, incl. the eframe app
use brep::kernel; // always present
use brep::render; // with `features = ["render"]`

Re-exports§

pub use brep_kernel as kernel;