This is a Rust library and command-line tool for reading and writing STL (Stereolithography) files in both binary and ASCII formats. It also includes functions for generating simple 3D cube and cone shapes and exporting them to STL files.
- Reading binary and ASCII STL files.
- Writing binary and ASCII STL files.
- Generating 3D cube and cone shapes.
You can use the command-line tool stl_parser
to perform various operations on STL files.
C:\> stl_parser.exe --output-format <OUTPUT_FORMAT> parse <INPUT>
C:\> stl_parser.exe --output-format <OUTPUT_FORMAT> cube <A> <ORIGIN>
C:\> stl_parser.exe --output-format <OUTPUT_FORMAT> cone <N> <R> <H> <ORIGIN>