From 2c9657d9eb0a668e75eb9487f5a64d7a405b70fd Mon Sep 17 00:00:00 2001 From: Marius Stanciu Date: Fri, 27 Sep 2019 05:13:38 +0300 Subject: [PATCH] - removed the line that remove the spaces from the path parameter in the Tcl commands that open something (Gerber, Gcode, Excellon) --- README.md | 1 + tclCommands/TclCommandOpenExcellon.py | 2 +- tclCommands/TclCommandOpenGCode.py | 2 +- tclCommands/TclCommandOpenGerber.py | 2 +- 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index e2d7194b..a8277259 100644 --- a/README.md +++ b/README.md @@ -14,6 +14,7 @@ CAD program, and create G-Code for Isolation routing. - optimized the toggle axis command - added posibility of using a big mouse cursor or a small mouse cursor. The big mouse cursor is made from 2 infinite lines. This was implemented for both graphic engines - added ability to change the cursor size when the small mouse cursor is selected in Preferences -> General +- removed the line that remove the spaces from the path parameter in the Tcl commands that open something (Gerber, Gcode, Excellon) 27.09.2019 diff --git a/tclCommands/TclCommandOpenExcellon.py b/tclCommands/TclCommandOpenExcellon.py index 253221cd..cc4d7559 100644 --- a/tclCommands/TclCommandOpenExcellon.py +++ b/tclCommands/TclCommandOpenExcellon.py @@ -46,7 +46,7 @@ class TclCommandOpenExcellon(TclCommandSignaled): """ filename = args.pop('filename') - filename = filename.replace(' ', '') + # filename = filename.replace(' ', '') args['plot'] = False self.app.open_excellon(filename, **args) diff --git a/tclCommands/TclCommandOpenGCode.py b/tclCommands/TclCommandOpenGCode.py index 08ada089..0542f6dc 100644 --- a/tclCommands/TclCommandOpenGCode.py +++ b/tclCommands/TclCommandOpenGCode.py @@ -47,6 +47,6 @@ class TclCommandOpenGCode(TclCommandSignaled): """ args['plot'] = False filename = args["filename"] - filename = filename.replace(' ', '') + # filename = filename.replace(' ', '') self.app.open_gcode(filename, **args) diff --git a/tclCommands/TclCommandOpenGerber.py b/tclCommands/TclCommandOpenGerber.py index 18eae168..3ffbb221 100644 --- a/tclCommands/TclCommandOpenGerber.py +++ b/tclCommands/TclCommandOpenGerber.py @@ -62,7 +62,7 @@ class TclCommandOpenGerber(TclCommandSignaled): return filename = args['filename'] - filename = filename.replace(' ', '') + # filename = filename.replace(' ', '') if 'outname' in args: outname = args['outname']