Binary PLY files with Rhinos 6.0 line ending issue
- Dominant language
- C++
- Stars
- 14k
- Forks
- 2.6k
- Avg merge
- 5d 18h
- Merged PRs (30d)
- 6
Description
### Checklist
- [X] I have searched for [similar issues](https://github.com/isl-org/Open3D/issues).
- [X] For Python issues, I have tested with the [latest development wheel](http://www.open3d.org/docs/latest/getting_started.html#development-version-pip).
- [X] I have checked the [release documentation](http://www.open3d.org/docs/release/) and the [latest documentation](http://www.open3d.org/docs/latest/) (for `master` branch).
### Describe the issue
When I try to open some binary PLY files exported by Rhinos 6.0, Open3D raises an error and stops loading them. I think it is because of the non-Unix terminator CR LF used as line ending.
### Steps to reproduce the bug
```python
import open3d as o3d
cloud = o3d.io.read_point_cloud("Box.ply")
```
The PLY file is here:
https://github.com/cnr-isti-vclab/meshlab/files/3330082/Box.ply.zip
### Error message
```
[Open3D WARNING] Read PLY failed: unable to parse header.
RPly: Unexpected end of file
�����pi>'rouble transparencyaex_index by Rhinoceros Version 6.0
```
and also:
```
[Open3D WARNING] Read PLY failed: unable to parse header.
RPly: Token too large
-��B��Lâ�@'ble transparencyaex_index by Rhinoceros Version 6.0
```
### Expected behavior
It reads it correctly.
Assuming this philosophy:

https://github.com/dranjan/python-plyfile
### Open3D, Python and System information
```markdown
- Operating system: Ubuntu 18.04
- Python version: Python 3.6
- Open3D version: 0.5.12
- System architecture: x86
- Is this a remote workstation?: no
- How did you install Open3D?: pip
```
### Additional information
Seems the same issue as in:
https://developer.blender.org/T78278
https://github.com/PointCloudLibrary/pcl/pull/1370/files
https://github.com/google/draco/issues/613
https://github.com/cnr-isti-vclab/meshlab/issues/463
https://developer.blender.org/rBA04c0573ee77cc955cf585a0d7a61163375eb57cd
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.