I've been thinking about coding a cutting simulation which could work for both mills and lathes. It would be based on an octree data structure to model the stock. I've played around a bit with visualizing things in 3D using VTK.
If anyone has code or info on how to draw octrees in VTK I would be interested. |