bgcode1
Compress/decompress byte streams using lzss
Usage
bgcode [IN_FILE]
OPTIONS
Overview
bgcode converts textual gcode files into binary gcode, as used by Prusa 3D printers.
Options
-
--checksum=CHECKSUM -
Checksum algorithm to use. Valid values for CHECKSUM are
0for no checksum and1for CRC32 (default).
-
--file_metadata_compression=COMPRESSION -
Compression algorithm to use for file metadata. Valid values for COMPRESSION are:
0for None (default),1for Deflate,2for Heatshrink_11_4, and3for Heatshrink_12_4.
-
--print_metadata_compression=COMPRESSION -
Compression algorithm to use for print metadata. Valid values for COMPRESSION are:
0for None (default),1for Deflate,2for Heatshrink_11_4, and3for Heatshrink_12_4.
-
--printer_metadata_compression=COMPRESSION -
Compression algorithm to use for printer metadata. Valid values for COMPRESSION are:
0for None (default),1for Deflate,2for Heatshrink_11_4, and3for Heatshrink_12_4.
-
--slicer_metadata_compression=COMPRESSION -
Compression algorithm to use for slicer metadata. Valid values for COMPRESSION are:
0for None (default),1for Deflate,2for Heatshrink_11_4, and3for Heatshrink_12_4.
-
--gcode_compression=COMPRESSION -
Compression algorithm to use for G-code. Valid values for COMPRESSION are:
0for None (default),1for Deflate,2for Heatshrink_11_4, and3for Heatshrink_12_4.
-
--gcode_encoding=GCODE_ENCODING -
Encoding format to use for G-code. Valid values for GCODE_ENCODING are
0for None (default),1for MeatPack, and2for MeatPackComments.
-
--metadata_encoding=METADATA_ENCODING -
Encoding format to use for metadata. The only available value for this is
0for INI (default).