Description
CSGRS is a constructive solid geometry library in Rust. It offers an OpenSCAD-style vocabulary for primitives, Boolean operations, transforms, extrusion, revolution, sweep, loft, conversion and CAD interchange. It is part of the Hyper geometry workspace and does not add a separate geometry kernel. Curves, paths and filled regions come from Hypercurve, indexed triangle meshes and solid Booleans come from Hypermesh, triangulation comes from Hypertri, and physical-property analysis comes from Hyperphysics. Core coordinates use the exact-aware Hyperreal scalar, and primitive floats appear only at rendering, serialization, adapter, FFI and WebAssembly boundaries. The README lists the primary types it works with, including filled planar regions with holes, open or closed curve strings, higher-order curve paths and triangle meshes. An optional, feature-gated attributed mesh holds one metadata value per triangle. The README also has a quick start and a modeling API section, and it says to use the lower-level crates directly for kernel work.…
Highlights
- OpenSCAD-style modeling API in Rust
- Booleans, extrusion, revolution, sweep and loft
- Exact-aware Hyperreal coordinates
- Curve regions, curve strings and triangle meshes
- Conversion and CAD interchange
Ratings & Reviews
No ratings yet
Be the first to rate Csgrs.
People also visit
Three BVH CSG
A flexible, memory compact, fast and dynamic CSG implementation on top of…
Csgrs FAQ
What is CSGRS?
A Rust library for constructive solid geometry, with an OpenSCAD-like vocabulary for building shapes from primitives and Boolean operations.
How does it relate to the other Hyper crates?
CSGRS composes the native types of Hypercurve, Hypermesh, Hypertri and Hyperphysics. Use those crates directly for kernel-level work.
Which number type does it use?
Core coordinates use hyperreal::Real. Primitive floats are used only at explicit rendering, serialization, adapter, FFI and WebAssembly boundaries.
What is the attributed mesh?
An optional, feature-gated sidecar with one metadata value per triangle and optional authored normals. Modeling operations still use its TriangleMesh geometry.
What are the best Csgrs alternatives?
Popular alternatives to Csgrs include Toolpath, Competitive Programming RS and Svg2gcode. See all Csgrs alternatives





