Skip to content

Instantly share code, notes, and snippets.

View breakfastpizza's full-sized avatar

Niko breakfastpizza

View GitHub Profile
@breakfastpizza
breakfastpizza / ender3-customEnd.gcode
Created September 1, 2021 20:29
Ender 3 v2 Custom End G-Code
; Ender 3 Custom End G-code
M400 ; Wait for current moves to finish
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 F2400 E-3 ; Retract filament 3mm at 40mm/s to prevent stringing
G0 F5000 Z20 ; Move Z Axis up 20mm to allow filament ooze freely
G90 ; Set coordinates to absolute
G1 X0 Y{machine_depth} F5000 ; Present print
@breakfastpizza
breakfastpizza / ender3-customStart.gcode
Last active January 24, 2024 21:58
Ender 3 v2 UBL Custom Start G-Code
; Ender 3 Custom Start G-Code
;Cura
M140 S{material_bed_temperature_layer_0} ; Set Heat Bed temperature
M190 S{material_bed_temperature_layer_0} ; Wait for Heat Bed temperature
;Prusaslicer
M140 S[first_layer_temperature] ; Set Heat Bed temperature
M190 S[first_layer_bed_temperature] ; Wait for Heat Bed temperature
M104 S160 ; start warming extruder to 160