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.2-py3-none-any.whl (45.5 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for nvidia_srl_usd_to_urdf-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 a2a619b9b3c43ef0be7a1c7b04dab371933a685c96e002361405ed07174a2fe2
MD5 156eaf289626261e75fce515342fb5a0
BLAKE2b-256 7442c870ebb0cdbf07d1f80575739dc021fa3da30c8fa2e0610af65125530948

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