Skip to content

Conversation

@JTvD
Copy link
Contributor

@JTvD JTvD commented Aug 21, 2025

Great work on the plyfile library! We use the point cloud reader in multiple projects to load point clouds with additional scalar fields. While scalar fields are part of the PLY specification and supported by tools like CloudCompare, not many Python packages handle them well.

One prerequisite, of course, is being able to load the point cloud itself. Unfortunately, some companies produce PLY headers that contain empty lines. This isn’t mentioned in the PLY specification, but since tools like Open3D and CloudCompare tolerate it, they get away with it.

We can always strip the empty lines before loading, but it seems like a relatively small adjustment to support this directly in the library. It might be worth considering?

@dranjan dranjan self-assigned this Aug 21, 2025
@dranjan
Copy link
Owner

dranjan commented Aug 21, 2025

Thanks for the pull request! I didn't realize other tools were adding empty lines. Yeah, it's not part of the PLY spec, but it's minor enough that I think we can allow it.

@dranjan dranjan merged commit 90b890a into dranjan:master Sep 7, 2025
8 checks passed
@dranjan
Copy link
Owner

dranjan commented Sep 7, 2025

Thanks for the change. This has been merged into master, and it will be included in the next point release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants