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.1-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.1-py3-none-any.whl.

File metadata

File hashes

Hashes for nvidia_srl_usd_to_urdf-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9ff702deda071d04b7a7f31624a61ae04915962d9e3e64cea32d2c5712a61dde
MD5 bcc52b84278353d4552eec9b19648177
BLAKE2b-256 3f3c3cb1162e2d0984d275e8b9ed4e32f62771154820b49b355d2061ec518495

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