u/simismx913

Image 1 — How to select edges consistently on Voronoi cells over an irregular 3D surface (to loft tabs toward centroids)? .-.
Image 2 — How to select edges consistently on Voronoi cells over an irregular 3D surface (to loft tabs toward centroids)? .-.
▲ 5 r/rhino

How to select edges consistently on Voronoi cells over an irregular 3D surface (to loft tabs toward centroids)? .-.

Hi everyone! I'm following a Grasshopper tutorial that creates tabs/folds on a flat surface, very useful...

BUT I'm adapting it to my own design: an irregular, organic surface floating in 3D space (not on the XY plane), subdivided with Voronoi cells. Screenshots attached: the first is my model, the second is the tutorial's result.

Problem 1: inconsistent vector direction
The direction vectors that generate the tabs don't point the same way. In some cells they point toward the outer edges and in others toward the inner ones. I want all of them perpendicular to the outer edge of each cell and pointing outward.

Problem 2: selecting edges by index doesn't work
I tried sorting the list of points and picking items with an index (List Item), but since every Voronoi cell has a different number of edges and a different order, the same index points to a different edge in each cell.

What I'm trying to do

  1. Select specific edges of each cell (or the whole outline) without relying on indices.
  2. Scale those edges toward the cell centroid.
  3. Loft between the original edge and the scaled one to get the tabs.

What I've considered

  • Brep Edges (Naked) + Scale toward the centroid + Loft.
  • Doing the offsets manually in Rhino, but I have hundreds of cells and want it to update if I change the Voronoi.

Is there a reliable way to select edges by criteria instead of by index?
Any workflow suggestions would be appreciated! Thanks in advance!

u/simismx913 — 9 days ago