Skip to content

Instantly share code, notes, and snippets.

@Salamafet
Created July 28, 2020 19:38
Show Gist options
  • Save Salamafet/fea0cac0503af761e7910cf6c833e9aa to your computer and use it in GitHub Desktop.
Save Salamafet/fea0cac0503af761e7910cf6c833e9aa to your computer and use it in GitHub Desktop.
Ultimate Cura gcode start sequence : Heating and bed leveling at same time
M140 S{material_bed_temperature} ; start preheating the bed WITHOUT wait to what is set in Cura
M104 S{material_print_temperature} T0 ; start preheating hotend WITHOUT wait to what is set in Cura
M280 P0 S160 ; BLTouch alarm release
G4 P100 ; delay for BLTouch
G28 ; home
G29 ; auto bed leveling
M190 S{material_bed_temperature} ; start heating the bed to what is set in Cura and WAIT
M109 S{material_print_temperature} T0 ; start heating hotend to what is set in Cura and WAIT
G92 E0 ; Reset Extruder
; M92 E97 ; esteps hard set
G1 Z2.0 F3000 ; Move Z Axis up little to prevent scratching of Heat Bed
G1 X0.1 Y20 Z0.3 F5000.0 ; Move to start position
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 E-2 F1800 ;retract 2mm at 30mm/s
G1 Z2.0 F3000 ; Move Z Axis up little to prevent scratching of Heat Bed
G1 E1.8 F1800 ;retract 2mm at 30mm/s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment