Kod: Zaznacz cały
G21 ;metric values
G90 ;absolute positioning
M82 ;set extruder to absolute mode
M107 ;start with the fan off
G28 X0 Y0 ;move X/Y to min endstops
G28 Z0 ;move Z to min endstops
G1 Z15.0 F{speed_travel} ;move the platform down 15mm
G92 E0 ;zero the extruded length
G1 F200 E3 ;extrude 3mm of feed stock
G92 E0 ;zero the extruded length again
G1 F{speed_travel}
M117 Printing...
G5
Kod: Zaznacz cały
;FLAVOR:Marlin
;TIME:530
;Filament used: 0.259456m
;Layer height: 0.2
;MINX:100.2
;MINY:100.2
;MINZ:0.3
;MAXX:119.8
;MAXY:119.8
;MAXZ:19.9
;Generated with Cura_SteamEngine 4.4.0
M140 S60
M105
M190 S60
M104 S200
M105
M109 S200
M82 ;absolute extrusion mode
G21 ;metric values
G90 ;absolute positioning
M82 ;set extruder to absolute mode
M107 ;start with the fan off
G28 X0 Y0 ;move X/Y to min endstops
G28 Z0 ;move Z to min endstops
G1 Z15.0 F60 ;move the platform down 15mm
G92 E0 ;zero the extruded length
G1 F200 E3 ;extrude 3mm of feed stock
G92 E0 ;zero the extruded length again
G1 F60
M117 Printing...
G5
G92 E0
G92 E0
G1 F1500 E-6.5
;LAYER_COUNT:99
;LAYER:0
M107
M204 S300
M205 X8.18 Y8.18
;MESH:cube 20 mm kostka testowa zwyk??a prosta bez niczego dziewicza.stl
G0 F1440 X100.2 Y119.8 Z0.3
M205 X3 Y3
;TYPE:WALL-OUTER
G1 F1500 E0
G1 F1200 X100.2 Y100.2 E0.97785
G1 X119.8 Y100.2 E1.9557
G1 X119.8 Y119.8 E2.93354
G1 X100.2 Y119.8 E3.91139
M205 X8.18 Y8.18
Kod: Zaznacz cały
G92 E0
G1 F1500 E-6.5
Kod: Zaznacz cały
G0 F1440 X100.2 Y119.8 Z0.3
G1 F1500 E0
G1 F1200 X100.2 Y100.2 E0.97785
G1 X119.8 Y100.2 E1.9557
G1 X119.8 Y119.8 E2.93354
G1 X100.2 Y119.8 E3.91139
Gdyby drukarka nie zrobiła tej retrakcji, to po napełnieniu głowicy (linią rozbiegową bądź, jak w tym przykładzie, ekstruzją w powietrzu) mielibyśmy niekontrolowany wypływ materiału z głowicy i wtedy na pewno by go brakło na początku wydruku.