Skip to content

Instantly share code, notes, and snippets.

Created May 27, 2021 06:06
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
What would you like to do?
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