If it is only about pulling the shapes closer together, rather than specifically creating a curve wrapping around them, a simpler way could be to connect them all with weak Coincident goals like this: Circle Packing_CoincidentPull.gh (28.2 KB)
Also - I see here you pack circles then fit polygons in these circles, but if it is actually the polygons you want to pack closely, another option would be to use CurveCollide on the polygons directly.
Hi @DanielPiker
I am interested in how this script might work. I am currently working on a collaborative project that has more intricate corner cutouts and roundness on a sphere. Would you by chance have any idea of how this might work? We currently want to follow the edges of our supposed surface, but with our current script, it is working but not to the extent of filling them up correctly, very sporadic and not consistent. You seem to be very skilled in this field, would it be possible if we could link further?