Gcode2contour creating too many very short contours
sometimes there is gcode like:
G92 E0
G1 X245.603 Y41.293 F7800.000
G1 E2.00000 F2400.00000
G1 F1800
G1 X245.341 Y41.380 E2.00780
G1 F1800
G1 X245.182 Y41.425 E2.01391
G1 F1800
G1 X245.023 Y41.470 E2.02239
G1 F1800
G1 X244.922 Y41.494 E2.02871
G1 F1800
G1 X244.776 Y41.528 E2.04015
G1 F1800
G1 X244.630 Y41.563 E2.05387
G1 F1800
G1 X244.520 Y41.584 E2.06547
G1 F1800
G1 X244.381 Y41.610 E2.08242
G1 F1800
G1 X244.242 Y41.636 E2.10168
G1 F1800G1 F1800
G1 X244.126 Y41.654 E2.11947
G1 F1800
G1 X244.003 Y41.671 E2.14032
G1 X243.885 Y41.582 E2.16506
G1 F1800
G1 X242.702 Y40.642 E2.40146
G1 E0.40146 F2400.00000
G92 E0
G1 X239.468 Y45.608 F7800.000
G1 E2.00000 F2400.00000
G1 F1800
This fails because of this line. Need a better way to catch when gcode contour is finished.