/gcoderesume

A small python script to edit GCODE files to resume 3D prints after power loss.

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

GCODE Resume!

A small python script to edit GCODE files to resume 3D prints after power loss.

  1. Measure the height from the hot bed to the top of the existing print. (Preferably using a vernier caliper)

  2. Find the closest Z value. Eg : For a print with a layer hieght of 0.2mm, layers will be in increments of 0.2mm.

  3. Run the script, Syntax :

    python gcoderesume.py -i [input gcode file] -z [layer height]

    Eg : If your print failed at Z26.8,

    python gcoderesume.py -i EBA3_004.gcode -z 26.8

    Note : If the Z height is a whole number, do not put a decimal value.

    Eg : If your print failed at Z14

    python gcoderesume.py -i test.gcode -z 14

  4. Use the generated gcode file to start the print.

  5. If you want to change the temps etc, you can easily change from the script.