I contend with following problem:
I try to write a program that mills some shape around with few passes. Each passage makes my mill work deeper in "Z" axis.
Now I am doing it this way (unprofessional in my opinion):
...
N4.... G41 etc...
N5... Shape
N6... Shape
z-1
shape
z-2
shape
z-3
etc...
Is there some more professional way to write a program for milling in multiple passes? Like sort of canned cycle or some g code... ?