hi tom is me, jerry ! welcome to pattern codes
some cnc controllers can patternize, while others can not; in your case you don't need a complex patterning code, but to change the "Z origin " after each cut ( or keep the " z origin " as it is, and use a temporary " z shift " )
most cnc controllers have the possibility to change both " z origin " & " z shift "; i don't know if your rocket does it
sometimes i also need to repeat a cut; even if i may edit " z origin " & " z shift ", in time, i have developed a soubroutine for the Okuma cnc :
... it can take whatever XY code
... repeats the code among Z axis ( for example equal steps for roughing + one last step for finishing : 0 1 2 3 4 + 4.3 )
... handles also circular rotation ( comes in handy when cutting wheels with teeth )
... handles tool entrance and tool exit : rapid, feed, increased feed, etc
... uses 2 clearance planes : the plane where feed begins, and the plane above the fixtures
... handles radius compensation, without auxiliary movements
... some positioning optimizations, etc
* now i simply need to input the toolpath inside this soubroutine, edit some parameters, and i am done i like it because it requires less edit time, making it possible to edit the code fast, near the machine, without going back to the pc, etc
hmm, for your rocket, i would recomend a simple approach : if possible, put the cutting toolpath inside a soubroutine, and call it repeteadly :
... Z-1
... cut ( call soubroutine )
... Z-2
... cut ( call soubroutine )
... Z-2.25
... cut ( call soubroutine )
* soubroutine content should be only the toolpath
depending on your rocket capabilities, such codes can be improved kindly
ps :