Grasshopper

algorithmic modeling for Rhino

Hi guys,

I have a grasshopper definition that includes a Galapagos component that optimises the layout of elements. Once optimised, we then take the results through to further sections of the definition.

I am now looking at putting a UI on the definition using Human UI. It looks great, but the only thing that I can't do is integrate/automate the Galapagos part. 

I would like to know if there exists either of the following:

- Is there a way to automatically run Galapagos without opening the dialog window, provided the settings are already set up? The boolean from this could then be connected to Human UI.

- Or, is there a direct connection between Galapagos and Human UI?

Any help would be greatly appreciated!!


Andy

Views: 1379

Replies to This Discussion

Hi,

Does anybody have any ideas on this? Any help would be hugely appreciated!!

Andy

I don't know if it can be done through some sort of reflection hackery. Maybe, but it certainly wasn't designed with that in mind.

What sort of event would trigger this automatic galapagos run in your scheme? Is it any change to the data? Only when a specific value changes? Or when a specific component expires? Or...?

For the purposes of the exercise that I am doing, I am not looking to introduce Galapagos into a loop. I want to be able to activate the solver from a Human UI window, probably through a button or boolean toggle. Other galapagos settings will be predefined and so would not need editing...yet.

So, at the moment, the workflow would be:

1. User edits the input parameters (in this case, curve lengths and ideal fitness criteria)

2. User then activates Galapagos (which arranges curves to find shortest route)

3. Resulting curve arrangement from solver is then built upon using other parameters in UI interface.

Any ideas?

I also had a same issue with galapagos and human months ago! Unfortanly it is not possible to trigger galapagos from outside!
It would be great to have! Then we could run it for multiply linear tasks!
When finished one, start second and so on!
There is Loop component. Maybe it could be possible with it

I agree, it would be fantastic to do the solver setup and trigger it via the definition (without having to open the Galapagos interface). In my case, I would want it to run for a predetermined number of generations or time, and then have it output only the genotype of the best solution(s).

@David: Are there any plans underway to make this possible? Or has there been a different solution in the meantime?

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service