Grasshopper

algorithmic modeling for Rhino

I've heard that it's possible to somehow link external data sources (processing, xls files, etc) to grasshopper. I'm wondering if there is a way to connect one grasshopper file to another through a receiver? My reasons for asking is that I have two large files that sometimes cause memory exceptions and crashes to happen; the second file is based on the data created in the first. What I have been doing is baking the first file for use in the second, but then every time I change something in the first I have to change it manually in the second.

Thanks for the help!

Views: 428

Replies to This Discussion

Yeah I was wondering about the exact same thing! Hope there is a positive solution to this
Hi Nick,

this is not possible at present, and I'd rather fix the crash bug than supply this feature. Are you crashing because you are running out of memory? If so, then how does splitting a single file into two pieces help, if they both need to be loaded?

--
David Rutten
david@mcneel.com
Poprad, Slovakia
david- i don't think its a bug but because i am using too much memory. In the file i have to use ~200 individual processes that all feed into a single function process (either because i don't know how to use trees or vbnet well enough or the program doesn't yet handle sets of data in the way i need it to). When i turn it from lines into breps, sometimes in the preview rhino will crash.
"splitting" the files into 2 separate files means baking the first and using its geometry as objects in the second. they don't both NEED to be loaded, but the second is only possible after the first one has been determined / baked
Ok, Grasshopper does use additional memory, and the more data you have in your Grasshopper window the more memory will be used. But when you imagine a receiver component that works across multiple files, it presumes both files are active, otherwise there'd be no data to transmit. So splitting a single large file into two smaller files with intra-file links between them doesn't solve anything in terms of memory pressure.

--
David Rutten
david@mcneel.com
Poprad, Slovakia
well, that certainly makes sense. thanks for the replies!
You could stream a "panel" component as a .txt file and read that file in the other grasshopper file using the "path reader" component. You may run into some read/write errors though, but it should work most of the time. Better than crashing I suppose?

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service