Kangaroo Physics

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

To install:

Unzip the file.

In Grasshopper, choose File > Special Folders > Components folder.

Save the .gha and .dll file there.

For both right-click the file > Properties > make sure that they are not 'blocked'

Restart Rhino and Grasshopper

 

A draft manual can be found at

https://docs.google.com/Doc?docid=0Ad1a4gfYAaNkZGRwdjk5ZHhfNDRmODhjNzVmaA&hl=en

For questions and discussion please visit   http://www.grasshopper3d.com/group/kangaroo

 

note : regarding the planarization functions - I have been asked to draw your attention to the patents held by Evolute, Helmut Pottmann and RFR:

http://www.evolute.at/technology/patents.html


Support Email: 4FQ.AQGAEUDFFLSI3ST@KLFDDHA@
Plug-in rating:
4.854165
Average: 4.9 (48 votes)
Downloads:
Title Release Notes
Kangaroo Physics 0.085
2013-Feb-15
Minor bug fix for RemoveDuplicateLines component  
11727 downloads
Version: 0.085
Language: English
Kangaroo Physics 0.084
2013-Feb-12
Added BoxCollide Force. Traction option on MeshCollide. Changes for increased speed in some functions. Several new UserObjects to simplify inputs for common operations. Various new utility components. other minor bug fixes  
4006 downloads
Version: 0.084
Language: English
Kangaroo Physics 0.080
2013-Jan-11
Adds an option to constrain AnchorPoints separately in the x y and z axes, and contains a fix for the CollideMesh component. Also, this is the first official version where the physics engine library is a separate file from the Grasshopper component.  
20366 downloads
Version: 0.0.8.0
Language: English
Kangaroo Physics 0.074
2012-Mar-02
Added 'Level Set' force, springs can now have upper and lower cutoffs, added depth dependent pressure force, added 'relative' and 'waterline' options to Wind force  
6707 downloads
Version: 0.0.7.4
Language: English
Kangaroo Physics 0.06
2011-Nov-30
New forces added : Alignment, Wind, ConstrainToCurve, ConstrainToMesh, Shear, Vortex, Planarize Ngon. Other new functions : AnchorSprings, Trails, Planarity measure. Various bug fixes  
3392 downloads
Version: 0.0.6.0
Language: English
Kangaroo Physics 0.051
2011-Nov-30
Compatible with Grasshopper 0.8.0006. Fixed a bug where Custom masses were not properly assigned. Added Laplacian smoothing force. Added NakedVertices component. Added VertexNeighbours component  
2867 downloads
Version: 0.0.5.1
Language: English
Kangaroo Physics 0.065
2011-Nov-30
- Hinge force. For shells/plates, origami & unfolding/flattening meshes. - TangentIncircles force (CP meshes). - FoldAngle measurement (to set rest angle for hinges). - Plasticity input to Springs/AnchorSprings (permanent deformations).  
1517 downloads
Version: 0.0.6.5
Language: English
Kangaroo Physics 0.066
2011-Nov-30
Updated for compatibility with Grasshopper 0.8.0051 (Remember to remove previous versions)  
6402 downloads
Version: 0.0.6.6
Language: English
    
        
Homepage: Kangaroo Physics

Comments

oliverdavidkrieg's picture

Hi Daniel,

seems like for a collegue and me the library cannot be loaded. Whatever we do, there are two errors when GH loads:

Exception has been thrown by the target of an invocation

Could not load file or assembly 'KangarooLib, Version=1.0.0.0, .....' FileNotFoundException

hery dude, if u still got that problem

the thing is that you need to erase all kangaroo files, then download the latest version, before doing anything just open rhino and grasshopper

on grashopper go to file/special folders/components and in there you got to copy the .gha and .dll kangaroo files that you just download, after they are indside that folder just right click on each of them/properties/unblock

then restart rhino and grasshopper and wou will be all set

gabriel

keving's picture

I'm getting the same errors as well. Is it something to do with this version of kangaroo?

ben_neo's picture

why don't find download link?

Hi,

Is there someone that knows were can I find in the new version of Grasshopper the command 'wbEdges'?
Or which command
should I use to get the same effect?

fdelecea's picture
mpaez's picture

Hi everyone!
Where can I find the dll file for KangarooPhysics006???
In the download link I can olnly get the .gha file.

Thanks!!!

Daniel Piker's picture

mpaez - Version 006 does not require a separate dll file, as it is integrated into the .gha

caitlyn parry's picture

i'm just dong a tutorial (very first time using grasshopper or kangaroo) http://rhinotuts.com/502/kangaroo-basics-tutorial/

I can not find the boolean toggle icon. I dont have the 'special' ribbon in grasshopper. Can anyone help me out please?
much appreciated

Daniel Piker's picture

Hi Caitlyn,
In the latest Grasshopper the Boolean toggle icon has changed, and it can now be found in Params>Input

jocelyn's picture

Hello!
I'm running rhino 5 sr9 and the newest version of grasshopper.Here's some problems when loading the kangaroo...
I'm a beginner to it, and don't know how to solve the problem...And also how will it affect my running of kangaroo?
Any help appreciated.Thanks a lot!

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

Object: KangarooA (level 2)
{
Method not found: 'Void GH_InputParamManager.Register_PointParam(System.String, System.String, System.String, Boolean)'.
MissingMethodException
}

vicvellocet's picture

Hello!
i'm running rhino 4 sr9 and grasshopper 0.8.0052.
my kangaroo is not appearing in gh. i'm receiving this message on rhino command history:

An error occured during GHA assembly loading:
Path: C:\Documents and Settings\Administrator\Application Data\Grasshopper\Libraries\KangarooPhysics006.gha
Exception System.TypeLoadException:
Message: Method 'get_IsValidWhyNot' in type 'Kangaroo.Options.KOptions' from assembly 'GHkangarooINTERNAL, Version=0.6.0.0, Culture=neutral, PublicKeyToken=null' does not have an implementation.

can somebody help me?

Daniel Piker's picture

@vicvellocet - from that error message, I can see you are using the outdated version of Kangaroo. Try downloading the latest one (I've changed the icons no to make it a bit clearer which is the current release), and removing any previous versions

loggchen's picture

Hi to all people out there, who have troubles to get latest GH and Kangaroo running!

I had same problems, while running GH 20110421 with Kangaroo 044 without problems, I updated to newer GH and kangaroo 066 and couldn´t manage to show up GH.

It didn´t work, whatever I tried: installed C++ 2005, C++ 2010, installed, deinstalled, reinstalled .net frameworks from 3.0 up to 4.0, used .net framework repair tools from Aaron Stebner ... hour´s for nothing, didn´t work.

Solution for all Win 7 users:

Just make a Win 7 inplace upgrade (no matter, if you have it already installed - this will repair all .net framework problems without the necessity of new installation of all your programs etc..). Google will show up enough tutorials, how to make a inplace upgrade and where to pay attention if you need to do it.

I made a win 7 inplace upgrade, and after that everything worked simply absolutely fine as it should.

Hopefully this may help somebody else.

Uli

Roman Pomazan's picture

I've just installed new version of GH 0.8.0052. But Kangaroo doesn't work in it. How to plug Kangaroo to new version of GH?

TIA

Daniel Piker's picture

Hi Roman,
This version of Kangaroo should be compatible with GH 0.8.0052
Can you give some details -Rhino 4 or 5 ?
Do you get an error message or Kangaroo doesn't show up ?

Roman Pomazan's picture

I use Rhino 4 SP8. Kangaroo 066 doesn't appears even.

Daniel Piker's picture

Can you try updating to SR9 and see if the problem still occurs ?

Roman Pomazan's picture

Previous version of kangaroo has been deleted previously but smth goes wrong

Daniel Piker's picture

Did you try after installing the latest service release ?

Carlos Machado's picture

thanks...

Casy's picture

Daniel, what can I do with line representation - i want to see resulting lines through geometry out pin, but it goes with error

Daniel Piker's picture

The geometry input can currently only accept points, meshes and lines. Try putting your lines through an actual Line Grasshopper parameter object to make sure they are not getting treated as curves.
Also - as the physics engine itself is ultimately working with just a set of points, for geometry to get moved with the simulation, all its vertices must coincide with points involved in the simulation. (eg the ends of the lines are also ends of springs)

Hrvoje Petrovic's picture

Thanks for 066!

Frane Zilic's picture

thanks

Roman Pomazan's picture

great stuff, Daniel !!

rinman's picture

Hi,

Running Rhino SR8 and Grasshopper 0.8.0003 and the Kangaroo panel is not appearing.

In the components folder the correct .gha icon is not displaying either. I have unblocked Kangaroo.

Any ideas?

Also- I'm unable to download the manual.

Thanks
R

Casy's picture

thanks!

Thanks for the update...

Aleksandra-Boldyreva's picture

thanks! =)

kiryakov's picture

Thanks for the release !

Hrvoje Petrovic's picture

Thanks for the new release and the great work!

kpratt238's picture

I have tried to run the older example files posted in march but they generate lots of IO errors, are there other example files somewhere on this site that are more current?

Thanks for writing such a great plugin

wannlu's picture

Hi all, I am using rhino4 sr9 and gs 8.10. When I opened file, it reported following errors,

Plugin version: 0.8.0010

Archive file written with older version: 0.6.0059

Component KangarooPhysics {0db23e16-f91a-4105-3067-8d7ab0c60e4f} failed to deserialize itself: Object Reference not set to an instance of an object.

The archive contains an unrecognized object: WeaverBird’s Join Meshes {40981c7a-819a-4cfd-9ccc-86036dac21a3}

This object cannot be deserialized

The archive contains an unrecognized object: WeaverBird’s Vertices Component {3e563215-b163-4843-4c37-e1512b636ecc}

This object cannot be deserialized

The archive contains an unrecognized object: WeaverBird’s FacePolys Component {4098ecba-269a-1ced-9ce4-86836dae2101}

This object cannot be deserialized

The archive contains an unrecognized object: WeaverBird’s FacePolys Component {4098ecba-269a-1ced-9ce4-86836dae2101}

This object cannot be deserialized

Object list read

Any ideas?

Daniel Piker's picture

Most of those errors are related to missing the WeaverBird plugin (several of the Kangaroo example files use this for subdividing meshes before relaxation). You can download WeaverBird here from Food4Rhino.
Also, check that you have the latest release of Kangaroo from this site, and that you only have the gha file installed in one place (not in the Program Files\Rhinoceros 4.0\Plug-ins\Grasshopper\Components directory, but in the Special Folders>Components Folder reached from the Grasshopper file menu.

chrisfollowsfrom's picture

thanks for your work daniel!
a really usefully and mindfreaking tool..

Hi Daniel,

I've downloaded and installed kangaroo in the folder you describe and unblocked. Running Rhino 4 sr9 and grasshopper 0.80010. When I try to run one of the examples (e.g. the walker) it opens fine without error messages, however nothing happens. All the example files seem to do nothing. Is there a certain switch to make the simulation start that I'm missing?

Thanks in advance,
Gijs

Ok, fixed it, seems I was missing the disabled timer...

ainee's picture

i had this problem too but then i realized you have to have the toggle set to false...

ekaggrat's picture

i am running windows xp , rhino 4 sr8 and gh 0.80010 .. I cant get kangroo too work .. do i need to downgrade to gh 0.80006 to get it to work?

Daniel Piker's picture

Kangaroo is compatible with GH0.8.0010 , so there is no need to downgrade. Try making sure the file is unlocked, and that any previous installations of Kangaroo are removed from any location.

ed17es's picture

Hi all.

I have a problem, every time I connect the timer rhino crashes.
I have rhino 4 sr8, gh 8.0008 and kangaroo 0.0.5.1, what can be the problem??

Thank you in advance.

ed17es's picture

sorry gh 8.0010

Mike's picture

Hey Daniel,
Thanks alot for comming up with Kangaroo. It's incredable!
I was just wondering if you or anyone els could help me with something. Is it possible to creat a currve/mesh from a closed curve in grasshopper to feed into a form finding moddle for kangaroo.
Thanks,
Mike

eppi's picture

hi sorry for asking this stupid question, but where do i download kangaroo - just no finding the downloadlink...

thanks

eppi's picture

found it ...

jasonja's picture

where is it?

McNeelEurope's picture

Hi Jason,
if you join project Kangaroo you will be able to download the file.

zarzycki's picture

Hi, can you point me to tutorials or sample files for the Kangaroo component?

Carlo.Rousseeuw's picture

Using Windows 7 32 bit Rhino 4 SR8, Grasshopper 0.8.0009, Kangaroo0.051, unblocked in file browser.
Kangaroo won't load, no erros while booting GH or Rhino.
Does anyone has the 0.8.006 build of GH ?
UPDATE: Installed GH 0.8.0006 and everything working fine, thanx !

Protected by AVG Wildcard SSL Certificates