Skip to content

Instantly share code, notes, and snippets.

@NilsWildt
Created December 11, 2021 12:01
Show Gist options
  • Save NilsWildt/08db709aacd9c76b8ec53ebc411a1af7 to your computer and use it in GitHub Desktop.
Save NilsWildt/08db709aacd9c76b8ec53ebc411a1af7 to your computer and use it in GitHub Desktop.
Ender 3 pro 4.2.7 bltouch end gcode
; Ender 3 Custom End G-code
M400 ; Wait for current moves to finish
G4 ; Wait
M220 S100 ; Reset Speed factor override percentage to default (100%)
M221 S100 ; Reset Extrude factor override percentage to default (100%)
G91 ; Set coordinates to relative
G1 F1800 E-3 ; Retract filament 3 mm to prevent oozing
G1 F3000 Z20 ; Move Z Axis up 20 mm to allow filament ooze freely
G90 ; Set coordinates to absolute
G1 X0 Y{machine_depth} F1000 ; Move Heat Bed to the front for easy print removal
M106 S0 ; Turn off cooling fan
M104 S0 ; Turn off extruder
M140 S0 ; Turn off bed
M107 ; Turn off Fan
M84 ; Disable stepper motors
M117 Finished
; End of custom end GCode
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment