Grasshopper

algorithmic modeling for Rhino

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!

Views: 1933

Attachments:

Replies to This Discussion

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.

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!

Hey so that works straight away for me. Have you tried toggling the reset on then off?

Apart from that I built you the same script in K2. Hope this helps. Good luck with the Gaudi-fun!

Attachments:

Thanks! Yeah, that's what I tried straight away, doesn't seem to work. Not even closing and reopening the software. Weird! The K2 script seems to work just fine however so thank you very much!

Any thoughts on shatter-memory problem while I'm here? Divide and conquer? Or am I doing something wrong?

It's slow on my machine but works.

A MUCH faster way is actually to do this - which basically does the same as you want but speeds things up massively. 

Great, the more you know. 

Cheers!

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service