Skip to content

Instantly share code, notes, and snippets.

@awill1988
Created January 9, 2022 06:43
Show Gist options
  • Save awill1988/359ade4473bc1ddc79027bb18a139861 to your computer and use it in GitHub Desktop.
Save awill1988/359ade4473bc1ddc79027bb18a139861 to your computer and use it in GitHub Desktop.
End G-Code
G91 ;Relative positioning
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 positioning
G1 X0 Y{machine_depth} ;Present print
M106 S0 ;Turn-off fan
M104 S0 ;Turn-off hotend
M140 S0 ;Turn-off bed
M84 X Y E ;Disable all steppers but Z
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment