How to make voronoi pattern follow into a custom surface

Like most projects, there are so many ways to write the code…

The main differences in this version are:

  1. Instead of Pop2D I used PopGeo on the target surface, then mapped those points to the flat surface. My intent was to avoid squeezed cells in areas where the target surface is not as tall. Seems to work?
  2. Instead of extruding each holed cell separately I split the flat surface with the holes and extruded it as a single piece. This avoids SUnion in version ‘20a’.
  3. I scaled cell vertex points before drawing nurbs curves for the holes; used average of vertex points instead of Area ‘C’ for Scale ‘C’, which slightly affects hole shapes and makes the GH file compatible with R7.
  4. I internalized the surface and curve from the 2.3 MB Rhino file so the GH works in R7 now.


coba coba_2024_Jul20bb.gh (41.6 KB)

1 Like