springrep
An open-source Rust CAD kernel that computes precise geometry and validates its results.
What does it do?
springrep is a B-rep kernel written in Rust. Developers can apply Boolean operations, fillets, and sweeps to precise geometry and work with STEP. Surfaces are represented as analytic surfaces or NURBS rather than meshes, allowing volume, area, and mass properties to be calculated from the actual geometry. Every result is validated; if validation fails, the kernel returns an error instead of a broken solid. It has no dependencies or unsafe code and can also be compiled to WebAssembly.
Key features
- Apply Boolean operations, fillets, and sweeps to B-rep geometry and work with STEP.
- Calculate volume, area, and mass properties from analytic surfaces and NURBS.
- Validate operation results and return an error if they are invalid.
- Build in Rust without external dependencies and compile to WebAssembly.