This package browser is in early development. Mind the rough edges.

prusa-libbgcode

Prusa Block and Binary G-code reader/writer/converter

Binary G-code is a new standard for encoding and compressing ASCII G-code files. G-code files are easy to read and interpret, but their downside is that the data is not saved efficiently, and the file size is often very large. Compression of the file is problematic because the printers usually run on limited hardware and they may not have enough memory and/or CPU power to decompress it.

Block and Binary G-Code is a new G-code file format featuring the following improvements over the legacy G-code:

  • Block structure with distinct blocks for metadata vs. G-code.

  • Faster navigation.

  • Coding and compression for smaller file size.

  • Checksum for data validity.

  • Extensibility through new (custom) blocks. For example, a file signature block may be welcome by corporate customers.

The binary G-code format is flexible and the encoding and compression of individual blocks is variable. libbgcode library contains the routines to convert ASCII G-codes to binary and vice versa.

Installation

Install the latest version of prusa-libbgcode as follows:

guix install prusa-libbgcode

Or install a particular version:

guix install prusa-libbgcode@0.0.0-1.5041c09

You can also install packages in augmented, pure or containerized environments for development or simply to try them out without polluting your user profile. See the guix shell documentation for more information.

Badge code

You can use the following badge to inform users of prusa-libbgcode about the latest version available in Guix.

Example HTML:

<a href='https://packages.guix.gnu.org/packages/prusa-libbgcode'><img src='https://packages.guix.gnu.org/packages/prusa-libbgcode/badges/latest-version.svg' alt='Version in GNU Guix'></a>

Example Markdown:

[![Version in GNU Guix](https://packages.guix.gnu.org/packages/prusa-libbgcode/badges/latest-version.svg)](https://packages.guix.gnu.org/packages/prusa-libbgcode)

Example Org:

[[https://packages.guix.gnu.org/packages/prusa-libbgcode][https://packages.guix.gnu.org/packages/prusa-libbgcode/badges/latest-version.svg]]