Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
writeSTL :: Double -> FilePath -> Solid -> IO () Source #
Write a Solid
to a (binary) STL file at a given path
Because BRep representations of objects can store arbitrary precision curves, but STL files store triangulated surfaces, this function takes a "deflection" argument used to discretize curves.
The deflection is the maximum allowable distance between a curve and the generated triangulation.