~~NOTOC~~.
====== Gcode de début Cura ======
;**************************************************************************************
; Move to the Home position (0 0 0) XY first than Z axis
;**************************************************************************************
G28 X0 Y0 ;Move X/Y to min endstops
G28 Z0 ;Move Z to min endstops
G29 ;BL-Touch auto-level
;**************************************************************************************
; Purge la buse et la nettoie avant de lancer l'impression
;**************************************************************************************
G0 X0 Y10 F6000 ; Positionne la buse en (X0 Y10)
G0 Z0.15 ; Descend proche du lit chauffant
G92 E0 ; Initialise la longueur de filament extrude
;G1 E5 F6000 ; Extrude 5mm de filament
G1 X100 E25 F500 ; Extrude 25mm de filament sur une ligne de 10cm
G92 E0 ; Initialise la longueur de filament extrude
G1 E-1 F500 ; Retracte un peu le filament
G1 X80 F6000 ; Quitte rapidement la ligne de filament
G1 Z0.3 ; Monte la buse et commence a imprimer
M117 Printing... ; Put printing message on LCD screen
====== Gcode de fin Cura ======
;**************************************************************************************
; Stop hotend and hotbed
;**************************************************************************************
M104 S0 ;extruder heater off
M140 S0 ;heated bed heater off (if you have it)
;**************************************************************************************
; Retract and move the hotend up 20mm
;**************************************************************************************
G91 ;relative positioning
G1 E-1 F6000 ;retract the filament of 1mm before lifting the nozzle to release some of the pressure
G1 Z+20 E-3 X-20 Y-20 F6000 ;move Z up 20mm and retract filament even more
;**************************************************************************************
; Move hotend to (0 0) and advance bed to front
;**************************************************************************************
G28 X0 Y0 ;move X/Y to min endstops so the head is out of the way
G0 Y180 F3500 ;bring back plate to make removal easier
;**************************************************************************************
; Stop the motors and the fan
;**************************************************************************************
M84 ;steppers off
G90 ;absolute positioning
M107 ;fan off