Marius Stanciu 6 年 前
コミット
f9580be396
1 ファイル変更1 行追加0 行削除
  1. 1 0
      flatcamParsers/ParseHPGL2.py

+ 1 - 0
flatcamParsers/ParseHPGL2.py

@@ -316,6 +316,7 @@ class HPGL2(Geometry):
                                 geo = LineString(path)
                                 geo = LineString(path)
                                 self.tools[current_tool]['solid_geometry'].append(geo)
                                 self.tools[current_tool]['solid_geometry'].append(geo)
                                 geo_buffer.append(geo)
                                 geo_buffer.append(geo)
+                                path[:] = []
 
 
                             # if linear_x or linear_y are None, ignore those
                             # if linear_x or linear_y are None, ignore those
                             if linear_x is not None and linear_y is not None:
                             if linear_x is not None and linear_y is not None: