By kami
#339945
Hi
I just received a .txt file with 3d coordinates.
It reads like this:
Code: Select all
111 676157.097 215008.186    441.894 20
112 676157.078 215003.138    441.699 28 
113 676157.047 215000.309    441.634 28
114 676157.127 215001.707    441.750 29
115 676157.087 214995.238    441.524 20
116 676157.656 214993.247    441.559 20
117 676157.891 214989.092    441.609 28
118 676157.196 214988.867    441.560 28  
Is there any possibility to import all those points into rhino without having to manually type every coordinate? (There are hundreds ...)
Thanks for the help
Kami
By JDHill
#339951
Rhino can open/import such files directly, provided they're formatted correctly (select the 'points' file type, which includes .txt, in the open/import dialog). What you posted needs a little cleaning; I pasted it into Notepad2 and hit ALT+Z (remove the first character of each line) four times to remove the line numbers, so it appeared like this:
Code: Select all
676157.097 215008.186    441.894 20
676157.078 215003.138    441.699 28
676157.047 215000.309    441.634 28
676157.127 215001.707    441.750 29
676157.087 214995.238    441.524 20
676157.656 214993.247    441.559 20
676157.891 214989.092    441.609 28
676157.196 214988.867    441.560 28  
This imported into Rhino as a point cloud, using space as the delimiter in the import options dialog. Apparently Rhino was able to deal with the multiple spaces between the Y and Z coordinates, and was also able to ignore the two-digit number at the end of each line. Note that it will fail if there are lines which cannot be parsed, so check the top of the file and make sure there isn't any unnecessary information there; every line in the file should look like the ones above.
Sketchup 2025 Released

Thank you Fernando!!!!!!!!!!!!!!!!!!!!!!!!!!! hwol[…]

I've noticed that "export all" creates l[…]

hmmm can you elaborate a bit about the the use of […]

render engines and Maxwell

Funny, I think, that when I check CG sites they ar[…]