HELP:radius to end differs from radius to start

More
12 years 3 weeks ago #51830 by ZeroLab
:(
I'm continously getting this error from a file I am generating with mastercamx
Code:
Radius to end of arc differs from radius to start: start=(x15.5420,y1.3680) center=(x15.6530,y1.1070) end=(x15.5770,y1.3830) r1=0.368 r2=0.3738 abs_err=0.005674 rel_err=1.5180%





so i checked the gcode file and i think the problem is here somewhere
Code:
N8274 G2 X15.577 Y1.383 I.111 J-.351 N8276 X15.611 Y1.386 I.034 J-.165 N8278 X15.644 Y1.383 I0. J-.168 N8280 X15.922 Y1.132 I-.073 J-.361 N8282 G3 X15.95 Y1.096 I.06 J.018 N8284 G1 X16.277 Y.907 N8286 X16.286 Y.902 N8288 X16.29 Y.9 N8290 X16.293 Y.898 N8292 X16.295 Y.897 N8294 X16.307 Y.89 N8296 X16.304 Y.876 N8298 X16.301 Y.866

i was triyng figuring out how to change the radius but it seems not so simple.

Can anybody help me with it?

it would be very appreciated! :silly:

Please Log in to join the conversation.

More
12 years 3 weeks ago #51831 by emcPT
The error is between line N8274 and the previous one. Can you post the previous line?

Please Log in to join the conversation.

More
12 years 3 weeks ago #51840 by ZeroLab
those are the previuos lines
Code:
N8262 G1 X15.524 Y1.352 N8264 X15.521 N8266 X15.512 Y1.354 N8268 X15.508 Y1.355 N8270 X15.525 Y1.362 N8272 X15.542 Y1.368 N8274 G2 X15.577 Y1.383 I.111 J-.351 N8276 X15.611 Y1.386 I.034 J-.165 N8278 X15.644 Y1.383 I0. J-.168 N8280 X15.922 Y1.132 I-.073 J-.361

Please Log in to join the conversation.

More
12 years 3 weeks ago #51848 by emcPT
The error is that for the machine to move from:

N8272 X15.542 Y1.368

to

N8274 G2 X15.577 Y1.383 I.111 J-.351

using that defined center is impossible as the length of the segment that goes from the center to the first point is different than the length of the segment from the center to the second point.

Two remarks: If this is programmed in mm (I do not know, you did not told), then this arc will almost be line a straight line, as its curve have a maximum distance from the line of about 0.0005mm, probably much less than your machine resolution.
If this was generated automatically by a CAM, probably you need to add more resolution in the output, more decimals as the rounding can be the problem.


Never less, if you change the second line from

N8274 G2 X15.577 Y1.383 I.111 J-.351

to

N8274 G2 X15.577 Y1.383 I.1269 J-.3444

The machine should understand this segment, but there is the possibility that fails in the next (or later) ones, as there are many arcs that probably will suffer from the same initial problem.

Please Log in to join the conversation.

More
12 years 3 weeks ago #51851 by ZeroLab
thank you again!!! you just solved my problem, now i'm trying to figure out how did you!!
again again
Thanks!

Please Log in to join the conversation.

Time to create page: 2.010 seconds
Powered by Kunena Forum