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.

Load Previous Comments
  • Daniel Piker

    Hi Adam,

    The remove duplicate points component works simply as follows:

    Given some input points:

    - add the first one to a new list

    - check if the second point is below the tolerance distance from the first. If it is, ignore it, if not, add it to the list

    - check if the 3rd point is below tolerance distance from any of the points already in the list. If not, add it to the list

    and so on...

    Bear in mind that the results do depend on the order of the input points

  • Adam Laskowitz

    Daniel, thank you for your response. I am most interested by your last sentence.

    For example: if I have a network of points at varying heights. I want to remove points that are redundant in height value surrounding its neighboring points. 

    Would you advise I sort the points based on X and Y values such that the order in the list would be successive points.

    Also, is there a way to know if a point at (10,10) is begin compared to a point at (11,0)?

    Sorry for the detailed questions, just trying to understand if this component can in fact work for me.

    Thank you!

  • Daniel Piker

    Adam,

    It depends what your aim is. This component was originally made just for removing points which were exactly or very near exactly coincident, as a way of making sure spring networks were properly connected at the nodes before simulation.

    For these purposes which of 2 almost identical points it took didn't matter, so it always just takes whichever is first in the input order.

    If you want more control over how it chooses which of 2 nearby points to keep, such as always choosing the highest, then I'd recommend writing your own script for it.

  • Daniel Green

    Hi Daniel,

    I'm a structural engineer and I'm particularly interested in using Kangaroo for form-finding of 'efficient' structures. I was wondering if there is any capability, current or imminent, to deal with rigid bodies (e.g. a bridge deck or pylon) and allow them to interact with the rest of a particle-spring network? I've attempted something similar before but had difficulty moving past particles and forces to rigid elements with rotational inertia and subject to torques.

    Dan

    p.s. top work, this is a fantastic tool.

  • M NICK

    Hi Daniel, 

    Is there any example for Gridshell Form Finding using Kangaroo?

    I am new in Kangaroo and couldn't find any related example to my work.

    Thanks a lot

    Nick

  • PEPE ALGECIRAS

    Hi all,

    I was trying to make a family of tangent incircles in the mesh but I don´t know what can I do to make it work.

    I tried making pairs with each face and its adjacent but it seems to be a wrong way, any hint?

    thanks in advance

    121115%20TANGENT%20CIRCLE.gh

    121115%20TRIAL%20SURFACE.3dm

  • rovinida fitriana

    can you upload example kangoro gh definition file for something like wedgrid or optimized path?

  • Constantinos Miltiadis

    hello people, hello Mike,

    the following is my thesis project, that used kangaroo to generate  tents for a kinetic interactive structure

  • Mostafa R. A. Khalifa

    Good Job  Pantelis Adiavastos... conguratulations....(^_^)

  • Constantinos Miltiadis

    thanks Mostafa!

    for more stuff and details go here

    http://at-nowhere.tumblr.com/

    English booklet coming soon


    *daniel excuse me I was intending to go for Daniel rather than Mike in my last post :S

  • Vangel Kukov

    I have two types of meshes and need the second ones to follow the first one without affecting it. Laplasian and springs on the first one, only springs on the second ones. This is what I have so far. Maybe I'm doing something wrong couse it gets too heavy.

    Thanks!

     laplacian_weighted.gh

  • GIL AKOS

    Here are some studies for what we will be covering in this Friday's webinar on Simulation with Kangaroo! Particles + Forces, Funiculars, and Dynamic Relaxation with Analysis.

    http://modelab.nu/?p=7715

  • Derenik Baghramian

    Hi everyone!
    I want to know is there any tutorial for minimal path definition?

    Thanks!

  • Robert Harvey

    Hi everyone,

    Does anyone know why I'm getting the following error message when I open Grasshopper?

    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
    Im using Rhino 5 on Windows 7 64.
    Thanks.
  • Daniel Piker

    Robert - do you definitely have both the kangaroo gha and the dll in your components directory, and both unblocked ?

  • Robert Harvey

    That's it, thank you!

  • Ben Howes

    The ACM Group at Thornton Tomasetti used Kangaroo as a platform for facade form finding on a project with 360 Architecture.  Check out our blog for a detailed description of the project, and have a look at a partial form finding run in the video below.

  • Daniel Piker

    Hi Ben, this is great to see. I'm glad it was useful for you, and thanks for sharing
  • Dmitry

    Hello Daniel !
    sorry for may ask same question again  , but I cannot found solution how to fix it .
    the target is to make limit border of shape for circle paking  .
    I add some button  to script , which I load from your blog , for make possibly use different  diametr of circle . now it can paking , and each circle stop when reach border of surface by it's center.
    but I would like to make  circle stop when reach border of surface by it's outline .
    is it possible to do something in this script , for it work as I need ?

  • Dmitry

  • Andrei Raducanu

    hey, all!

    do you guys know of a method that can be used when you want to convert a brep into a mesh with fairly uniform faces (in size and shape), which is what i guess is needed when doing anti-funcular simulations... Thanks a lot!

  • Andrei Raducanu

    do you reckon a anti-funicular shape is still the way to go if you have an assembly system like the Boxel Pavilion, where the "bricks" aren't aligned to the surface but stay vertical (therefore the compression force isn't perpendicular to the modules' faces, but comes at an angle)? hopefully somebody with structural knowledge can enlighten me...

     

  • muhammad fachrurrazi

    hello guys, i have problem with Plaw component. i dont know why its not working again but nothing error report. thanks for your help

  • Michel Cassagnes

    Hello,

    I begin with Kangaroo. I am trying to model a movable roof made with mesh articulated at some edges (I used hinges). roof is moving on a plane, so I constrained some points to remain at z=0. I have turned around for hours, studied examples that I found here, but I cannot make my model run. I need some help.

    Best regards,

    Michelamphi.gh

  • Jimmz

    It seems Rhino5 SR5 64bit,grasshopper 0.9.0056 could not run the kangaroo 0085,I can't see the icon of the kangaroo,and always a loading error bufore access in the grasshopper window.But I'm sure I had copy the .gha and .dll into the libraries folder,So I wanna know the reason

  • Miguel Vidal

    Hello everybody,

    Could anyone please recommend some (accessible) bibliography on the geometric and physical notions of Dynamic Relaxation?

    Many thanks in advance!

  • Miguel Villegas

    Hi. I'm having the exact same problem Jimmz stated just below. Files are placed and unlocked. Any guesses on the solution? Thanks in advance.

  • bruno di vito

    Hello,

    I was trying to make this simple boat flotating but I don' t figure out how, I did it with a sphere just adding some springs inside the shape to avoid the geometry collapse..(I didn't find similar examples posted)

    Thanks in advance

    flotation.gh

    boat%20for%20flotation.3dm

  • Fereshteh Shahmiri

    I was wondering if you could help me about an issue.

    I have a surface and I am trying to achieve water flow trail upon it. I don't why but the particles don't have any reaction in response to the surface.

    Thank you.

    Fereshteh

    waterflow-surf1.3dm

    waterflow-surf1.gh

  • William E Bodell III

    Hello all,

    I am trying to use Kangaroo to do a bit of sphere packing, using different sizes of spheres related to the required program areas. I have seen some examples of 2d circle packing, and I've tried to translate this into 3d spheres, but I can't figure out how to set the desired sizes and prevent overlapping. Any advice?

    Thanks,

    Bill

    131018%20Spheres.gh

    Sphere%20Packing%202.3dm

  • Matti Pirinen

    Getting this error message after installing kangaroo, while i'm starting grasshopper

    Any suggestions?

  • Danny Boyes

    Hi Matti,

    Find the Kangaroo.dll file (easiest way is to use File > Special Folders > Components)

    and right click on it, select Properties and the UNBLOCK

  • Andrei Raducanu

    Hi, everyone!

    Do You know why sometimes the geometry out results in 0 length curves?

    Everything seems to be working fine for the particles, they do act as if they have springs between them, but the lines between them disappear at the first iteration (btw, i used the lines that form the springs as geometry input)

    This is not the first time i encounter this and i guess it's kind of a newbie dilemma, so maybe someone can help... Thanks!

  • Shridhar Mamidalaa

    Hi, all

    Kangaroo has been able to do a lot simulations, is it also possible to do "CFD" like flow with points or meshes which will be fine if its happening through a curve guidance... but is it possible..??  

    Any ideas.??

    Thank u..

  • Dēmiurgos

    Hello everyone.

    I was looking for the extra Kangaroo components. Does any have some links for downloading?

    Greets.

  • Luis García Lara

    Hi Daniel,

    this is my first try with origami folding, i use the example file with the new component mesh foldings but i miss something...
    i need to put some anchor points?
    Thanks in advance

    Origami_example%2B.gh

  • Akims H

    Has anybody can help me?

    I install kangroo in right components folider
    but still don't have this component

    please help me!
    thanks
    akims

  • andres obregon

    Hello All.

    I am testing the catenary example, but it does not work, I have an error 1. Solution exception: Index was out of range. Must be non- negative...

    somebody could explain me how do I fix it?

    Thank  you.

    Catenary-r.ghx 

  • Juan Carpio

    Hi Andrés. Just make flatten at "Force Objects".  

  • andres obregon

    Juan

    thank you , it is working now.

  • ALI ESLAMI

  • chaz

    hey guys im having a severe problem. I cant find kangaroo anchor points while im using the kangaroo plugin! please help 

  • Aurea Botelho

    I have uploaded Kangaroo and it's not working at all :/

  • S.Sifakis

    Hello,

    I am trying to create constaint on  an inflattable mesh by using a curve as a spring. I used the mesh collide  component in order to deform the mesh following the curve as a constraint but the mesh doesn't seem to recognize it. I am working on the file that originated from this discussion.
    http://www.grasshopper3d.com/group/kangaroo/forum/topics/simulating...
    Any help would be appreciated

    Sandra

    inflatetriangulatedmesh_test_spring.ghx

    inflateatriangulatedmesh_test_spring.3dm

  • Luis García Lara

    Hi Daniel,

    i'm having an error using KingKong plug-in, this error come from the kangaroo cluster, I think it's for the change of the hinge component in the last update of kangaroo, i'm wondering if someone can share the password for update the cluster?¿ or update the cluster and share again for continue using this nice plug-in?¿

    http://www.grasshopper3d.com/group/kingkong/forum/topics/hinge-erro...

    Thanks

  • S.Sifakis

    Hello Daniel,

    I am trying to inflate 4 balloons within a box which itself also inflates. I would like to constraint the balloons inside the box but it is not working. The external surface of the inflatable object collide with the exterior surface of other objects but not the exterior with the interior. Is there something wrong with my definition or there is another way to do it?

    Any help on this matter would be really appreciated since it is part of my thesis project!!

    Thanks!!!! :) mesh_sphere_balloon4.gh

  • Michael Makris

    Quick question about the "new" Zombie component. How is Zombie Kangaroo different from just using a Sequence component to control Kangaroo Reset?

  • andres obregon

    Question about Kangaroo. It is possible to simulate a balloon filled with water in air, on a horizontal plane , self-weight forces? Thanks ...

  • M.Elsayed

    Boxes collide in limited space.

    I need to make a collision between five boxes in  limited boundaries  with allowance of changing in size and dimensions for each box by 80 percent. Any Ideas or even sample file close to this issue.

  • nick Traverse

    Hi Everyone,

    I'm working on/ studying reciprocal structures. I'm trying to develop this script to fabricate reciprocal stick models using no connection method, just the sticks/pipes resting on each other.

    The problem is when I run the Kangaroo engine, there are some issues with the layering of the pipes. As you can see in the image, the green pipe is supported, however the red pipe isn't. This would be okay if I was planning to implement some sort of connection, but because I am working on creating a structure where they just rest on each other, this is no good. 

    Any help or insight on this would be great,

    thanks!!!

    File>>> dynamic%20reciprocal%20cleanup.gh