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 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.25"                                     # kernel only
BREP = { version = "0.25", features = ["render"] } # + the wgpu render engine
BREP = { version = "0.25", features = ["full"] }   # the eframe app, render and gizmos
use brep::kernel; // always present
use brep::render; // with `features = ["render"]`

Re-exports§

pub use brep_kernel as kernel;