Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
GCODE Script for OctoPi's After Print Job Completes
G4 ; wait for buffer to clear
G92 E0; set extruder value back to 0
G1 E-2 F700; Retract a little. 700mm/min
M140 S0 ; turn off heatbed
M107 ; turn off fan
G1 X125 Y125 F4800; Bring print surface forward as fast as possible per min, center x to try to keep filament on spool and hotend cable off usb plug
G1 E10 F700; Crank out some plastic to weigh down the plastic thread. This prevents material from curling up as it cools, sticking to hotend. 700mm/min
G1 E-2 F700; Retract a little. 700mm/min
M104 S0 ; turn off hotend
G1 Z205 F1200; Raise to top. Because this is centered in previous gcode, the filament spool should be directly above, so the risk of unraveling the spool should be lower.
M84 ; disable motors
@BradMcGonigle

This comment has been minimized.

Copy link
Owner Author

@BradMcGonigle BradMcGonigle commented Feb 13, 2020

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment