Grasshopper

algorithmic modeling for Rhino

Hi,
i am currently working on some project where i am linking very simple outputs from processing to GH via a text file.
right now i am using one text file for each value i'd like to read in GH (one for X, one for Y, one for Z etc...)
i am doing this because i haven't figured out how to read Tab or Comma separated values

by double clicking on the new Read File component, there is room for some Parsing Options, can somebody help me reading a text file where on each line, i have 3 values, separated by a tabulation, i would like to store these into 3 lists of variables.

thanks a lot !

i join the text file i'd like to read into GH - on each line, the first 2 values are an X and Y coordinate, and the 3rd value is the radius of the circle in (x,y)

Views: 3319

Attachments:

Replies to This Discussion

Hey,
Did you ever figure this out? I was just trying to locate some stock code for parsing a CSV file (comma delimited) to use in the Read File component.
-Chris
Check this thread:
http://www.grasshopper3d.com/forum/topics/read-file-component-parsing
It will ask you to check yet another thread :P

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service