stl v0.1.0 STL.Parser.Nimble

A STL Parser written using https://hexdocs.pm/nimble_parsec/NimbleParsec.html Implements STL.Parser behaviour. Also includes triangle count and STL bounding box analysis steps during parser output formatting.

Developer's note: "I think my post processing steps could potentially be done during parsing by leveraging all of NimbleParsec's features, but I don't understand NimbleParsec well enough yet to try."

Link to this section Summary

Functions

Uses NimbleParsec to parse a complete STL binary and formats result into a %STL{} struct with triangle count and bounding box analysis. Does not calculate surface area.

Reads a file using File.read!() then calls Parser.Nimble.parse!()

Link to this section Functions

Uses NimbleParsec to parse a complete STL binary and formats result into a %STL{} struct with triangle count and bounding box analysis. Does not calculate surface area.

Link to this function

parse_file!(file)

Reads a file using File.read!() then calls Parser.Nimble.parse!()