Grasshopper

algorithmic modeling for Rhino

Reading .txt file with hierachical / path structure using vb.net

hi all,

after becoming familiar with the basic file I/O examples (from the GH primerV2),
we're trying to read °path structure° form a .txt file.

the file we're trying to read look something like this:
;path 1
0.1,0.2,0.3 0.4,0.5,0.6 0.7,0.8,0.9 ...
;path 2
1.1,1.2,1.3 1.4,1.5,1.6 1.7,1.8,1.9 ...
...


the file holds a list of 3dpoints in each line.
the vb.net component should output one path for each line keeping up the path structure.

any help much appreciated,
thanks in advance,
frank

Views: 219

Replies to This Discussion

to make it visually more obvious...
;path 1
(0.1,0.2,0.3) (0.4,0.5,0.6) (0.7,0.8,0.9) ...
;path 2
(1.1,1.2,1.3) (1.4,1.5,1.6) (1.7,1.8,1.9) ...
...

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service