17 unstable releases (3 breaking)
| 0.4.0 | Jul 5, 2025 |
|---|---|
| 0.2.1 | Jun 11, 2025 |
| 0.1.8 | Mar 23, 2025 |
#2040 in Algorithms
1,233 downloads per month
1MB
20K
SLoC
meshmeshmesh 
Introduction
Open-source mesh engine written in Rust programming language.
It could be useful for mesh modification, processing, fixing, etc.
Installation
https://crates.io/crates/meshmeshmesh
Run the following command:
cargo add meshmeshmesh
Features
Mesh analysis tools
- Triangle/Ray intersection
- Mesh/Ray intersection
- Face normals calculation
- Area
- Finding non-manifold edges
- Is connected
- Mesh -> Graph
- ... and more ;)
Mesh processing tools
- Mesh welding
- Split by angle
- Normals flipping
- Mesh planar simplify
- Mesh deduplication
Mesh creation tools
- 3D Polygon triangulation with holes
File formats
This library works natively on .bim file format, which is open minimalist text mesh format described here: https://github.com/paireks/dotbim
There are many ways to export or convert into this file format using tools described here: https://github.com/paireks/dotbim?tab=readme-ov-file#apps-supporting-bim
Documentation & Examples
https://docs.rs/meshmeshmesh/latest/meshmeshmesh/
Dependencies
meshmeshmesh is using:
- iTriangle (https://github.com/iShape-Rust/iTriangle) for triangulation / tesselation.
- serde & serde_json (https://github.com/serde-rs/json) for json serialization / deserialization.
License
meshmeshmesh is under the AGPL-3.0 license.
Author
Wojciech Radaczyński (https://radaczynski.pl/)
Dependencies
~4MB
~73K SLoC