Marius Stanciu 6 年之前
父節點
當前提交
ae8111bf59
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      flatcamTools/ToolSilk.py

+ 1 - 1
flatcamTools/ToolSilk.py

@@ -197,7 +197,7 @@ class ToolSilk(FlatCAMTool):
                                 new_solid_geometry.append(geo_silk)
 
         try:
-            while True:
+            while not self.new_apertures[aperture_id]['solid_geometry']:
                 self.new_apertures[aperture_id]['solid_geometry'] = new_solid_geometry
                 time.sleep(0.1)
         except: