Skip to content

Instantly share code, notes, and snippets.

@fatmcgav
Created January 15, 2020 20:25
Show Gist options
  • Save fatmcgav/0f3773157b7b5c42faac235f14868d3c to your computer and use it in GitHub Desktop.
Save fatmcgav/0f3773157b7b5c42faac235f14868d3c to your computer and use it in GitHub Desktop.
GCode end
;End GCode begin
M104 S0 ;extruder heater off
M140 S0 ;heated bed heater off (if you have it)
G90 ;absolute positioning
G92 E0
G1 E-1 F300 ;retract the filament a bit before lifting the nozzle, to release some of the pressure
G1 Z235 E-1 F80 ;move Z up a bit and retract filament even more
G1 X0 F3000 ;move X to min endstops, so the head is out of the way
G1 Y250 F3000 ;so the head is out of the way and Plate is moved forward
M84 ;steppers off
;End GCode end
M82 ;absolute extrusion mode
M104 S0
;End of Gcode
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment