Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- writeObject :: DiscreteAproxable obj aprox => ℝ -> (aprox -> Text) -> FilePath -> obj -> IO ()
- formatObject :: DiscreteAproxable obj aprox => ℝ -> (aprox -> Text) -> obj -> Text
- writeSVG :: DiscreteAproxable obj [Polyline] => ℝ -> FilePath -> obj -> IO ()
- writeSTL :: DiscreteAproxable obj TriangleMesh => ℝ -> FilePath -> obj -> IO ()
- writeBinSTL :: DiscreteAproxable obj TriangleMesh => ℝ -> FilePath -> obj -> IO ()
- writeOBJ :: DiscreteAproxable obj NormedTriangleMesh => ℝ -> FilePath -> obj -> IO ()
- writeTHREEJS :: DiscreteAproxable obj TriangleMesh => ℝ -> FilePath -> obj -> IO ()
- writeGCodeHacklabLaser :: DiscreteAproxable obj [Polyline] => ℝ -> FilePath -> obj -> IO ()
- writeDXF2 :: DiscreteAproxable obj [Polyline] => ℝ -> FilePath -> obj -> IO ()
- writeSCAD2 :: ℝ -> FilePath -> SymbolicObj2 -> IO ()
- writeSCAD3 :: ℝ -> FilePath -> SymbolicObj3 -> IO ()
- writePNG :: DiscreteAproxable obj DynamicImage => ℝ -> FilePath -> obj -> IO ()
Documentation
:: DiscreteAproxable obj aprox | |
=> ℝ | Resolution |
-> (aprox -> Text) | File Format Writer (Function that formats) |
-> FilePath | File Name |
-> obj | Object to render |
-> IO () | Writing Action! |
Write an object to a file with LazyText IO, using the given format writer function.
:: DiscreteAproxable obj aprox | |
=> ℝ | Resolution |
-> (aprox -> Text) | File Format Writer (Function that formats) |
-> obj | Object to render |
-> Text | Resulting lazy ByteString |
Serialize an object using the given format writer. No file target is implied.
writeSTL :: DiscreteAproxable obj TriangleMesh => ℝ -> FilePath -> obj -> IO () Source #
writeBinSTL :: DiscreteAproxable obj TriangleMesh => ℝ -> FilePath -> obj -> IO () Source #
writeOBJ :: DiscreteAproxable obj NormedTriangleMesh => ℝ -> FilePath -> obj -> IO () Source #
writeTHREEJS :: DiscreteAproxable obj TriangleMesh => ℝ -> FilePath -> obj -> IO () Source #
writeGCodeHacklabLaser :: DiscreteAproxable obj [Polyline] => ℝ -> FilePath -> obj -> IO () Source #
writeSCAD2 :: ℝ -> FilePath -> SymbolicObj2 -> IO () Source #
writeSCAD3 :: ℝ -> FilePath -> SymbolicObj3 -> IO () Source #
writePNG :: DiscreteAproxable obj DynamicImage => ℝ -> FilePath -> obj -> IO () Source #