Safe Haskell | None |
---|
Documentation
textSTL :: STL -> BuilderSource
Convert an STL
value to a Builder
, which can be converted to a
ByteString
with toLazyByteString
A parser from Text
to the STL
type. The parser should be
fairly permissive about whitespace, but has not been tested enough
against STL files in the wild.
A representation of an STL file, consisting of a (possibly empty) object name, and a list of triangles.
A single triangle in STL is represented by a normal vector and three vertices.