Sfoglia il codice sorgente

- removed the line that remove the spaces from the path parameter in the Tcl commands that open something (Gerber, Gcode, Excellon)

Marius Stanciu 6 anni fa
parent
commit
2c9657d9eb

+ 1 - 0
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
 

+ 1 - 1
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)

+ 1 - 1
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)

+ 1 - 1
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']