Explorar o código

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

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

A diferenza do arquivo foi suprimida porque é demasiado grande
+ 347 - 457
flatcamTools/ToolNonCopperClear.py


Algúns arquivos non se mostraron porque demasiados arquivos cambiaron neste cambio