Voronoi3d how to split output by input box

I am new to Grasshopper and try get voroni3d to output the cells ordered by the input boxes.

At the moment i get a list of cells but i like to get a 3 Lists of cells where every list only contains the cells from one box.

VoronoiTest.gh (392.3 KB)

You need to graft the the BOX input in the VORONOI component. Right now you have 3 lists of points each one paired with your 3 boxes, so you end up with 9 lists. by grafting you create 3 lists of one box each, so you have each list of points paired with a list of one box, ending up with 3 lists of cells

Thank you very much, but now i like to switch to c# because i find it much simpler to code. Now i have the problem that i like to work match List a[index] with List b[index] and do not understand how to get the input of the script-node right.

VoronoiTest.gh (388.3 KB)

It’s about 100 times simpler.

BTW: you want this?


As a challenge do the whole thing via C# code.

1 Like