Procházet zdrojové kódy

- reverted a change in GCode that might affect Gerber polarity change in Gerber parser

Marius Stanciu před 7 roky
rodič
revize
1cab33314f
2 změnil soubory, kde provedl 2 přidání a 1 odebrání
  1. 1 0
      README.md
  2. 1 1
      camlib.py

+ 1 - 0
README.md

@@ -17,6 +17,7 @@ CAD program, and create G-Code for Isolation routing.
 - added the ability to open FlatConfig configuration files in COde Editor, Modify them and then save them.
 - added ability to double click the FlatConfig files and open them in the FlatCAM Code Editor (to be verified)
 - when saving a file from Code Editor and there is no object active then the OpenFileDialog filters are reset to FlatConfig files.
+- reverted a change in GCode that might affect Gerber polarity change in Gerber parser
 
 23.02.2019
 

+ 1 - 1
camlib.py

@@ -2246,7 +2246,7 @@ class Gerber (Geometry):
 
                         else:
                             self.follow_geometry = self.solid_geometry.difference(cascaded_union(follow_buffer))
-                            self.solid_geometry = self.solid_geometry.union(cascaded_union(poly_buffer))
+                            self.solid_geometry = self.solid_geometry.difference(cascaded_union(poly_buffer))
 
                         follow_buffer = []
                         poly_buffer = []