Skip to content

Instantly share code, notes, and snippets.

@NilsWildt
Created December 11, 2021 12:00
Show Gist options
  • Save NilsWildt/1748a8431d3b11592b307fb4605cb24c to your computer and use it in GitHub Desktop.
Save NilsWildt/1748a8431d3b11592b307fb4605cb24c to your computer and use it in GitHub Desktop.
Ender 3 Pro 2.2.7 Marlin bltouch Start G-code
; Ender 3 Custom Start G-code
M190 S60
G28 ; Home all axes
G29 ; Auto bed-level (BL-Touch)
;*** Start Preheating ***
M104 S{material_print_temperature_layer_0} ; Set Extruder temperature
M140 S{material_bed_temperature_layer_0} ; Set Heat Bed temperature
M190 S{material_bed_temperature_layer_0} ; Wait for Heat Bed temperature
M109 S{material_print_temperature_layer_0} ; Wait for Extruder temperature
;*** End Preheating ***
M117 Purge extruder
G92 E0 ; Reset Extruder
G1 X0.1 Y20 Z0.3 F5000.0 ; Move to start position
G1 Z2.0 F3000 ; Move Z Axis up little to prevent scratching of Heat Bed
G1 X0.1 Y200.0 Z0.3 F1500.0 E15 ; Draw the first line
G1 X0.4 Y200.0 Z0.3 F5000.0 ; Move to side a little
G1 X0.4 Y20 Z0.3 F1500.0 E30 ; Draw the second line
G92 E0 ; Reset Extruder
G1 Z2.0 F3000 ; Move Z Axis up little to prevent scratching of Heat Bed
M117 Let's go!
; End of custom start GCode
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment