Explorar el Código

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

Marius Stanciu hace 6 años
padre
commit
6c43ffca1e
Se han modificado 3 ficheros con 352 adiciones y 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
 

La diferencia del archivo ha sido suprimido porque es demasiado grande
+ 347 - 457
flatcamTools/ToolNonCopperClear.py


Algunos archivos no se mostraron porque demasiados archivos cambiaron en este cambio