• my cura startup (pre-existing)
; set and wait on hot end temperature (Set nozzle to just below PLA melting point)
M104 S155 T0
M109 S155 T0
; set and wait on bed temperature
M140 S55
M190 S55
; set and wait on hot end temperature (Finish raising the hot-end temp to set value)
M104 S{material_print_temperature}    ;Start heating extruder
M140 S{material_bed_temperature}      ;Start heating bed
M109 S{material_print_temperature}    ;Wait for extruder to reach temp before proceeding
M190 S{material_bed_temperature}      ;Wait for bed to reach temp before proceeding
; home axes, probe/adjust z-offset, and pause 4s
G29 P0
G0 X0 Y0 Z60 F3600 ; [DV: added feedrate]
G4 S4
; extrude a strip outside of the perimeter
G92 E0
G1 X-54 Y0 Z0.32 F2700
;G3 X0 Y-54 I54 E20 F900; no arc right now
G92 E0
  • end gcode

M104 S0 T0; turn off hotend heater 
M140 S0; turn off bed heater 
G91; Switch to use Relative Coordinates 
G1 E-2 F300; retract the filament a bit before lifting the nozzle to release some of the pressure 
G1 Z5 E-5 F4800; move nozzle up a bit and retract filament even more 
G28; return to home positions so the nozzle is out of the way 
M84; turn off stepper motors 
G90; switch to absolute positioning 
M82; absolute extrusion mode