Hi Phil
You don't seem to have any takers.
I am sure I can provide you with some code, if you can say exactly what you want to do.
If you are looking for something which will face off a billet flush by x amount, the code is quite simple, the only other variables really being billet diameter and depth of each cut.
Let me know what you want, send a PM if you like
regards
Melee