bundle.usd.export

USDZ scene building and export.

Converts point cloud data (PLY) into USD scenes. Two code paths:

  1. 3DGRUT delegate — when running inside the 3DGRUT pod, delegate to threedgrut.export.scripts.ply_to_usd which handles Gaussian-specific attributes (opacity, spherical harmonics, etc.).

  2. Standalone — when pxr (OpenUSD Python bindings) is available, build a minimal USD scene directly. This path is for local use or environments without 3DGRUT installed.

Attributes

log

Functions

ply_to_usdz(ply_path, output_path) → pathlib.Path

Convert a PLY point cloud to a USDZ file.

Module Contents

bundle.usd.export.log
async bundle.usd.export.ply_to_usdz(ply_path: pathlib.Path, output_path: pathlib.Path) → pathlib.Path[source]

Convert a PLY point cloud to a USDZ file.

Parameters:
  • ply_path – Path to the source PLY file.

  • output_path – Desired path for the output USDZ file.

Returns:

The resolved output path on success.