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.

Catenary simulation problems (1. Solution exception:Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index)

Hi everyone, first time posting here.

I have two questions, one is kangaroo and the other is more just general grasshopper.

Basically, I'm trying to model an object as if it were strings under gravity so I can create a more structurally sound object a bit like Gaudi's famous catenary models. (The lines I'm using are a placeholder from a previous experiment while I work out the definition).

My first problem is that I'm getting this error when plugging into the kangaroo box. 

1. Solution exception:Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index

Not sure whats going wrong, but it was working perfectly earlier with the same definition but I messed around a bit with which points would be my anchor points and it stopped working!

My other problem is when trying to split my curves into parts with the shatter command, I run out of memory, any work arounds? 

Thanks!

  • up

    jjsolly

    Hi Will. I was going to take a look but it seems the crvs don't come through. Can you upload again or send rhino file as well:

    Also I'd highly recommend using Kangaroo 2 instead of number 1 - it converges faster for a start.

    • up

      Will Stephens

      https://www.dropbox.com/s/bjp3ayi9q0v4s0i/161125_Vault%20catenery2....

      File was over 5mb, tried deleting lines but was never going to get under 5mb. This is version with deleted lines but should still work the same with the definition.

      I tried with Kangaroo 2 but I couldn't get my head around the change to the parameters in the solver!

      4