Grasshopper

algorithmic modeling for Rhino

Hi,

I have a parametric tower where I am using Galapagos to optimise the weight of the structure. karamba3D is also connected as FEA engine.

However, I have built the parametric model in a way that I am giving two parameters as input values to Galapagos to minimise the weight:

Parameter 1: the bottom width of the tower

Parameter 2: difference of bottom width and top width of the tower

It would have been maybe better to write the definition in Grasshopper as specifying the top width and bottom width instead of the difference. But for modelling purposes on that time it seemed to be ok. (at the moment I would avoid re-factoring the whole definition) 

So my issue now is that I can get negative value for the top width of the tower in case the that combination was produced by Galapagos. I could eliminate many combination with some simple math but I am not sure how to put this new logic into Galapagos?

For instance, I would expect something like a filter for the input data. The filter then would eliminate the negative values of the sum of the diff and bottom width.

Is that possible to create some kind of dynamic sliders which can be connected to Galapagos?

Thank you in advanced if anyone has an idea how to solve this.

Views: 1044

Replies to This Discussion

It would have been maybe better to write the definition in Grasshopper as specifying the top width and bottom width instead of the difference. But for modelling purposes on that time it seemed to be ok. (at the moment I would avoid re-factoring the whole definition)

Refactor the code!  It might be easier than you think.  Much easier to avoid trouble than having to deal with it.  Top width could also be defined as a fraction of top width (0.25 to 1.0, for example).

Top width could also be defined as a fraction of top width (0.25 to 1.0, for example).

Err, meant to say this:

Top width could also be defined as a fraction of bottom width (0.25 to 1.0, for example).

Joseph, thanks for the suggestions. Maybe that would be the best way ;)  I will see if I can put some logic for limiting the variables to Galapagos, if not than get back to new definition.

RSS

About

Translate

Search

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service