Prechádzať zdrojové kódy

- fixed some TclCommands: MillDrills and OpenGerber

Marius Stanciu 6 rokov pred
rodič
commit
50abe2883d

+ 1 - 0
README.md

@@ -12,6 +12,7 @@ CAD program, and create G-Code for Isolation routing.
 19.11.2019
 
 - removed the f-strings replacing them with the traditional string formatting due of not being supported by older versions of Python 3
+- fixed some TclCommands: MillDrills and OpenGerber
 
 18.11.2019
 

+ 3 - 1
tclCommands/TclCommandMillDrills.py

@@ -5,9 +5,11 @@
 # MIT Licence                                              #
 # ##########################################################
 
-from ObjectCollection import *
 from tclCommands.TclCommand import TclCommandSignaled
+from FlatCAMObj import FlatCAMExcellon
+
 import math
+import collections
 
 
 class TclCommandMillDrills(TclCommandSignaled):

+ 2 - 1
tclCommands/TclCommandOpenGerber.py

@@ -1,5 +1,6 @@
 from tclCommands.TclCommand import TclCommandSignaled
-from camlib import Geometry, ParseError
+from camlib import ParseError
+from FlatCAMObj import FlatCAMGerber
 
 import collections