2d Voronoi around a set of curves instead of a set of points?

Hello
The theory is quite simple if you look what Voronoi diagram is

You need to make cones pyramid … From your curves then search for the intersection.
Here the script, without intersection calculation, I think Ethan solution will be more robust. He did something near Medial Axis (there are many links)


I also used Clipper as there are some problems offsetting some curves. Instead of offseting then loft you could use Pufferfish “Extrude Tapered PolySurface” but there are also some fails …
voronoi from curves LD.gh (18.2 KB)

4 Likes