A tool to convert from USD to URDF.
Project description
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.sr.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.sr.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.
Project details
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 nvidia_srl_usd_to_urdf-1.0.0-py3-none-any.whl.
File metadata
- Download URL: nvidia_srl_usd_to_urdf-1.0.0-py3-none-any.whl
- Upload date:
- Size: 49.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
807aed171468e35c4c03451bfae6068c144193984806110198928e51ee3e0106
|
|
| MD5 |
4d153a09bfdf0f07efb3d4c7e912495a
|
|
| BLAKE2b-256 |
6dc431c271207bd1e9c1ae5153a0d1ac1b80cef04b72c20334af305f5952e2a2
|