Applying multiple convex hulls

I am trying to get a boundary around different sets of points (These points are in the same list but are separated by voronoi curves) by using convex hull around each set to create multiple curves. I was originally doing this process manually, figuring out how many voronoi sets I have and then copying the script that many times. However I am now trying to find a way to set this up so if I change the number of voronoi, the multiple convex hulls will also change without needing to be manually reconfigured.

Any suggestions or tips on creating multiple convex hulls from a single list of points is much appreciated!

I’ve highlighted the group concerning this in red on the script
convex hull (30.7 KB)
Grasshopper - floor plan generator.3dm (779.6 KB)

convex hull (28.2 KB)

1 Like