stl_io icon indicating copy to clipboard operation
stl_io copied to clipboard

stl input and ouput for Rust

Results 8 stl_io issues
Sort by recently updated
recently updated
newest added

The repository seems to be licensed under dual MIT/Apache for a few years, however, the repo still includes the GPL `LICENSE` file in its root. This PR removes that license...

Is it possible that the triangle's normal is automatically calculated from vertices? (using righthand orientation)

- Adds `try_stream_stl` that takes iterator without triangle count - Adds `convert_ascii_to_binary`

I have a request for my program to take input from `stdin` (which is not seekable) instead of a file. As it stands, I must read all the STL data...

Add `volume`, and `area` calculations to `IndexedMesh`. Volume calculations are based on https://doi.org/10.1109/ICIP.2001.958278. Added tests to make sure the calculations were valid. For valid volume calculations the input mesh cannot...

Add from_vertices constructor for Triangle that calculates the normal vector and checks that vertices are valid. Uses right-hand rule cross-product for finding the normal.

When trying to save an IndexedMesh, I realized that it was impossible due to the write_stl needing an Iterator over triangles. This function should remedy that. Thank you for this...

This exposes the optional name of a parsed mesh.