NGCGUI arc1 and arc2 are not adding a tool offset

More
01 Sep 2024 12:02 #309141 by chrisfairbrothern
I am now using qtdragon with linuxcnc 2.10.0 and have ventured into the ngcgui programs. Arc1.ngc and arc2.ngc (arc2 calls arc1) are not adding tool compensation (g41, G42).
The solution is to remove the backslash from 4 lines 266-274 in arc1.ngc.
They should read as follows:-
            g42 ;# cutter compensation right of path
o<ifi1>   else
            g41 ;# cutter compensation left of path
o<ifi1>   endif
o<ifi0> else
o<ifi2>   if [#<dir> EQ 2]
            g41 ;# cutter compensation left of path
o<ifi2>   else
            g42 ;# cutter compensation right of path

The file is located in ~/linuxcnc/nc_files/ngcgui_lib
You will have to be root to edit this file. I.E. sudo nano arc1.ngc

Please Log in or Create an account to join the conversation.

More
01 Sep 2024 16:25 - 01 Sep 2024 16:26 #309157 by Aciera
Thanks for the feedback.
However this is actually likely a case of 'it's not a bug but a feature' as the slash lets the operator activate/deactivate the cutter radius compensation using optional block delete:
 
Attachments:
Last edit: 01 Sep 2024 16:26 by Aciera.

Please Log in or Create an account to join the conversation.

Time to create page: 0.080 seconds
Powered by Kunena Forum