| Safe Haskell | None | 
|---|---|
| Language | Haskell2010 | 
Data.GCode.Pretty
Description
GCode pretty-printing functions
Please do note that these are extremely slow as they do conversion from ByteStrings to Text and vice-verse. Float formatting is probably not the fastest as well. Colorfull versions are especially slow.
Synopsis
- ppGCode :: GCode -> String
 - ppGCodeLine :: Code -> String
 - ppGCodeCompact :: GCode -> String
 - ppGCodeLineCompact :: Code -> String
 - ppGCodeStyle :: Style -> GCode -> String
 - ppGCodeLineStyle :: Style -> Code -> String
 - ppAxes :: Style -> [(AxisDesignator, Double)] -> Doc
 - ppAxesMap :: Style -> Map AxisDesignator Double -> Doc