From 48a15e27b76b24ded4372c8ab2284f781b28ddb5 Mon Sep 17 00:00:00 2001 From: Marius Stanciu Date: Thu, 7 Nov 2019 17:11:31 +0200 Subject: [PATCH] - corrections regarding the adding of .ngc file extensions --- FlatCAMApp.py | 6 +++--- README.md | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/FlatCAMApp.py b/FlatCAMApp.py index e735f676..c5a1327f 100644 --- a/FlatCAMApp.py +++ b/FlatCAMApp.py @@ -828,7 +828,7 @@ class App(QtCore.QObject): # file associations "fa_excellon": 'drd, drl, exc, ncd, tap, xln', "fa_gcode": 'cnc, din, dnc, ecs, eia, fan, fgc, fnc, gc, gcd, gcode, h, hnc, i, min, mpf, mpr, nc, ncc, ' - 'ncg, ncp, out, plt, ply, rol, sbp, tap, xpi', + 'ncg, ncp, ngc, out, plt, ply, rol, sbp, tap, xpi', "fa_gerber": 'art, bot, bsm, cmp, crc, crs, dim, g4, gb0, gb1, gb2, gb3, gb5, gb6, gb7, gb8, gb9, gbd, ' 'gbl, gbo, gbp, gbr, gbs, gdo, ger, gko, gm1, gm2, gm3, grb, gtl, gto, gtp, gts, ly15, ly2, ' 'mil, pho, plc, pls, smb, smt, sol, spb, spt, ssb, sst, stc, sts, top, tsm', @@ -2378,8 +2378,8 @@ class App(QtCore.QObject): self.exc_list = ['drd', 'drl', 'exc', 'ncd', 'tap', 'txt', 'xln'] self.gcode_list = ['cnc', 'din', 'dnc', 'ecs', 'eia', 'fan', 'fgc', 'fnc', 'gc', 'gcd', 'gcode', 'h', 'hnc', - 'i', 'min', 'mpf', 'mpr', 'nc', 'ncc', 'ncg', 'ncp', 'out', 'plt', 'ply', 'rol', 'sbp', - 'tap', 'xpi'] + 'i', 'min', 'mpf', 'mpr', 'nc', 'ncc', 'ncg', 'ngc', 'ncp', 'out', 'plt', 'ply', 'rol', + 'sbp', 'tap', 'xpi'] self.svg_list = ['svg'] self.dxf_list = ['dxf'] self.pdf_list = ['pdf'] diff --git a/README.md b/README.md index 97f55356..d7942683 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ CAD program, and create G-Code for Isolation routing. 7.11.2019 -- added the '.ngc' fiel extension to the GCode Save file dialog filter +- added the '.ngc' file extension to the GCode Save file dialog filter - made the 'M2' Gcode command footer optional, default is False (can be set using the TclCommand: set_sys cncjob_footer True) - added a setting in Preferences to force the GCode output to have the Windows line-endings even for non-Windows OS's