usd-convert-asset
Project description
usd-convert-asset
Pip-installable package for usd-convert-asset.
This package is staged from the existing repo build output. The native bindings,
runtime libraries, USD plugin resources, optional staged data, and generated
third-party license bundle are copied into a wheel source tree under _build.
Building From Source
Run the normal repo build first. This compiles asset_converter_native_bindings,
copies runtime libraries into asset_converter_native_bindings/libs, generates
PACKAGE-LICENSES, and stages the pip wheel source tree.
Windows:
.\repo.bat build --config release
.\repo.bat uv -- build _build\windows-x86_64\release\pip\usd_convert_asset -o dist
Linux x86_64:
./repo.sh build --config release
./repo.sh uv -- build _build/linux-x86_64/release/pip/usd_convert_asset -o dist
Linux aarch64:
./repo.sh build --config release
./repo.sh uv -- build _build/linux-aarch64/release/pip/usd_convert_asset -o dist
The wheel is written to dist/:
dist/usd_convert_asset-<version>-<python>-<abi>-<platform>.whl
Replace <version> with the version generated from VERSION.md. The wheel
tag is inferred from the build interpreter and platform because the package
contains native runtime libraries.
Testing From Source
Use a clean virtual environment and install the staged wheel or generated pip
package directory. The package depends on native libraries staged by the repo
build, so install from dist/ or _build/.../pip rather than from
source/python directly.
Windows:
python -m venv .venv
.\.venv\Scripts\Activate.ps1
.\.venv\Scripts\python.exe -m pip install --upgrade pip
.\.venv\Scripts\python.exe -m pip install dist\usd_convert_asset-<version>-<python>-<abi>-<platform>.whl
usd-convert-asset -i path\to\input.fbx -o path\to\output.usda
.\.venv\Scripts\python.exe -m usd_convert_asset -i path\to\input.obj -o path\to\output.usdz
Linux:
python -m venv .venv
source .venv/bin/activate
.venv/bin/python -m pip install --upgrade pip
.venv/bin/python -m pip install dist/usd_convert_asset-<version>-<python>-<abi>-<platform>.whl
usd-convert-asset -i path/to/input.fbx -o path/to/output.usda
.venv/bin/python -m usd_convert_asset -i path/to/input.obj -o path/to/output.usdz
To test the staged tree before building a wheel, replace the wheel install with the generated pip package directory:
.venv/bin/python -m pip install _build/<platform>/<config>/pip/usd_convert_asset
Use the matching _build/<platform>/<config>/pip/usd_convert_asset path
for the platform and configuration you built. Replace the input paths with
existing source assets and the output paths with writable locations. Run
usd-convert-asset --help for conversion flags such as --single-mesh,
--ignore-materials, --fbx-y-up, and --progress.
License
This package is licensed under the Apache License, Version 2.0 and the Creative
Commons Attribution 4.0 International Public License. See LICENSE.
Third-party notices and generated dependency license attributions are included
in PACKAGE-LICENSES.
Uninstalling
.venv/bin/python -m pip uninstall usd-convert-asset
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file usd_convert_asset-9.0.12-cp312-cp312-win_amd64.whl.
File metadata
- Download URL: usd_convert_asset-9.0.12-cp312-cp312-win_amd64.whl
- Upload date:
- Size: 29.2 MB
- Tags: CPython 3.12, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d54c20242509110b955302ce28e48b99f4a2209276012a92913ee867e485757f
|
|
| MD5 |
15e88008d54b95b53b97ebe92faebd7f
|
|
| BLAKE2b-256 |
8db90220106a3ebafebba9ae8b3858fc9f62761270ea8c2cc1e9ae51adbb1ca1
|