Kod: Zaznacz cały
M104 S0 ;extruder heater off
M140 S0 ;heated bed heater off (if you have it)
G91 ;relative positioning
G1 E-1 F300 ;retract the filament a bit before lifting the nozzle, to release some of the pressure
G1 Z+0.5 E-5 X-20 Y-20 F9000 ;move Z up a bit and retract filament
G28 X0 ;move X to min endstops, so the head is out of the way
G1 Y200 F5000 ;move completed part out
M84 ;steppers off
G90 ;absolute positioning