Grasshopper

algorithmic modeling for Rhino

Hi everyone !

After a genetic process, I can see the meshes generated through the process in the Octopus viewer but I would like to get them in Rhino, in order to connect with another tool.

As I can export the parameters that generated the meshes I can rebuild them quickly, or I could save them through the data recorder, but I figured there might be an even easier way as they must be stored somewhere in order to visualize in Octopus. Any idea where that would be ?

Thanks

Views: 314

Replies to This Discussion

Hi Remi

There are two ways to back the meshes.

One: You plug in a data recorder( before running octopus) and partition the list based upon the number of individuals ( this will give you meshes per generation).

The other way is to use"re-instate GH state to get a particular individual. 

The meshes of only the last generation are thrown at the end. There is a third way aswell, you export all the values of sliders per generations, then remap them to their original domains and recreate the mesh from your algorithm( long but very much doable, once an internal algorithm is set up).

Hope this helps!

Mr A.

Hi Aditya,

thanks for your answer. I actually thought of those to solutions, and implemented the third, but I thought that the last generation meshes (the ones displayed) had to be stored somewhere, and I wanted to get directly to them to spare as much memory, computing power and time as possible.

If I have time enough, I will try and see if something is possible through octopus.explicit.

Thanks anyway,

Rémi

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service