Surface to Mesh

Hi everyone,

I am trying to apply a kangaroo force to the below pattern however when I attempt to change the surface to mesh I obtain the below result which makes the mesh come out of the boundary. I have tried modelling this in several ways, including lofting in grasshopper and mesh split in rhino, however I could not find a solution. I am aiming to have the anchor points on all the edges of the surfaces and circles to obtain a similar result to the screenshot below.



I wrote the script in the following way:

Is there a way in which i can create the mesh so that it matches the right boundaries?

Thank you.
pattern-kangaroo.gh (19.9 KB)
pattern-kangaroo.3dm (358.1 KB)


pattern-kangaroo_re.gh (44.6 KB)

3 Likes