Skip to main content

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 UR10 USD{height=500px} to this UR10 URDF{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

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nvidia_srl_usd_to_urdf-1.0.0-py3-none-any.whl (49.5 kB view details)

Uploaded Python 3

File details

Details for the file nvidia_srl_usd_to_urdf-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for nvidia_srl_usd_to_urdf-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 807aed171468e35c4c03451bfae6068c144193984806110198928e51ee3e0106
MD5 4d153a09bfdf0f07efb3d4c7e912495a
BLAKE2b-256 6dc431c271207bd1e9c1ae5153a0d1ac1b80cef04b72c20334af305f5952e2a2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page