Grasshopper

algorithmic modeling for Rhino

Is there an easy way to save numbers from one list to another?

Sometimes I decompose Z,X and Y values from points and cannot plug the coordinates into a new vector point but need to transfer the coordinates though.

Does that make sense? Can someone help?

Views: 261

Replies to This Discussion

It doesn't make sense to me, can you provide an example?

--
David Rutten
david@mcneel.com
Seattle, WA
I actually don't want to mention it again, but its related to transferring geometry from Rhino into Grasshopper because I think this gave you a head ache last time and it seems you get an abysmal amount of requests.

The only current way to do that is with X,Y and Z points, as far as I know. So to "save" a curve into GH I need to get points and then transfer every X,Y and Z coordinate manually into GH for my new curve.

Would it be difficult to be able to some how save the numbers in the x,y,z inputs.

What I thought would be nice is if you could plug the coordinates into the new vector point component and then select save current numbers and then disconnect the input and the coordinate numbers stay as if you manually put them in. I'm guessing the easiest way is to have a component that does just that specifically, that "catches numbers". I think you might have mentioned in a previous discussion it might not be too hard to save strings, numbers and points in GH. Maybe a VB script component can easily do this though. I'm dealing with hundreds of these curves that I sometimes need to transfer to GH.

Thanks for your interest though.

Regards
Theunis
Attachments:
Hi Theunis,

You could use "stream contents" from the Panel component and then read the file in to GH like in the image below:

Hi Danny,

The file needs to be present though, and always have the same directory, so sending it to someone would mean they need to enter the new directory on their side to work, is that correct? Even so, this is still not what I need. An extra file is not better than the unwanted geometry in the Rhino file. It would be the same as an extra parameter input. It seems to be almost the same problem I have.

Thanks for the suggestion though, it gets me halfway.

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service