Explorar el Código

- solved the issue in Silkscreen Tool with losing some fragments of wires from silkscreen

Marius Stanciu hace 6 años
padre
commit
b8495f06ca
Se han modificado 2 ficheros con 2 adiciones y 1 borrados
  1. 1 0
      README.md
  2. 1 1
      flatcamTools/ToolSilk.py

+ 1 - 0
README.md

@@ -15,6 +15,7 @@ CAD program, and create G-Code for Isolation routing.
 - solved bug in editors: the canvas selection shape was not deleted on mouse release if the grid snap was OFF
 - solved bug in Excellon Editor: when selecting a drill hole on canvas the selected row in the Tools Table was not the correct onw but the next highest row
 - finished the Silkscreen Tool but there are some limitations (some wires fragments from silkscreen are lost)
+- solved the issue in Silkscreen Tool with losing some fragments of wires from silkscreen
 
 26.04.2019
 

+ 1 - 1
flatcamTools/ToolSilk.py

@@ -287,7 +287,7 @@ class ToolSilk(FlatCAMTool):
                 for poly in self.new_apertures[ap]['solid_geometry']:
                     poly_buff.append(poly)
 
-            work_poly_buff = MultiPolygon(poly_buff)
+            work_poly_buff = cascaded_union(poly_buff)
             try:
                 poly_buff = work_poly_buff.buffer(0.0000001)
             except ValueError: