Machsupport Forum

G-Code, CAD, and CAM => G-Code, CAD, and CAM discussions => Topic started by: Tef9 on June 23, 2008, 09:15:49 AM

Title: Arcs I ... K .... and all the others
Post by: Tef9 on June 23, 2008, 09:15:49 AM
Hello,

I am looking to Gcode a basic arc, however I have no idea where to start, I have written taper, and (thanks to Graham) doubble tapers so I suppose an arc is the next logical progression.  I know they use the I and K values however this is the limit of my knowledge.

If anyone has a straighfoward example they could share or code somthing up quickly that would be great.

I am useing a small sherline cnc lathe.

Cheers,

Andy
Title: Re: Arcs I ... K .... and all the others
Post by: Overloaded on June 23, 2008, 09:49:40 AM
Hello Andy,
http://www.machsupport.com/docs/Mach3Turn_1.84.pdf
Check out chapter 10.7.3
It should answer most of your questions.
RC
Title: Re: Arcs I ... K .... and all the others
Post by: Tef9 on June 23, 2008, 10:05:28 AM
Hi,

Thanks for this, and gives me somthnig to read, however I do learn better with code examples if any one has a simple one to offer.

Thanks,

Andy
Title: Re: Arcs I ... K .... and all the others
Post by: Graham Waterworth on June 23, 2008, 05:56:32 PM
Ok, here is a bit of code :-

For a lathe to put a 5mm rad on the end of a bar in diameter mode.

G00 X0 Z0 (move to start point)
G03 X10. Z-5. R5. (form rad)
G00 X50. Z50.(rapid away)

Graham.