开始:
G28 ;Home
G92 E0 ; reset extruder
;Prime the extruder
G1 Z10.0 F3000 ; move z up little to prevent scratching of surface
G1 E7 F1000;
G1 Z1.0 F3000 ; move z up little to prevent scratching of surface
G1 X200.0 Y0.2 Z0.3 F5000.0 ; move to start-line position
G1 X100.0 Y0.2 Z0.3 F1500.0 E10 ; draw 1st line
G1 X100.0 Y0.6 Z0.3 F5000.0 ; move to side a little
G1 X200.0 Y0.6 Z0.3 F1500.0 E20 ; draw 2nd line
G92 E0 ; reset extruder
G1 Z1.0 F3000 ; move z up little to prevent scratching of surface
结束:
G1 E-6 F1000;
M104 S0 T0 ; turn off temperature
M140 S0 ; turn off bed
G1 X110 Y220 F10000
M84 ; disable motors