Loading .ngc files into Universal Gcode Sender

I'm building a 3 xis mill based on UGS, Grbl, a Uno board, 3 TB6600, and 3 Powermax 2 Nema 23 motors.
I'm hooking up the motors individually to the board, and with a small sketch, testing them on the bench top.
Before my next step of trying out Grbl, I tried opening a file I have saved from about 15 yo, when I was running LinuxCnc (EMC2 then) and saved my Gcode via the Axis gui, as an *.ngc file.

UGC opens it, and displays something in the plot window(?), but informs me that the code is full of 'non valid Gcode commands'.
Am I faced with the inevitable labour of having to rewrite all my files from scratch ?

John

Quick experiment - removed all the square brackets and that was it !
Anyone know a quick way of deleting every instance of one character from a text file ? :grinning:
John

In linux:

tr -d '[]' filename.ngc > newfile.ngc

Huge thanks, DaveX.
"Off to the races"
John

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.