I have a part with lets say 1000 round pockets. I need to use a very small end mill. So my path for one pocket ends up being 5000 lines of G code. I have several parts with the same pocket shape. I would like to program the pocket once as a sub and then call it from a main. I figure I can make the main using a drill type cycle to output the center of the pocket and then call the sub.
So I think I have an idea to get this done. Just wondering if anyone has done this and any words of wisdon. thanks