implicit-0.1.0: Math-inspired programmatic 2&3D CAD: CSG, bevels, and shells; gcode export..

Safe HaskellNone
LanguageHaskell98

Graphics.Implicit.Export

Documentation

writeObject Source #

Arguments

:: DiscreteAproxable obj aprox 
=>

Resolution

-> (aprox -> Text)

File Format (Function that formats)

-> FilePath

File Name

-> obj

Object to render

-> IO ()

Writing Action!

formatObject Source #

Arguments

:: DiscreteAproxable obj aprox 
=>

Resolution

-> (aprox -> Text)

File Format (Function that formats)

-> obj

Object to render

-> Text

Resulting lazy ByteString

writeSVG :: forall obj. DiscreteAproxable obj [Polyline] => -> FilePath -> obj -> IO () Source #

writeSTL :: forall obj. DiscreteAproxable obj [Triangle] => -> FilePath -> obj -> IO () Source #

writeBinSTL :: forall obj. DiscreteAproxable obj [Triangle] => -> FilePath -> obj -> IO () Source #

writeOBJ :: forall obj. DiscreteAproxable obj [NormedTriangle] => -> FilePath -> obj -> IO () Source #

writeTHREEJS :: forall obj. DiscreteAproxable obj TriangleMesh => -> FilePath -> obj -> IO () Source #

writeGCodeHacklabLaser :: forall obj. DiscreteAproxable obj [Polyline] => -> FilePath -> obj -> IO () Source #

writePNG :: forall obj. DiscreteAproxable obj DynamicImage => -> FilePath -> obj -> IO () Source #