Grasshopper

algorithmic modeling for Rhino

When I search for 'Data between Definitions' GeometryBin seems to be the only relevant answer. I guess GeometryBin also exists because there is no way to get another definition's result, but I need to ask... Can a definition read from other definitions' sticky or something like that? Or can one definition send data to another definition?

And, if not (probably...) are there any other options than GeometryBin in order to share data between definitions? Has anyone ever tried to set up a local server like MySQL, Redis, MongoDB, etc. as kind of postal box?

Views: 423

Reply to This

Replies to This Discussion

If it is within the same Rhino instance/session, using sticky is probably the easiest approach.

Indeed, you can quickly accidentally break the declarative DAG-based logic which Grasshopper is based on this way. Tread carefully ;)

Look into Flux http://www.grasshopper3d.com/group/flux it was show cased at the GH User meeting in London last Monday. Looked promising! Also you are not restricted by location.

If you are interested in transferring geometry between GH scripts, Lunchbox has a component for that.

Slingshot could also be a solution.

Often I just write the data from one script into files and load them back into another GH script. Not super handy but it works fine.

If you use Ladybug/Honeybee, they also have components that can handle their data.  

I think easiest solution could be a simple textfile. Here you can store all types  as string in it.You just have to convert them. 

You can use several plugins for this. the easiest,but rather "unsafe- 5-min-solution" would be:

Attachments:

You can also check out Treesloth's Pack and Unpack components.

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

© 2019   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service