Grasshopper

algorithmic modeling for Rhino

Hi everybody!

 

Im trying to get a pointcloud out of a .txt file in Rhino, but somehow the 3dPoints are not generated. I have a .txt file which contains the coordinates of every point on one line. Every coordinate is separated by a tab. Rhino gives the option to import .txt files in that format, but unfortunately when I try to generate the points, they are not physically there, eventhough the commandline promts "file successfully read" and "imported successfully".

 

Could it be that the file is too big? It contains some thousand coordinates.

 

Do you have an idea why Rhino fails or does anybody now alternative ways? Does anyone have a C# or VB script that uses the File.ReadLine method to read the .txt and generate an array of 3dPoints?

 

In the end I would like to have a pointcloud which i can convert to a surface with an appropriate method like the delauney triangulation for instance...

 

Any suggestions or help greatly appreciated!

regards

H. 

Views: 1124

Attachments:

Replies to This Discussion

Replace your commas with points. Then the import will work. 

--

David Rutten

david@mcneel.com

Poprad, Slovakia

Thx a lot! That worked)

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service