bundle.usd.ply ============== .. py:module:: bundle.usd.ply .. autoapi-nested-parse:: PLY file reading and validation. Provides utilities for loading PLY point cloud files (e.g. Gaussian splat exports) and validating their structure before USD conversion. Implementation delegates to ``bundle.gs3d.ply.read_ply_header`` — a header-only parse that avoids loading the vertex payload. Attributes ---------- .. autoapisummary:: bundle.usd.ply.log Classes ------- .. autoapisummary:: bundle.usd.ply.PlyInfo Functions --------- .. autoapisummary:: bundle.usd.ply.read_ply_info Module Contents --------------- .. py:data:: log .. py:class:: PlyInfo(/, **data: Any) Bases: :py:obj:`bundle.core.data.Data` Metadata about a PLY file. .. py:attribute:: path :type: pathlib.Path .. py:attribute:: vertex_count :type: int :value: 0 .. py:attribute:: has_colors :type: bool :value: False .. py:attribute:: has_normals :type: bool :value: False .. py:function:: read_ply_info(path: pathlib.Path) -> PlyInfo :async: Read PLY header and return metadata without loading the vertex payload. Delegates to :func:`bundle.gs3d.ply.read_ply_header` which parses the standard 3DGS binary PLY header. :raises FileNotFoundError: if ``path`` does not exist. :raises ValueError: if the file is not a valid PLY.