Grasshopper

algorithmic modeling for Rhino

i imported a csv file of x,y,z values into grasshopper and wanted to create points out of it. however, when i try to break the list down (say, to get just x values), it still gives me all three values in each list item. how can i break the list item down further.

image attached: the csv values are in the panel on the right, and i can't seem to break the list item on the left down anymore.

thanks.

Views: 488

Attachments:

Replies to This Discussion

Read through this discussion for an explanation and if you specifically want x values try the following expression:

format("{0}", x.x)

thanks for the reply.

the expression formatting has no effect on the list. i think it's because my list is being read as strings rather than numbers. is there a workaround to this? i've attached the csv too. thanks.
Attachments:
Shahed,

The file will be read as loose String (one per line).

If you feed them through a Point component, do you actually get the points on screen?

--
David Rutten
david@mcneel.com
Poprad, Slovakia
Hi David.

the file does read as loose strings, but it gives me an error (data conversion failed from string to point) when i feed it through the point component.
no prob here:

i couldn't get it to work with the exact setup, taz. so i reinstalled grasshopper and it works now..

thanks for helping out.
I think I made the string->point converter smarter in one of the more recent versions. You probably had an older version.

--
David Rutten
david@mcneel.com
Poprad, Slovakia

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