“Use Filestar to convert CNC G-code (txt) to nc in my Downloads folder”
Or run it yourself:
filestarcli -i file.txt -c "convert to nc"
Runs on your computer, so your files stay on it. Works on Windows, macOS and Linux. 50 free conversions with the npm install, no account needed.
Can my AI agent convert CNC G-code (txt) to nc?
Yes. Install the Filestar CLI with npm install -g filestar and your agent can run filestarcli -i file.txt -c "convert to nc" on your computer, so your files stay on it.
A .txt file that holds G-code is a CNC machining or 3D-printer program saved as plain text; its content (G0/G1 motion words, no binary bytes), not the extension, says it is a program.