#gcode #file-format #printing #header #3d #time #thumbnail

xgcode

A library for the xgcode (.gx) file format, used by FlashForge 3D printers

1 unstable release

0.1.0 Nov 19, 2022

#9 in #gcode

GPL-3.0-or-later

39KB
118 lines

xgcode

xgcode is a proprietary file format used by FlashForge 3D printers.

It wraps a plain g-code text file with a binary header containing some information about the build (time, filament consumption, temperature settings...) and a bitmap thumbnail. This extra information is used by the printer's integrated interface.

This library is for parsing and generating xgcode header, and accessing the embedded BMP thumbnail and gcode payload.

Dependencies

~0.4–1MB
~21K SLoC