Skip to content

Instantly share code, notes, and snippets.

@Sebazzz
Created May 27, 2021 06:06
Show Gist options
  • Save Sebazzz/58825c5dedcb09029fe57eec474880e9 to your computer and use it in GitHub Desktop.
Save Sebazzz/58825c5dedcb09029fe57eec474880e9 to your computer and use it in GitHub Desktop.
PrusaSlicer CR-6 / CR-10 Smart end gcode
M104 S0 ; turn off temperature
M140 S0 ; turn off heatbed
M107 ; turn off fan
{if layer_z < max_print_height}G1 Z{z_offset+min(layer_z+10, max_print_height)} F600{endif} ; Move print head up
G1 X0 Y200 F3000 ; present print
M84 X Y E ; disable motors
M117 All Done
M300 S500
G1 X0 Y230 ;Present print
M106 S0 ;Turn-off fan
M104 S0 ;Turn-off hotend
M140 S0 ;Turn-off bed
M117 Notifying
M300 P100
G4 P250
M300 P50
G4 P150
M300 P100
M84 X Y E ;Disable all steppers but Z
M117 kthnxbye
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment