Sfoglia il codice sorgente

- more work in NCC Tool upgrade; each tool now work with it's own set of parameters

Marius Stanciu 6 anni fa
parent
commit
6c43ffca1e
3 ha cambiato i file con 352 aggiunte e 461 eliminazioni
  1. 4 4
      FlatCAMApp.py
  2. 1 0
      README.md
  3. 347 457
      flatcamTools/ToolNonCopperClear.py

+ 4 - 4
FlatCAMApp.py

@@ -4306,12 +4306,12 @@ class App(QtCore.QObject):
 
             try:
                 if kind == 'excellon':
-                    obj.fill_color = self.app.defaults["excellon_plot_fill"]
-                    obj.outline_color = self.app.defaults["excellon_plot_line"]
+                    obj.fill_color = self.defaults["excellon_plot_fill"]
+                    obj.outline_color = self.defaults["excellon_plot_line"]
 
                 if kind == 'gerber':
-                    obj.fill_color = self.app.defaults["gerber_plot_fill"]
-                    obj.outline_color = self.app.defaults["gerber_plot_line"]
+                    obj.fill_color = self.defaults["gerber_plot_fill"]
+                    obj.outline_color = self.defaults["gerber_plot_line"]
             except Exception as e:
                 log.warning("App.new_object() -> setting colors error. %s" % str(e))
 

+ 1 - 0
README.md

@@ -13,6 +13,7 @@ CAD program, and create G-Code for Isolation routing.
 
 - more changes to Excellon UI
 - changes to Geometry UI
+- more work in NCC Tool upgrade; each tool now work with it's own set of parameters
 
 16.01.2020
 

File diff suppressed because it is too large
+ 347 - 457
flatcamTools/ToolNonCopperClear.py


Some files were not shown because too many files changed in this diff