View Full Version : What's wrong here?


CharlieM
10-01-2008, 02:34 PM
Why does this path stop with K-Cam, and not come back to origin?

G01 X.1875 Y.0000 F.75
G02 X.3318 Y.3379 I.6550 J.0000
G02 X.5654 Y.4975 I.8532 J-.1743
G02 X1.3721 Y.4975 I.9687 J-.4544
G02 X1.6056 Y.3379 I1.0843 J-.1743
G02 X1.6056 Y-.3379 I1.2825 J.0000
G02 X1.3721 Y-.4975 I1.0843 J.1743
G02 X.5654 Y-.4975 I.9687 J.4544
G02 X.3318 Y-.3379 I.8532 J.1743
G02 X.1875 Y.0000 I.6550 J.0000
G01 X.0000 Y.0000

Dr Pete
10-01-2008, 04:11 PM
I get this error when I load it:
Error, line 2 in test file.nc:
The vector to the center defines
an invalid arc. The arc cannot
be drawn from the beginning point
to the ending point with the
center as specified.

Also, your last line has x & y going to zero but the program starts at x.1875 and y0

Hope this helps

CharlieM
10-01-2008, 04:35 PM
Well, I got much father than you did. The program ran through line 6 and then stopped.

I will go back and check the radius points to 5 decimal places.

The last line of code takes the machine back to where it started, which is X.0000 Y.0000

The first line of code is where the machine goes in it's first move, this is not the home of the machine.

SPARKIE.M
10-31-2008, 03:50 PM
Hi, i tryed this code in my Kcam router and it worked fine, cut out an oval and went back to X00 Y00.
i am using Kcam4 Ver 4.0.36
Good luck