Skip to main content

Module ply

Module ply 

Source
Expand description

Reading and writing PLY.

ascii and binary_little_endian are supported. binary_big_endian is rejected explicitly: it is practically never seen, and silently misinterpreting bytes is worse than refusing.

Only the first element is read, and it must be called vertex. Faces are of no use here, and partial support for complex files creates an illusion of compatibility.

Functionsยง

read_ply
Reads a cloud from a PLY file.
write_ply
Writes a cloud to PLY (binary_little_endian).