logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

bgcode - compress/decompress byte streams using LZSS

Author

       Chow Loong Jin ⟨hyperair@debian.org⟩Wrote this manpage for the Debian system.

Bugs

       The upstream BTS can be found at https://github.com/prusa3d/libbgcode/issues.

Description

bgcode converts textual gcode files into binary gcode, as used by Prusa 3D printers.

Name

       bgcode - compress/decompress byte streams using LZSS

Options

--checksum=CHECKSUM
              Checksum  algorithm  to  use.   Valid  values  for  CHECKSUM are 0 for no checksum and 1 for CRC32
              (default).

       --file_metadata_compression=COMPRESSION
              Compression algorithm to use for file metadata.  Valid values for  COMPRESSION  are:  0  for  None
              (default), 1 for Deflate, 2 for Heatshrink_11_4, and 3 for Heatshrink_12_4.

       --print_metadata_compression=COMPRESSION
              Compression  algorithm  to  use  for print metadata.  Valid values for COMPRESSION are: 0 for None
              (default), 1 for Deflate, 2 for Heatshrink_11_4, and 3 for Heatshrink_12_4.

       --printer_metadata_compression=COMPRESSION
              Compression algorithm to use for printer metadata.  Valid values for COMPRESSION are: 0  for  None
              (default), 1 for Deflate, 2 for Heatshrink_11_4, and 3 for Heatshrink_12_4.

       --slicer_metadata_compression=COMPRESSION
              Compression  algorithm  to  use for slicer metadata.  Valid values for COMPRESSION are: 0 for None
              (default), 1 for Deflate, 2 for Heatshrink_11_4, and 3 for Heatshrink_12_4.

       --gcode_compression=COMPRESSION
              Compression algorithm to use for G-code.  Valid values for COMPRESSION are: 0 for None  (default),
              1 for Deflate, 2 for Heatshrink_11_4, and 3 for Heatshrink_12_4.

       --gcode_encoding=GCODE_ENCODING
              Encoding  format  to  use for G-code.  Valid values for GCODE_ENCODING are 0 for None (default), 1
              for MeatPack, and 2 for MeatPackComments.

       --metadata_encoding=METADATA_ENCODING
              Encoding format to use for metadata.  The only available value for this is 0 for INI (default).

Synopsis

bgcode [IN_FILE] OPTIONS

See Also