diff --git a/README.md b/README.md index 4c3ca8df..00abfcbc 100644 --- a/README.md +++ b/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 diff --git a/tclCommands/TclCommandMillDrills.py b/tclCommands/TclCommandMillDrills.py index 2d88d12f..cb441758 100644 --- a/tclCommands/TclCommandMillDrills.py +++ b/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): diff --git a/tclCommands/TclCommandOpenGerber.py b/tclCommands/TclCommandOpenGerber.py index 4c4c6ba6..0b67f83c 100644 --- a/tclCommands/TclCommandOpenGerber.py +++ b/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