Kangaroo

THIS FORUM IS NO LONGER ACTIVE. PLEASE POST ANY NEW QUESTIONS OR DISCUSSION ON:

https://discourse.mcneel.com/c/grasshopper/kangaroo

The discussions here are preserved for reference, but new questions posted here are likely to go unanswered.

Kangaroo is a Live Physics engine for interactive simulation, optimization and form-finding directly within Grasshopper.

Circle packing definition

Here's an example definition showing how to generate a circle packing from an arbitrary triangulation:

circle_packing_example.gh

as shown here

http://www.grasshopper3d.com/photo/circle-packing-1

Load Previous Replies
  • up

    Jeremy Luebker

    Hi Daniel,

    thank you for the great definition! i'm trying to use it to help me achieve the necessary opening efficiency on a metal panel perforation of a naturally ventilated park garage. anyways, here is my question:

    i've taken your definition, added a few anchor points and a new mesh (not a lot) but for some reason i do not seem to get the mesh to "settle down", and when it does it wants to crumple up. any ideas what i've missed here? (i'm sure it something very simple). I've attached the portion of my graph, the high res image and two gifs, one showing a successful run of your script and the other with the behavior i am experiencing.

    thank you in advance for your help...

    18
  • up

    an@mation

    Hi daniel,
    The definition works perfectly as is on my MAC with rhino 6 and redirecting the DLL file but i can't get it to work with my windows. I get the following error on the c# component:
    1. Warning (CS1701): Assuming assembly reference 'RhinoCommon, Version=5.1.30000.13, Culture=neutral, PublicKeyToken=552281e97c755530' matches 'RhinoCommon, Version=6.4.18130.19341, Culture=neutral, PublicKeyToken=552281e97c755530', you may need to supply runtime policy


    and on the solver this error:
    1. Solution exception:Unable to cast object of type 'SphereCurveCollide' to type 'KangarooSolver.IGoal'.

    i've unblocked the plugin files before extracting and after, I also unchecked the COFF settings as stated in your PDF for the developer settings.
    Any help would be much appreciated
    Anam
    2
    • up

      Julian

      Hi all,

      does anyone have an idea what the following error could relate to? It pops up with the C# component of Daniels definition. Could it be due to Rhino6/Win10, or is it something with my computer?

      1. Error (CS0008): Unerwarteter Fehler beim Lesen der Metadaten aus der Datei 'c:\Windows\Microsoft.NET\Framework64\v4.0.30319\mscorlib.dll' -- 'Der Index konnte nicht gefunden werden.'

      which roughly translates to:

      1. Error (CS0008): unexpected error reading metadata of File 'c:\Windows\Microsoft.NET\Framework64\v4.0.30319\mscorlib.dll' -- 'Index could not be found.'

      thank you!