Skip to content

Instantly share code, notes, and snippets.

@SippieCup
Created September 26, 2020 00:58
Show Gist options
  • Save SippieCup/033b77e810f9dceaa35a5171b4039469 to your computer and use it in GitHub Desktop.
Save SippieCup/033b77e810f9dceaa35a5171b4039469 to your computer and use it in GitHub Desktop.
CR-6SE End GCode
G91 ;Relative positionning
G1 E-2 F2700 ;Retract a bit
G1 E-2 Z0.2 F2400 ;Retract and raise Z
G1 X5 Y5 F3000 ;Wipe out
G1 Z10 ;Raise Z more
G90 ;Absolute positionning
{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 Y220 ;Present print
M106 S0 ;Turn-off fan
M104 S0 ;Turn-off hotend
M140 S0 ;Turn-off bed
M84 ;Disable all steppers
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment