USD To URDF Converter
Homepage ( Getting Started | CLI | Examples | Contributing | API Reference )
A tool for converting USD files to URDF.
Convert this
{height=500px}
to this
{height=500px}
See the documentation for detailed information.
Quick Start
Installation
Use pip to install this Python distribution from the PYPI package registry (https://pypi.org/project/nvidia-srl-usd-to-urdf/).
pip install nvidia-srl-usd-to-urdf
USD To URDF Command Line Interface (CLI)
Use the usd_to_urdf CLI to convert USD files to URDF from the command line.
usd_to_urdf -o <path to output URDF file> <path to input USD file>
For example to convert the UR10 USD file in the current directory to URDF do the following.
usd_to_urdf -o ur10.urdf ur10.usd
For a quick reference on the on the CLI options see the help print out.
usd_to_urdf -h
USD To URDF Python API
Use the USD to URDF Python API to convert USD files to URDF using Python.
from nvidia.srl.from_usd.to_urdf import UsdToURDF
UsdToUrdf.init_from_file("<path to USD file>").save_to_file("<path to URDF file>")
For example to convert the UR10 USD file in the current directory the URDF do the following.
from nvidia.srl.from_usd.to_urdf import UsdToURDF
UsdToUrdf.init_from_file("ur10.usd").save_to_file("ur10.urdf")
Complete API reference can be found in the documentation here.
Metadata
Release files for nvidia-srl-usd-to-urdf 1.0.3
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 | Reset |
|---|---|---|---|---|
| nvidia_srl_usd_to_urdf-1.0.3-py3-none-any.whl | Python 3 | none | any | Details |
Release files / nvidia_srl_usd_to_urdf-1.0.3-py3-none-any.whl
| Download URL | nvidia_srl_usd_to_urdf-1.0.3-py3-none-any.whl |
|---|---|
| Size | 45.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
902b5603aa73546451b3d039a3a3f41fff20ac0d49ba5da0348917efffb32878
|
|
BLAKE2b-256 checksum How to use checksums |
9c4b5ed872b492519a23e44f82f0e64382ff463c6238edb959e43ffd4305d938
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.12
|