Description
0. Its design is split into small crates that can be replaced independently, so developers can use only the parts they need. The truck-base crate provides core structs and traits, truck-geometry provides knot vectors and B-spline and NURBS curves and surfaces, and truck-topology provides vertices, edges, wires, faces, shells and solids. The truck-polymesh crate handles polygon meshes and meshing, and truck-meshalgo covers tessellation. truck-modeling brings geometry and topology together for modelling, truck-shapeops provides boolean operations on solids, and truck-platform and truck-rendimpl use wgpu to visualise shapes and meshes. A truck-js crate offers a JavaScript wrapper. The project says it re-implements boundary representation with NURBS in Rust, aiming for memory-safe code and maintainable continuous integration through Cargo, and it targets WebGPU for rendering. Examples are in each crate's examples directory and run with the standard Cargo commands. Tutorials are available in English and Japanese, and a pre-created sample code repository is also provided.…
Highlights
- Rust CAD kernel split into crates
- NURBS curves and surfaces
- Boolean operations on solids
- Meshing and tessellation
- WebGPU rendering and a JavaScript wrapper
Ratings & Reviews
No ratings yet
Be the first to rate Truck.
People also visit
OpenCADStudio
A CAD application built with Rust — 2D/3D drawing, DWG/DXF support, and…
Truck FAQ
What is truck?
An open-source shape processing kernel for CAD written in Rust.
Is it free?
Yes. It is licensed under the Apache License 2.0 and the code is on GitHub.
What can it do?
NURBS geometry, topology for solids, boolean operations, meshing and tessellation, and rendering through wgpu.
Can I use only part of it?
Yes. It is split into crates, such as truck-geometry or truck-shapeops, that can be used on their own.
How do I run the examples?
Each crate has an examples folder, run with the standard Cargo command.
Where can I learn it?
The README links to tutorials in English and Japanese, and sample code.
What are the best Truck alternatives?
Popular alternatives to Truck include Bracket Lib, OpenCADStudio and OpenGeometry. See all Truck alternatives





