OK, these are stranger tides for me but here goes. I have a four hole pattern that will start at the top end (180) and the diameter is 36mm. The Z will rapid at 20mm above the material. I will set the coordinates in the middle of the circle and to zero. So the code is like this if I am correct
g90 g0 x0 y18 z20 g91 g81 ^90 z-5 r20 l4 f100 On 2014-09-29 16:09, Chris Radek wrote: > On Mon, Sep 29, 2014 at 02:20:47PM +0100, andy pugh wrote: >> Actually, after checking the docs, that will probably drill a spiral of >> holes. >> http://linuxcnc.org/docs/html/gcode/overview.html#_polar_coordinates >> >> I might need to be >> G0 X2 >> G81 ^60 Z-0.126 L6 > Since you need incremental angle, you have to be in g91 mode > (repeating drill cycles are always done in g91 mode; it's not > peculiar to polar) > > g90 g0 x2 y0 z.1 > g91 g81 ^60 z-.226 r0 l6 f9 > > > ------------------------------------------------------------------------------ > Slashdot TV. Videos for Nerds. Stuff that Matters. > http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk > _______________________________________________ > Emc-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/emc-users > -- Regards /Groete Marius D. Liebenberg +27 82 698 3251 +27 12 743 6064 QQ 1767394877 ------------------------------------------------------------------------------ Slashdot TV. Videos for Nerds. Stuff that Matters. http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
