parq_blockmodel.mesh.ply

parq_blockmodel.mesh.ply#

PLY (Polygon File Format) support for triangulated meshes.

PLY is the canonical internal format for mesh storage, supporting lossless round-tripping of all vertex/face attributes and geometry metadata.

Format details:
  • ASCII or binary (we use ASCII for readability, binary for efficiency)

  • Per-vertex properties: x, y, z, and optional attributes

  • Per-face connectivity with optional face attributes

  • Custom properties stored as additional scalar fields

  • Metadata in comments and extra properties

References

https://en.wikipedia.org/wiki/PLY_(file_format)

Functions

read_ply

Read a TriangleMesh from a PLY file.

write_ply

Write a TriangleMesh to a PLY file.