Non-box 3d voronoi

I would like to make 3d Voronoi geometry, but I am limited to only making it in the shape of a box. Are there any solutions for making a 3d Voronoi diagram or Delaunay triangulation with an arbitrarily shaped bounding box? Right now I am thinking if making a box and somehow clipping it but I have a bad feeling about that. Note I am a programmer, and my linear algebra skills aren’t A level.

Hi @stevescott517

Generating the Voronoi cells in a box then trimming it by taking the solid intersection with your shape isn’t a bad place to start. (7.2 KB)

1 Like

Oh that is a good idea. And when you trim it that way, it keeps the edges round.