This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; 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 |