diff --git a/flatcamParsers/ParseHPGL2.py b/flatcamParsers/ParseHPGL2.py index 3798a8be..30846abe 100644 --- a/flatcamParsers/ParseHPGL2.py +++ b/flatcamParsers/ParseHPGL2.py @@ -316,6 +316,7 @@ class HPGL2(Geometry): geo = LineString(path) self.tools[current_tool]['solid_geometry'].append(geo) geo_buffer.append(geo) + path[:] = [] # if linear_x or linear_y are None, ignore those if linear_x is not None and linear_y is not None: