Haik wrote:I think it would be useful if the user could point UCCNC to use an external application for gCode editing. For NC files I like to use Microsoft
Visual Studio Code, which is freeware. Adding to that an extension (aka: plugin) by the name of
nc-code which provides many NC editing features (see screenshot).
It would be great if I could just keep using what I'm used to.
vsCode.png
UCCNC can point to an external application to edit your Gcode.
1. Create a Macro with a # between 20000 - 21999
2. Add code below, replace notepad.exe in quotations with exe you want to open.
3. Using screen edit in UCCNC change the button number for the Edit File button from 126 to the macro number you used.
Once you save file in external application and close it UCCNC will reload the edited file.
Dan
- Code: Select all
string gcpath = exec.Getgcodefilename();
System.Diagnostics.Process.Start("notepad.exe",gcpath).WaitForExit();
exec.Loadfile(gcpath);
//////////////////////////////////////////////////////////////////////////////////////
Terry I created a UCCNC Unit Converter plugin, I will post in the toolbox section.