Explorar o código

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

Marius Stanciu %!s(int64=6) %!d(string=hai) anos
pai
achega
b8495f06ca
Modificáronse 2 ficheiros con 2 adicións e 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: