#truck #graphics #polygon #data-structures #mesh #algorithm #defines

truck-polymesh

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

6 releases (breaking)

0.5.0 Dec 21, 2022
0.4.0 May 24, 2022
0.3.0 Dec 4, 2021
0.2.1 Feb 28, 2021
0.1.0 Dec 28, 2020

#653 in Algorithms

Download history 30/week @ 2023-12-18 45/week @ 2023-12-25 12/week @ 2024-01-01 33/week @ 2024-01-08 25/week @ 2024-01-15 40/week @ 2024-01-22 16/week @ 2024-02-05 9/week @ 2024-02-12 23/week @ 2024-02-19 30/week @ 2024-02-26 33/week @ 2024-03-04 38/week @ 2024-03-11 90/week @ 2024-03-18 31/week @ 2024-03-25 161/week @ 2024-04-01

326 downloads per month
Used in 5 crates (4 directly)

Apache-2.0

180KB
3.5K SLoC

truck-polymesh

Crates.io Docs.rs

Defines polyline-polygon data structure and some algorithms handling mesh.

Sample Codes

obj_stl

Converts OBJ and STL to each other.

usage:

cargo run --example obj_stl <input-file>

lib.rs:

Defines polyline-polygon data structure and some algorithms handling mesh.

Dependencies

~1.4–2.3MB
~47K SLoC