Skip to content

jmr1/vscode-ncproj

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NC Project extension for Visual Studio Code

Develop and validate CNC programs.

NC Project

News

  • Version 0.5.3 released
    • New Features
    • Enhancements
      • Extend inch units for addresses and operations to 5 decimal digits.
    • Bug fixes
      • Disable decimal units for the D address on FANUC lathe, mill, and mill-turn, as well as for Makino mill.

Features

  • Support for Mill, Lathe and Turn & Mill Machines

  • Code correctness and Code Groups validation

  • Code completion for G/M codes

  • Hovers for G/M codes, macro values and G/M codes with macros (i.e. G#1)

    macro macro2

  • Code Lens showing computed path and time for given line of CNC code
    Switch to toggle Code Lens: "NC Project: Toggle Path and Time Calculation" macro

  • Machine Tool and Driver configuration creation/selection

  • Syntax coloring

  • Status bar

  • Commands

  • On hover description of macro variables

  • System macros for words: B,D,E,F,H,M,N,S,T

Current supported file extensions

".nc", ".txt", ".ptp", ".dat", ".mcd", ".spf", ".001", ".cnc", ".dnc", ".eia", ".fan", ".fnc", ".g", ".g00", ".gcode", ".iso", ".lib", ".min", ".ncl", ".out", ".pm", ".prf", ".prg", ".pu1", ".sub", ".tap", ".tp"

If you would like another file extension supported by this extension, please open an issue.

Usage

Install & activate extension. Extension activates when you open a supported extension file

Configuring extension

Create machine tool and driver configuration

Create machine tool and driver configuration

Select machine tool and driver configuration

Select machine tool and driver configuration

Known Issues

Please visit GitHub Issues page for any open issues.

Troubleshooting

Extension does not seem to work

Installation of the latest Microsoft Visual C++ Redistributable packages for Visual Studio may be required: https://aka.ms/vs/17/release/vc_redist.x64.exe

Further troubleshooting

Navigate to: "%USERPROFILE%\.vscode\extensions" Then navigate to extension binaries folder: jrupar-mcieslik.ncproj-*\vscode-client\out Execute: nclangsrv.exe Watch for any errors.

Machine Tool and Driver configuration GUI window does not start

Installation of .NET Framework 4.7.2 redistributable may be required.

Further troubleshooting

Navigate to: "%USERPROFILE%\.vscode\extensions" Then navigate to extension binaries folder: jrupar-mcieslik.ncproj-0.0.1\vscode-client\out Execute: cmtconfig.exe Watch for any errors.

Contributors

License

This extension is licensed under the MIT License.