Errors with G code for Qtpalmac

More
02 Feb 2025 22:51 #320458 by twatchorn
Errors with G code for Qtpalmac was created by twatchorn
Hi,
Not sure if I should have posted in the plasma or Fusion section - but thinking my problem maybe with post processor being used.
I have one CNC machine with Linux router and QTplamac setups on it. I am using Fusion 360 free version for CAD/CAM
Have only upgraded to the Qt version a few months ago, so have not cut many objects. V2.9-238.314.  Until now I have not had problems with files opening or being the correct shape.

This error will not let me open the file.
Operator error:
G-Code error in --file name.ngc
Near line 27 of
/tmp/emcfit-kh43m4p_d/..file name.ngc
Radius to end of arc differs from radius to start:
Then it gives start, center and end location details.

I tried modifying the model in about the location in error. When trying this new file it reported same type of error but in a different location.
(I can make a plywood cut out of the same model using the route program with out any problems)

Just as a test I modeled a L shaped plate by drawing 2 rectangles and radius the corners (not all radius the same size)
It opened the file without showing a error window, BUT the object had one incorrect radius. It was bigger than required but looked as if trying to  start at the correct point. Radius went out bigger than rectangle drawn.

If I open previous files I have used and they open okay.

Any help would be appreciated.
Regards
Trevor Watchorn


 

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

More
03 Feb 2025 08:03 #320475 by gekonko
Replied by gekonko on topic Errors with G code for Qtpalmac
Hello,
you provided too little info.
It seems like you need to increase precisison of the generated g-code or decrease required precision in qtplasmac
Did you read this below?
forum.linuxcnc.org/38-general-linuxcnc-q...ers-etc-etc?start=20

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

More
06 Feb 2025 22:04 #320858 by twatchorn
Replied by twatchorn on topic Errors with G code for Qtpalmac
Hello gekonko,
Thank you for your reply, I hadn't looked for replies as I thought I had ticked "send me email when there was a reply".
I don't know very much about G code so am attaching file and screen shots. Could you please have a look and if I need to add G92 show me how and where to add it.
I did 3 tests adding it in between N65 and N70, and called it N67.
First test with G92 then G92.1 and G92.2
The 3 different errors are all in the one error window

Kind Regards
Trevor
 
Attachments:

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

More
07 Feb 2025 02:11 #320873 by phillc54
Replied by phillc54 on topic Errors with G code for Qtpalmac
It seems the error is this line:
N170 G3 X-151.69812 Y48.52353 I0.74976 J4.58266

If I change it to a straight line like:
N170 G1 X-151.69812 Y48.52353
then it loads correctly.

Looking at the result it seems there are some oddities in the code around that line. The blue line in the graphic frame is the line changed above as shown in the code frame and the cut line does seem odd to me.
Warning: Spoiler!
Attachments:

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

Time to create page: 0.071 seconds
Powered by Kunena Forum