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
[gizmos]gizmosBREP_gizmos
[render]renderBREP_render
[app]appBREP_app

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

BREP = "0.2"                                    # kernel only
BREP = { version = "0.2", features = ["render"] } # + the wgpu render engine
BREP = { version = "0.2", 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;