Skip to content

Instantly share code, notes, and snippets.

@rquackenbush
Last active October 29, 2023 03:51
Show Gist options
  • Save rquackenbush/07bf7537b123ed5373f4ebfda3ace668 to your computer and use it in GitHub Desktop.
Save rquackenbush/07bf7537b123ed5373f4ebfda3ace668 to your computer and use it in GitHub Desktop.
Ender 3 Custom GCode Prusa Slicer
M104 S0 ; turn off hot end temperature
M140 S0 ; turn off bed temp
; To avoid the Z axis crashing into the print
; https://github.com/MarlinFirmware/Marlin/issues/5652#issuecomment-270745225
G92 Z0 ; fake z home
G1 Z5 ; raise Z up a bit
; G1 Y190 F5000 ; get bed forward
G28 X0 ; home X axis
M84 ; disable motors
G28 ; home all axes
G1 Z5 F5000 ; lift nozzle
G29 ; mesh bed leveling
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment