---
The ideas from this topic are now a complete MOP plugin, please see it:
http://www.cambam.co.uk/forum/index.php?topic=6209.0---
While using the Voronoi builder plugin I've realized there is a ready implementation of the Voronoi partitioning,
which can be used for approximating the medial axis of region (aka skeleton).
If we roll an inscribed circle of maximum diameter along the axis, it will cover the whole pocket.
If we connect the circles in a right way, a hsm-like slicing would be possible - I've seen toolpaths like this in a video :-)
So I've hacked crude demo plugin, creating the medial axis with the Voronoi code from the Builder and rolling the ball along it.
Any ideas what to do next ?
How the arcs may be connected and air time reduced ?
Lead in ? Spiral seems to be ok.
If we output a bunch of arcs, may cambam engrave them without retracts ?
Maybe it's a way to have a fun hsm pocketing in cambam :-)
Demo plugin and playground project attached.
How to use: select polylines and click MAT under plugins menu. Processing time may be long, that's ok.