G21 ;metric values G90 ;absolute positioning M82 ;set extruder to absolute mode M107 ;start with the fan off G1 Z25.0 F9000 ;move the platform down 15mm G28 X0 Y0 ;move X/Y to min endstops G32 ;Probe Z and calculate Z plane G92 Z23.18 ;Offset Z G1 X150 Y0 F3000 ; Avance avant bed G4 P1000 ; wait 1 second (see comment below) G92 E0 ;mise a zéro extrudeuse G1 F600 E10 ;extrude 20 mm G92 E0 ;mise a zéro extrudeuse G92 E0 ;mise a zéro extrudeuse G1 Z10 F5000 ; lift nozzle M220 S30
M104 S0 ; turn off temperature M140 S0 ; Turn Off Bed G28 X0 ; home X axis G1 Y215 ; Yaxis to front M84 ; disable motors