On 15 November 2010 20:51, Kirk Wallace <kwall...@wallacecompany.com> wrote:

> You can use g-code o-words to loop the concentric arcs, but I believe
> AXIS won't show the looped paths.

It does preview the looped paths.

This might do what you want.

G7
G18
G90.1 ; absolute arc centres
#<rad> = 0.5
#<angle> = 120
#<dia> = 1.5 ; start diameter
#<cut> = 0.10
F2

G0 X0 Z0
G1 X#<dia>
G1 Z [-2 * #<rad>]
G1 X0
#1 = [[#<dia>/2] * 1.3]
O100 WHILE [#1 GT #<rad> + #<cut>]
#1 = [#1 - #<cut>]
G0 Z[#1 - #<rad>]
G0 X0
G3 Z [ #1 * cos[#<angle>] - #<rad>] X [2 * #1 * sin[#<angle>]] I0 K[0-#<rad>]
G1 Z [ #<dia>/2 * cos[#<angle>] - #<rad>] X [#<dia> * sin[#<angle>]]
G0 X [[#<dia>/2] * 3]
O100 END WHILE

#1 = #<rad>
G0 Z 0
G0 X 0
G3 Z [ #1 * cos[#<angle>] - #<rad>] X [2 * #1 * sin[#<angle>]] I0 K[0-#<rad>]
G1 Z [ #<dia>/2 * cos[#<angle>] - #<rad>] X [#<dia> * sin[#<angle>]]
G0 X [#<dia> + 0.2]

M2

-- 
atp

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today
http://p.sf.net/sfu/msIE9-sfdev2dev
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to