Open-source mesh engine written in Rust programming language.
It could be useful for mesh modification, processing, fixing, etc.
https://crates.io/crates/meshmeshmesh
Run the following command:
cargo add meshmeshmesh - Triangle/Ray intersection
- Mesh/Ray intersection
- Face normals calculation
- Area
- Finding non-manifold edges
- Is connected
- Mesh -> Graph
- ... and more ;)
This library works natively on .bim file format, which is open minimalist text mesh format described here: https://github.com/paireks/dotbim
Example for loading dotbim scene:
use std::fs; use serde_json::from_value; use meshmeshmesh::*; fn import_scene_example() { let path = "File.bim"; let read_file = fs::read_to_string(path).unwrap(); let json: serde_json::Value = serde_json::from_str(&*read_file).unwrap(); let input_scene: scene::Scene = from_value(json).unwrap(); //... }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
https://docs.rs/meshmeshmesh/latest/meshmeshmesh/
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.
meshmeshmesh is under the AGPL-3.0 license.
Wojciech Radaczyński (https://radaczynski.pl/)




