bundle.usd.ply

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

log

Classes

PlyInfo

Metadata about a PLY file.

Functions

read_ply_info(path) → PlyInfo

Read PLY header and return metadata without loading the vertex payload.

Module Contents

bundle.usd.ply.log
class bundle.usd.ply.PlyInfo(/, **data: Any)[source]

Bases: bundle.core.data.Data

Metadata about a PLY file.

path: pathlib.Path
vertex_count: int = 0
has_colors: bool = False
has_normals: bool = False
async bundle.usd.ply.read_ply_info(path: pathlib.Path) → PlyInfo[source]

Read PLY header and return metadata without loading the vertex payload.

Delegates to bundle.gs3d.ply.read_ply_header() which parses the standard 3DGS binary PLY header.

Raises: