This project is heavily inspired by, and adapted from, cry-inc's microstl library. The goal is to provide a zero-dependency way to easily load and write STL files. It is assumed that all binary files are little endian.
```rust use tinystl::StlData;
let data = StlData::readfromfile("myfile.stl")?; data.writebinaryfile("mybinary_file.stl")?; ```
Derives Pod
for Triangle
.
Derives Serialize
and Deserialize
for all types.