Python USD Viewer
Goals
The Python USD Viewer lets you visualize VTK-based 3D models (such as meshes and point clouds), even though USD and VTK are different 3D formats. This library converts between the two ecosystems.
How the conversion works
The _VTKConverter class processes VTK assets by performing these steps:
- Reads the VTK file using the appropriate VTK reader.
- Converts the VTK geometry data to polydata (surface representation) or at least extracts the surface.
- Translates the VTK polydata to a USD mesh.
- Embeds the USD mesh into a USD stage for visualization.
Installation
Prerequisites
You must have a C++ compiler. Linux typically includes one by default. On Windows, you can use Visual Studio.
- Create a new Python environment for this repository:
pip install uv
- Create a virtual environment and install the project:
uv venv .venv
- Activate the environment:
# On Linux or macOS
source .venv/bin/activate
# On Windows
.venv\Scripts\activate
- Install the project:
uv sync
- Set up OpenUSD using the OpenUSD auto-installer:
usd-setup
Or, follow the instructions in the OpenUSD repository.
Usage
Python USD Viewer uses Maya-style controls. To move the camera with the mouse, press and hold the Alt key.
Metadata
Release files for ansys-tools-usdviewer 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ansys_tools_usdviewer-0.1.0.tar.gz | 11.3 MB | With provenance | Details for ansys_tools_usdviewer-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ansys_tools_usdviewer-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for ansys_tools_usdviewer-0.1.0-py3-none-any.whl |
Total release size: 11.3 MB
Release files / ansys_tools_usdviewer-0.1.0.tar.gz
| Download URL | ansys_tools_usdviewer-0.1.0.tar.gz |
|---|---|
| Size | 11.3 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
400c06a18b629643b48106cb545e71e7b6db3936828fa0a8923de8c92d7e3846
|
|
BLAKE2b-256 checksum How to use checksums |
78e072f4f2c28f4b9c6b9d6d7b66fbb039003ff5ab840ce60fe815d0e378259e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.13
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 27, 2026.
Transparency logRelease files / ansys_tools_usdviewer-0.1.0-py3-none-any.whl
| Download URL | ansys_tools_usdviewer-0.1.0-py3-none-any.whl |
|---|---|
| Size | 15.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
686a04baf71a2e56316bb3462e46f5832ce1b381cfc3455d43e25e2e49c557b8
|
|
BLAKE2b-256 checksum How to use checksums |
ee1717856c3805f0172733eddc97346d3576dd39c53beff43b5adae7676a796d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.13
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 27, 2026.
Transparency logSecurity for ansys-tools-usdviewer 0.1.0
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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for ansys_tools_usdviewer-0.1.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 27, 2026.
Transparency logA 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.