From f40bc172848b06ad5adcb8dbed521b96fed8b69e Mon Sep 17 00:00:00 2001 From: Marius Stanciu Date: Fri, 15 Nov 2019 11:26:18 +0200 Subject: [PATCH] - added the .gcode extension to the GCode saving dialog filter --- FlatCAMObj.py | 2 +- README.md | 4 ++++ flatcamTools/ToolSolderPaste.py | 4 ++-- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/FlatCAMObj.py b/FlatCAMObj.py index 749b023b..f1908ef1 100644 --- a/FlatCAMObj.py +++ b/FlatCAMObj.py @@ -6052,7 +6052,7 @@ class FlatCAMCNCjob(FlatCAMObj, CNCjob): "All Files (*.*)" else: _filter_ = "G-Code Files (*.nc);;G-Code Files (*.txt);;G-Code Files (*.tap);;G-Code Files (*.ngc);;" \ - "G-Code Files (*.cnc);;G-Code Files (*.g-code);;All Files (*.*)" + "G-Code Files (*.cnc);;G-Code Files (*.g-code);;All Files (*.*);;G-Code Files (*.gcode)" try: dir_file_to_save = self.app.get_last_save_folder() + '/' + str(name) diff --git a/README.md b/README.md index c63dfbc6..b016eaf8 100644 --- a/README.md +++ b/README.md @@ -9,6 +9,10 @@ CAD program, and create G-Code for Isolation routing. ================================================= +15.11.2019 + +- added the .gcode extension to the GCode saving dialog filter + 14.11.2019 - made sure that the 'default' postprocessor file is always loaded first such that this name is always first in the GUI comboboxes diff --git a/flatcamTools/ToolSolderPaste.py b/flatcamTools/ToolSolderPaste.py index 3705dc1a..af75915c 100644 --- a/flatcamTools/ToolSolderPaste.py +++ b/flatcamTools/ToolSolderPaste.py @@ -1442,7 +1442,7 @@ class SolderPaste(FlatCAMTool): def on_save_gcode(self): """ - Save sodlerpaste dispensing GCode to a file on HDD. + Save solderpaste dispensing GCode to a file on HDD. :return: """ @@ -1457,7 +1457,7 @@ class SolderPaste(FlatCAMTool): return _filter_ = "G-Code Files (*.nc);;G-Code Files (*.txt);;G-Code Files (*.tap);;G-Code Files (*.cnc);;" \ - "G-Code Files (*.g-code);;All Files (*.*)" + "G-Code Files (*.g-code);;All Files (*.*);;G-Code Files (*.gcode);;G-Code Files (*.ngc)" try: dir_file_to_save = self.app.get_last_save_folder() + '/' + str(name)