TRIDYsign

File formats

G-code

Also known as: gcode · g-code · codigo g · código g · .gcode · .bgcode

Short definition

G-code is the instruction file the printer executes line by line: where to move each axis, how much filament to extrude and what temperature to hold at each moment.

Full definition

It is the end product of slicing and the only thing the printer truly understands. An STL or a 3MF is not 'printed': it is sliced to produce G-code, plain text with thousands of instructions of the form 'move to this coordinate while extruding this much material'. Because it is tied to the specific machine and material it was generated for, G-code made for one printer should not be run on another: bed coordinates, temperatures and start-up commands differ, and in the worst case the nozzle crashes into the bed. Prusa also distributes a compressed binary variant with the .bgcode extension.

File formats

Updated