Skip to content

Instantly share code, notes, and snippets.

View Lamercho's full-sized avatar

/dev/null Lamercho

View GitHub Profile
@Lamercho
Lamercho / custom_end.gcode
Created October 11, 2021 21:54 — forked from agent86ix/custom_end.gcode
Wanhao i3 Plus Gcode
; Reference - https://www.mpselectmini.com/starting_ending_g-code_scripts
M400 ; wait for pending commands to finish
M104 S0 ; turn off hotend/extruder heater
M140 S0 ; turn off bed heater
G91 ; set to relative positioning
G1 E-2 F300 ; retract the filament a bit before lifting the nozzle to release some of the pressure
G1 Z1 ; raise Z 1mm from current position
G1 E-2 F300 ; retract filament even more
G90 ; set to absolute positioning
G1 X20 ; move X axis close to tower but hopefully far enough to keep the fan from rattling