# Kangaroo 2: Using Circle as Achor Point / Openings

Hi All,

I have been enjoying playing around with Kangaroo 2 and have familiarised myself with it.

I was looking to do something a little more in-depth. Please see attached example. I was looking to generate a mesh using Kangaroo in a similar fashion which uses the circles at the bottom of the columns as the bottom anchor and the ceiling as the top anchor. I have seen examples that uses 2 curves to create the surface but not 3 (two anchors at the bottom and 1 top constraint).

I can’t seem to find an example of this and was wondering if anyone knows of a script to troubleshoot this? Please let me know if you need any more information/description to help troubleshoot.

Thanks,

Harrison.

Kangaroo Column Scipt.gh (4.9 KB)

The easiest way is to construct a mesh that represents your surface (topologically) on the plane, then move vertices and fix them before relaxation. In your case, I would make a planar surface with the top curve, trim this with the two circles (raised 5600mm), convert to a mesh, and then finally move the vertices around the circle cuts back down 5600mm. Then just run Kangaroo on this mesh, fixing the naked vertices, and adding forces or tweaking the mesh edge strengths as you wish to get to a desired shape. You can also use the checkerboard utility Daniel created to pick out a pattern of faces similar to the image and colour them differently perhaps.

Of course how you construct the initial mesh in a more refined way has a bearing on the final shape too, but that’s another level of detail that maybe you don’t need.

quickgrass.gh (8.3 KB)

1 Like

Thanks for your reply. I have done as you suggested and it is a great help thank you!

I was wondering how you achieve a more even distribution of vertices in the mesh especially for the ones that have been stretched down 5600mm? Like the ones in the image shown. Currently, I am getting something like this which is less than ideal.

Thanks,

Harrison.