algorithmic modeling for Rhino
Hi,
I am using Geco, Kangaroo and Galapagos to go through some evolutionary form finding. Given that Kangaroo takes a little time to "settle" the calculation of the final form i am wondering if it's possible to make Geco/Galapagos do one iteration per given period of time. This way it doesn't send to Geco some unsettled forms....any ideas?
Konrad
I can post my file if that will help, but it's a very generic question.
Tags:
Hi Konrad,
The trick to combining Kangaroo with other iterative tools such as Galapagos or Hoopsnake together is to use a high number for the 'SubIterations' setting, the 'Sequence' component with 'Frames' set to 2, (and no timer).
I'll post a demo file later
Thank you Daniel!
Your tip was clear enough that i got it to work. I am just curious if you could explain to me the logic behind it? What is Sequence component doing and why do we want to set SubIterations to a high value? I am trying to understand how this works.
Thank you in advance!
The sequence component tells Kangaroo to solve and output a certain number of frames or iterations.
SubIterations is the number of actual physics steps that occur between each iteration that is output or displayed.
So by setting the sequence frames to 2 and the SubIterations high, we make it so that the output is just the final equilibrium (provided enough steps have been taken). We set it to 2 not one, because we still need to take 1 step to initialize the simulation.
(this is all still a bit of a workaround - I'm now changing Kangaroo so that it becomes a bit easier/cleaner to do this sort of thing)
Here's a little demo that shows a slightly different set-up where we display some intermediate iterations (and let Galapagos try playing golf):
Sounds good thank you!
can u give us the grasshopper file plz ??
I will post it as soon as I got home from work. Stay tuned.
Sorry, I attached the wrong file in my post above. Here's the gh def
I used grasshopper and kangaroo together in a project, but I have since lost the files. I made a youtube video of the project that shows how the grasshopper file worked to allow the Galapagos node to wait for the kangaroo calculation to finish. I know the video is a little bit all over the place but it should help. Towards the end of the video (once galapagos has found 'optimization') I show which components need to be removed to get back to non-galapagos ways. If you reverse the process you should be able to figure out what you need to add. Sorry I don't have anything that will help out more
Here's a little overview of how this works.
Here's the file that I was working with.
I have one more question if someone can help me. I am trying to test and compare solar analysis from Geco and DIVA. I am evaluating that mesh I created and for some reason the few points in the corner quads of mesh get moved down when I evaluate it. It totally destroys my analysis results for those quads since DIVA think that they are shaded by the mesh (analysis target is below the mesh quad). Any ideas why evaluate component is acting up?
Thank you,
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by