add float16, int64, and uint64 - #87
Conversation
|
Hey @christian-rauch, thanks for the interest and the contribution. The reason those types aren't supported by This exact proposal has come up before, and it was rejected for these reasons, but I'm always willing to revisit the question given new information. I did what I did then: do a quick survey of other PLY format implementations to see what they do.
Based on that, I'm not especially inclined to accept the extension at this time, but if you have more information or context to share, please do. In particular, if PLY files with these nonstandard property types are becoming more common, that would be good to know, as well as where they are coming from. |
Add additional data type mappings.
See NumPy types:
https://numpy.org/doc/stable/user/basics.types.html
and the same mappings in
trimesh:https://github.com/mikedh/trimesh/blob/a513c0e2cfa6dfbd3121a6dfd8ceb002b9ef55d8/trimesh/exchange/ply.py#L16-L36
📚 Documentation preview 📚: https://python-plyfile--87.org.readthedocs.build/en/87/