I'm sorry for the delay with lathe... I was really busy this time and spent all my free time to write offset function, which will be also needed in lathe to make final fine cut.
But here's some new results!
I've made a function which generates paths that could be exported to gcode later. Now I've stopped at gcode exporting. Here some problems:
1. We already have generate_gcode function, but it is focused on generate gcode for mills, not lathes. So I think we will need a new function to generate lathe gcode.
2. What parameters should we add?
3. What axes should we use?
Here are an illustration for the function I've made. How do you think, what must be improved in this function?
Also there's some different types of subpath:
blue - the subpath have been already cut, go through it at maximum speed
red - cut at depth step (the final path will be cut next steps)
green - cut the path