daavoo / pyntcloud

pyntcloud is a Python library for working with 3D point clouds.
http://pyntcloud.readthedocs.io
MIT License
1.39k stars 221 forks source link

Problem with Rhinos 6 ply files #329

Open ferdymercury opened 2 years ago

ferdymercury commented 2 years ago

Describe the bug There are some problems in opening these Rhinos files, apparently issues with line endings: https://github.com/cnr-isti-vclab/meshlab/files/3330082/Box.ply.zip https://github.com/cnr-isti-vclab/meshlab/files/4837381/box_v6.ply.zip

To Reproduce cloud = PyntCloud.from_file('....')

Expected behavior It might be interesting to follow the strategy of the PLYFILE repository:

https://github.com/dranjan/python-plyfile image

Additional context Seems the same issue as in: