Grasshopper

algorithmic modeling for Rhino

Hi,

I have written a simple example, multistory frame made of steel and successfully imported into robot.

Now I have another idea. I would like to get the results, i.e. the vertical reaction in support and use it for creating geometry-it will be loop.

In my example I have been trying to do following:

Assume 1 level then calculate forces, check if reaction of the support is smaller then i.e. 100kN then increase levels number and calculate it again.again up to i.e. 10 when reaction reaches 100kN.

As far as I know Grasshopper does not support recursion?

Any idea how can I make it?

Views: 326

Attachments:

Replies to This Discussion

Hi Marcin,

Here's a suggestion (I didn't implement it yet, but I can help if you don't make progress).

Look at the hoopsnake plugin.  It takes a starting value, and then allows iteration of solution a number of times by using a calculated result as the next input.  In your script component, rather than just increment one storey at a time you might like to factor the number of stories by the ratio of existing stories and proportion of target reaction.

Hi Jon,

Yes, the Hoopsnake can handle this, it works just fine.

Thank You once again!

RSS

About

Translate

Search

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service