New Kangaroo - mesh collisions and separate XYZ constraints

Hi all,

I'm putting this up for anyone who wants to test it out before I make it the main release on the Food4Rhino site. Let me know if it works and if not what errors you get.

This contains a fix for the Mesh Collision component, and also a new sort of Anchor where you can toggle separate booleans for constraint in x, y or z of a point.

(Also note that like the AnchorSpring component this connects to the ForceObjects input of the main Kangaroo component rather than the AnchorPoints input)

Also - Kangaroo has now been split into a Grasshopper component and a separate Physics Engine dll.

You should be able to put both in the usual Grasshopper components directory (after removing any earlier versions of Kangaroo).

http://dl.dropbox.com/u/26034251/GH_Kangaroo0080.gha

http://dl.dropbox.com/u/26034251/KangarooLib0080.dll

The intention is to make this dll something that you can use from your own C# / VB / Python components, or even without going through Grasshopper. More on that to follow...

  • pb

    hi daniel,

     

    first of all: thank you for your great work.

    i tried to install your new components, but i got a error mesage:

     

    >Object: KangarooA (level 1)
    >{TargetInvocationException}
    >Object: KangarooA (level 2)
    >{Die Datei oder Assembly "KangarooLib, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" >oder eine Abhängigkeit davon wurde nicht gefunden. Das System kann die angegebene Datei >nicht finden. FileNotFoundException}

     

    i use

    rhino Version 5.0  (5.1.2011.1214, 14.12.2011) -64 bit

    grasshopper 08.0063

     

    and i put the files in the grasshopper/components -directory

     

    if i ignore the error message, grasshopper opens with kangaraoo, but without the sover component :-(

     

    best pb

     

  • Daniel Piker

    Thanks for the feedback pb.

    Has anyone else tested this ?

    I'd like to know if it is working in Rhino 5 32 bit or Rhino 4 

  • Charles C Vincent

    Hi, Daniel,

    upon loading Grasshopper 0.8.0063 in Rhino 5.0 64 bit:

    Object: KangarooA (level 1)
    {
    Exception has been thrown by the target of an invocation.
    TargetInvocationException
    }

    Object: KangarooA (level 2)
    {
    Could not load file or assembly 'KangarooLib, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
    FileNotFoundException
    }

    Upon opening BallCluster sample file:

    Message log start (chronological):


    Plugin version: 0.8.0063

    Archive file written with older version: 0.8.0004

    Input parameter chunk is missing. Archive is corrupt.

    The archive contains an unrecognized object: KangarooPhysics {0db23e16-f91a-4105-3067-8d7ab0c60e4f}

    This object cannot be deserialized

    Object list read 


    Solver component also missing for me!


    Best regards!!

  • Kristjan

    Hi,

    Thanks for developing Kangaroo, Daniel! I just let you know that it works fine form me. I use Rhino 4.0 SR8 + grasshopper 08.0063.