Kangaroo: Generating forms in grasshopper

Hi there,

I am very new to grasshopper and have been experimenting with kangaroo 1 & 2 to try and simulate the forms I am looking for.

My aim is the following

  1. identify ‘room’ outlines
  2. anchor points: identify voronoi cells around tree trunks (the project is in a forest so i want the anchor points to be on the voronoi lines between the trees)
  3. generate a form enveloping the room outline using anchor points intersecting with voronoi
  4. project anchor points to terrain
  5. cut openings in mesh for trees

I want to be able to manipulate the anchor points (move them along the voronoi lines) to create the desired form.

I have tried multiple simulations some with greater success than others. Please see the annotated grasshopper file attached and rhino file. (I work in rhino 6 but can downsave the file if necessary)

Many thanks in advance for your help!

Kangaroo form finding.3dm (7.3 MB)
Kangaroo Form Finding 2.gh (109.7 KB)
form 1.pdf (998.4 KB)
form 3.pdf (1.1 MB)


It looks like the first 2 attempts in your definition are mainly issues with meshes, but I had a look at the bottom one, and fixed a few things.
One thing that was causing issues was that your geometry is something like 400,000m away from the origin. This tends to cause all sorts of tolerance issues. Here I upped the tolerance input of the Kangaroo solver, but far better would be to model everything close to the origin.
Kangaroo Form Finding 2_.gh (107.9 KB)

Thanks for getting back to me so quickly!

I have had a look at your file and moved my geometry to the origin like you suggested and it definitely helped a lot of the issues.

Still unsure how to create openings in the mesh?
Also doesn’t seem to work with the edge length component - what is the difference exactly between this and the springs?

Kangaroo form finding.3dm (10.3 MB)
Kangaroo Form Finding 3.gh (24.5 KB)