Grasshopper

algorithmic modeling for Rhino

Hi guys,

 

I am using a Panel and an "Evaluate Length" GH Component to divide a large steel frame into sub-frames. The contractor keeps on changing these sub-division values so i need to type them again and again... Instead of that, would it be possible to plug an x, y, z and g(for gap) value into a panel containing the formulae and get the output in a similar way?

 

Many thanks,

 

Arthur

 

PS: Here is how i am dividing the frames.

 

 

Views: 2543

Replies to This Discussion

Hi Arthur,

 

There are two ways you can go about this.

 

1) using the new String Components replace the values in your formulae as you suggested and then plug the resulting string into an F(x) component. As there are no x's in your new formula the results will just be calculated without the need to add an input to x.

 

2) us the F(x)^3 component with three of you variables and then add them to another f(x) component if you need more multiple variables. In this case just an addition will suffice. the reason you have to split the formulae is because the F(x)^N component does not have an F input. :(

 

Thank you so much Danny, really nice of you!

 

Would you know why the F(X) component is limited to a maximum of 3 input?

Would a VB component doing the same operation be more complicated?

 

Greetings,

 

Arthur

 

David thinks he's on to a better way of handling parsings of strings which would improve the time it takes to convert the F input into something meaningful. Until then I think he's holding back on any more than 3 to prevent the F(x) components taking too much time to process.

 

Here's a combination of string components and split formulae to give a taste of what can be done. 

I posted this as a series of wishes including an F input and got the above answer.

 

There's no reason why you couldn't use a VB component. 

Great ! I ll try all the options, very helpful Danny thanks.

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service