This project has been archived by its maintainers, and is no longer receiving any updates.
Omniverse Gaussian Splat Converter
A pip-installable Python package for converting 3D Gaussian Splat data (PLY and SPZ formats) to USD
using the ParticleField3DGaussianSplat schema.
Installation
pip install gsplat2USD
For USD support (if not already installed):
pip install gsplat2USD[usd]
Building From Source
The converter package lives in source/python and builds with standard Python
packaging tools.
Use Python 3.11 or 3.12. Python 3.10 is not compatible with the pinned numpy==2.3.1 dependency.
cd source/python
python -m pip install --upgrade pip build
python -m build
The build writes both source and wheel distributions to dist/:
dist/gsplat2usd-<version>.tar.gz
dist/gsplat2usd-<version>-py3-none-any.whl
Replace <version> with the package version generated by your build.
To install and smoke test the local source tree:
python -m venv .venv
source .venv/bin/activate # Windows PowerShell: .\.venv\Scripts\Activate.ps1
python -m pip install ".[usd]"
python -m gsplat2USD --help
python -m gsplat2USD -i input.ply -o output.usda
You can also test the built wheel directly:
python -m pip install "dist/gsplat2usd-<version>-py3-none-any.whl[usd]"
gsplat2USD -i input.ply -o output.usda
Usage
Command Line
# Convert a PLY file to USDZ
gsplat2USD -i input.ply -o output.usdz
# Convert an SPZ file to USDA with Z-up axis
gsplat2USD -i input.spz -o output.usda --up-axis Z
# Generate spherical harmonics and scales from raw PLY
gsplat2USD -i input.ply -o output.usdz --generateSh --generateScales
You can also run via python -m:
python -m gsplat2USD -i input.ply -o output.usdz
Python API
from gsplat2USD import read_ply, read_spz, write_gaussian_splat_usd
# Read a PLY file
splat_data = read_ply("scene.ply")
# Write to USD
write_gaussian_splat_usd(splat_data, "scene.usdz", source_file="scene.ply")
# Read an SPZ file
splat_data = read_spz("scene.spz")
# Write to USD with options
write_gaussian_splat_usd(
splat_data,
"scene.usda",
source_file="scene.spz",
up_axis="Z",
rotation_degrees=(90.0, 0.0, 0.0),
)
Metadata
Release files for gsplat2USD 0.1.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| gsplat2usd-0.1.5-py3-none-any.whl | Python 3 | none | any | Details for gsplat2usd-0.1.5-py3-none-any.whl |
Release files / gsplat2usd-0.1.5-py3-none-any.whl
| Download URL | gsplat2usd-0.1.5-py3-none-any.whl |
|---|---|
| Size | 20.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ef3e6586123ec6c040dec728109d17232e213b354077cbb9677d29e0891f6198
|
|
BLAKE2b-256 checksum How to use checksums |
f28121289eab5c37ba011a3fcf38ffceac7597c18e1dfcb404c7296a2fa1bd58
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.4
|
Security for gsplat2USD 0.1.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.