ricosjp/truck
ricosjp/truck has 1,684 GitHub stars and 132 forks. GitHot measured 0 stars in 24 hours, +6 in 7 days, and +17 in 15 days. Last checked 2026-11-08 14:54 UTC. Last push 2026-11-02.
Truck is a Rust CAD Kernel.
Measured star growth
- in 24h
- 0
- in 7 days
- +6
- in 15 days
- +17
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
Originaltruck - Truck is a RUst Cad Kernel
Overview
truck is an open-source shape processing kernel by Rust.
The broad concept consists of the following three elements.
- Trendy Tools
- Traditional Arts
- Theseus' ship
Trendy Tools
- We are targeting the next generation of market share using developmental tools: Rust and WebGPU.
- Advanced optimizations using Rust and WebGPU maximize the performance of each crate.
Traditional Arts
- We will break away from the legacy by re-implementing the B-rep with NURBS in the above trendy tools.
- Safe implementation using Rust to eliminate core dumped for CPU-derived processes.
- Cargo's extensive maintenance features ensure thorough continuous integration.
Theseus' ship
- We are modularizing into smaller crates that can be replaced, like the Ship of Theseus.
- Based on the many lessons learned in the past, we have given up on overall optimization as a single application, and design as a collection of individual optimized crates.
- Since unexpected expansions are bound to occur, we deal with uncontrolled expansions in the form of small modules.
License
Apache License 2.0
Usage
How to Run Examples
All examples are located under the examples directory in each crates.
These examples use the default syntax for running examples, as found in the Cargo documentation.
At first, let's run the following example!
git submodule update --init
cargo run --example rotate-objects
crates
truck-base

basic structs and traits: importing cgmath, curve and surface traits, tolerance, etc...
truck-geotrait

Defines geometric traits: ParametricCurve, ParametricSurface, and so on.
truck-geometry

geometrical structs: knot vector, B-spline and NURBS
truck-topology

topological structs: vertex, edge, wire, face, shell, and solid
truck-polymesh

defines polygon data structure and some algorithms handling mesh, including meshing the shapes
truck-meshalgo

Mesh algorighms, include tessellations of the shape.
truck-modeling

integrated modeling algorithms by geometry and topology
truck-shapeops

Provides boolean operations to Solid
truck-platform

graphic utility library based on wgpu
truck-rendimpl

visualization of shape and polygon mesh based on platform
truck-js
Javascript wrapper of truck.
Tutorials
There are some learning resources for using truck v0.6.x series.
- truck-tutorial
- truck-tutorial-ja (Japanese version)
- truck-tutorial-code (pre-created sample code)
Explore related projects
ytdl-org/youtube-dl
Command-line program to download videos from YouTube.com and other video sites
141,487 starsexcalidraw/excalidraw
Virtual whiteboard for sketching hand-drawn like diagrams
135,331 starsgodotengine/godot
Godot Engine – Multi-platform 2D and 3D game engine
119,771 starsmrdoob/three.js
JavaScript 3D Library.
117,842 stars