Page 1 of 1

Compensation off must not be followed by arc - error

Posted: Fri Sep 22, 2017 9:49 pm
by JSRoy
Hi all,

I wanted my machine to cut the number 8 in wood. So I created the number 8 using QCAD/CAM, exploded the 8, configured and exported my cutting path using QCAD/CAM.

When I opened my .nc file using CNCLinux, it gave me a strange error:
The move just after exiting cutter compensation mode must be straight, not an arc
on line 23 of my .nc file.

Line 23, as generated by QCAD/CAM, is like so:

Code: Select all

N230 G40 X1.625 Y2.1806
The error goes away if I change it like this:

Code: Select all

N230 G40 G1 X1.625 Y2.1806
I'm very new at CNC and G-Coding. Any insight as to why I get this error?

Thank you,

JSRoy

Re: Compensation off must not be followed by arc - error

Posted: Fri Sep 22, 2017 10:38 pm
by andrew
Please proceed as follows:
- Quit QCAD/CAM
- Save the attached files LinuxCNC.js and LinuxCNCIN.js into the postprocessors folder of your QCAD/CAM installation.
- Start QCAD/CAM and load the updated attached file test228.dxf

This will add the extra G1 for every G40.

Note that I've also changed your lead in / out to quarter arcs since the straight leads would have left you with a small bump where the paths start / end. Feel free to change those back if you had other reasons for that.

Re: Compensation off must not be followed by arc - error

Posted: Sat Sep 23, 2017 6:15 pm
by JSRoy
Thank you for the fix, it works fine!