Here is a simple 1/8 ball around a 1" dia. using axis sub . just a 1" arc used.
%
O0000
(PROGRAM NAME - T )
(DATE=DD-MM-YY - 11-04-09 TIME=HH:MM - 10:35 )
N100 G20
N102 G0 G17 G40 G49 G80 G90
( 1/8 BALL ENDMILL TOOL - 249 DIA. OFF. - 249 LEN. - 249 DIA. - .125 )
N104 T249 M6
N106 G0 G90 G54 X0. Y0. A-90. S4278 M3
N108 G43 H249 Z1.5
N110 Z.6
N112 G1 Z.45 F6.16
N114 A-450. F784.43
N116 G0 Z1.5
N118 M5
N120 G91 G28 Z0.
N122 G28 X0. Y0. A0.
N124 M30
(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)
Cadcam
Software and hardware sales, contract Programming and Consultant , Cad-Cam Instructor .