소스 검색

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

Marius Stanciu 6 년 전
부모
커밋
6c43ffca1e
3개의 변경된 파일352개의 추가작업 그리고 461개의 파일을 삭제
  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
 

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 347 - 457
flatcamTools/ToolNonCopperClear.py


이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.