Well, once again I found myself writing the raw code by hand to get my cylinder. I think I've written almost as much code from scratch using a macro in Excel as with my cam software.
Excel is sure handy for re-iterative work.
Cut this curve. Step down .003, cut this curve, step down .003, cut this curve ...