Skip to content

I4H Assets Catalog Helper#

Requirements#

  • Python 3.10

Installation#

The helper itself needs Python 3.10+ and does not require Isaac Sim for the public S3 catalog (production, and the pre-release staging mirror). From the sim-ready-assets directory:

uv sync

That installs boto3, tqdm, requests, and pytest. On Linux aarch64 (for example DGX Spark) this is the supported path: Isaac Sim has no ARM64 pip wheels.

The default catalog is on the public production S3 bucket, which needs nothing extra. The internal dev Nucleus server (I4H_ASSET_ENV=dev) needs omni.client. Install the nucleus extra to get the standalone omniverseclient package (Python 3.10–3.12; NVIDIA proprietary license):

uv sync --extra nucleus

The first Nucleus request prints a device-login URL and code; open the URL and enter the code to sign in to isaac-dev.ov.nvidia.com.

Isaac Sim is an alternative way to provide omni.client, and is otherwise only needed for --force_omni_client without the extra. It is not a package extra: its pip wheel stub cannot be locked from aarch64. On Linux x86_64 with Python 3.10, install it into the environment separately:

uv sync --python 3.10
uv pip install --python 3.10 --extra-index-url https://pypi.nvidia.com "isaacsim[all,extscache]"

Alternatively, use conda as described in the IsaacSim Pip Installation Guide:

conda create -n i4h-assets python=3.10
conda activate i4h-assets
git clone https://github.com/isaac-for-healthcare/i4h-digital-twin.git
cd i4h-digital-twin/sim-ready-assets
pip install -e .
pip install --extra-index-url https://pypi.nvidia.com "isaacsim[all,extscache]"

Usage#

To download the asset to a local directory ~/.cache/i4h-assets/<SHA256_HASH> (S3, the default) or ~/.cache/i4h-assets/<VERSION> (dev Nucleus):

v0.9.0 asset release#

The default catalog is v0.9.0 on the production S3 bucket: https://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/Healthcare/v0.9.0/7cf86a1/{Props,Robots,Test}/.... It downloads to ~/.cache/i4h-assets/7cf86a1. This complete catalog includes the corrected OR editor icon and repaired organ materials (NVBugs 6646936 and 6657585). Collector metadata, local paths and internal URLs are stripped from the package; runtime content is unchanged.

The same catalog is on the dev Nucleus server (I4H_ASSET_ENV=dev) in its own folder, omniverse://isaac-dev.ov.nvidia.com/Library/IsaacHealthcare/v0.9.0-7cf86a1/{Props,Robots,Test}/..., with no build directory. Select it with --version v0.9.0-7cf86a1; it downloads to ~/.cache/i4h-assets/v0.9.0-7cf86a1. That folder name has no entry in assets_sha256.json, so add --hash 7cf86a1 when using --verify:

I4H_ASSET_ENV=dev i4h-asset-retrieve --version v0.9.0-7cf86a1 --hash 7cf86a1 --verify

assets_sha256.json records the build ID 7cf86a1, the first 7 characters of the catalog's SHA-256 digest, matching the earlier catalogs. It is not a content digest, so --verify checks the download against the catalog listing, including partial downloads.

Older catalogs are on the same S3 bucket: use --version 0.7.0 or I4H_ASSET_VERSION=0.7.0.

i4h-asset-retrieve --sub-path Props/shared_OR_without_Mark --verify

The published main.usd is already repaired; no local repair command is needed for v0.9.0. The opt-in utility below remains useful for older catalogs.

Python Usage#

from sim_ready_assets import BaseI4HAssets

class MyAssets(BaseI4HAssets):
    """Assets manager for the your workflow."""
    dVRK_ECM = "Robots/dVRK/ECM/ecm.usd"


my_assets = MyAssets()

# When you use the asset, it will check if the asset is downloaded.
# If not, it will download the asset to the default download directory.
print(my_assets.dVRK_ECM)

CLI Usage#

i4h-asset-retrieve [-h] [--version ] [--force] [--download-dir DOWNLOAD_DIR] [--sub-path SUB_PATH] [--hash HASH] [--force_omni_client]
                   [--skip-download] [--verify] [--concurrency CONCURRENCY] [--timeout TIMEOUT]
Options#
  • -h, --help: Show help message and exit
  • --version: Asset version to retrieve (default: the latest version)
  • --force: Force download even if assets already exist (default: False)
  • --download-dir DOWNLOAD_DIR: Directory to download assets to (default: ~/.cache/i4h-assets)
  • --sub-path SUB_PATH: Either a subfolder path or a subfile path under the asset catalog. Only support a single path, like Robots or Robots/Franka (default: None)
  • --hash HASH: Hash of the asset to retrieve (default: None)
  • --force_omni_client: Force use of omni.client. (default: False)
  • --skip-download: Skip downloading and only verify existing assets (default: False)
  • --verify: Verify the download once it finishes (default: False). See Verification.
  • --concurrency CONCURRENCY: Number of concurrent downloads (default: 2)
  • --timeout TIMEOUT: Seconds allowed for the whole download (default: 3600). A full catalog fetch is over 6000 files and can take a couple of hours on a slow link, so raise this rather than letting it abort part-way.
Example#
# Download a specific subfolder of assets
i4h-asset-retrieve --sub-path Robots

# Download assets with a specific hash
i4h-asset-retrieve --hash abc123def456

# Force re-download of assets to a custom directory
i4h-asset-retrieve --force --download-dir ~/my-assets

# Fetch the whole catalog with a three-hour budget, then check it arrived intact
i4h-asset-retrieve --timeout 10800 --concurrency 8 --verify

# Check an existing download without re-fetching it
i4h-asset-retrieve --skip-download --verify --sub-path Robots
Verification#

--verify checks the download against the catalog listing: every object the catalog holds must be present locally at its full size. The catalogs publish no per-file checksums, and the value in assets_sha256.json is not a digest of the published tree for any version, so there is nothing to hash the download against:

  • Versions up to 0.3.0 record the SHA-256 of the asset ZIP package the release was built from. The S3 catalog serves the extracted files under that value, not the ZIP, so the download never hashes to it.
  • Versions from 0.5.0 onwards record the catalog's short commit id instead (for example 724f82e).

In both cases the value names the S3 prefix the assets are served from and the local directory they land in.

Listing verification needs network access and is the check that catches a partial download, which is the usual failure when a fetch is interrupted or exceeds --timeout. Pass --sub-path alongside --verify to scope it to the sub path you downloaded; without it, verification expects the entire catalog.

Operating-room node-graph icon repair#

Catalog 0.7.0/724f82e contains an unresolved core_definitions.file_texture.png reference in Props/shared_OR_without_Mark/main.usd. It is the ui:nodegraph:node:icon default on the bed-sheet material's file_texture node graph, not a material texture input. A complete download can therefore pass --verify while USD dependency validation still reports this missing icon.

An opt-in repair clears only that known icon default in a new sibling layer. Install usd-core (validated with 25.11) or use Isaac Sim's USD runtime:

uv pip install usd-core==25.11
scene="$HOME/.cache/i4h-assets/724f82e/Props/shared_OR_without_Mark"
python -m sim_ready_assets.repair_or_scene "$scene/main.usd" "$scene/main.repaired.usd"

Open main.repaired.usd to use the corrected scene. Keep it beside main.usd so relative asset paths continue to resolve. The source is preserved, existing output files are refused, and an unexpected icon value aborts the repair. No rendering inputs, connections, or material library references are changed.

With plain USD 25.11, UsdUtils.ComputeAllDependencies reports seven unresolved paths before this repair and six afterward. The remaining names are OmniEmissive.mdl, OmniGlass.mdl, OmniPBR.mdl, OmniSurface.mdl, nvidia/aux_definitions.mdl, and nvidia/core_definitions.mdl; the reported Isaac Sim environment supplies these through its MDL search path. Do not ignore arbitrary missing .mdl files when validating other scenes.

The v0.9.0 release applies this same repair to the authored scene before publication. The asset binaries are hosted outside this repository; this utility does not upload assets or silently alter downloads. The node uses its fallback UI icon. Validate the staged release in Isaac Sim before production publication.

Run the USD regression tests with usd-core installed:

python -m pytest sim_ready_assets/tests/test_repair_or_scene.py

Environment Variables#

I4H_ASSET_DOWNLOAD_DIR#

  • You can set the I4H_ASSET_DOWNLOAD_DIR environment variable to the directory to download assets to.
  • The default directory is ~/.cache/i4h-assets.
  • A subfolder named after the hash of the asset (S3, the default) or the version (dev Nucleus) will be created in this directory.

I4H_ASSET_ENV#

  • There are three different asset server environments: dev, staging, and production. staging and production are publicly accessible and dev is only accessible by the internal team. You can set the I4H_ASSET_ENV environment variable to dev, staging, or production to use the corresponding asset server.
  • The default environment is production, which serves the v0.9.0 catalog and every earlier published catalog.
  • staging is publicly readable but is a pre-release mirror, not a copy of the published catalog: it may hold only part of a version, or a different build hash, so downloads can fail with a 404. Use it only when you have been asked to test pre-release content.
  • The dev environment needs omni.client, from the nucleus extra or Isaac Sim. On the first run, open the printed device-login URL in a web browser and enter the code to authenticate.

I4H_ASSET_SHA256_HASH#

  • Identifies which build of the asset catalog to retrieve, by selecting the remote prefix and the local directory name. Despite the name, it is never a digest of the downloaded files: up to 0.3.0 it is the SHA-256 of the asset ZIP package, from 0.5.0 to 0.7.0 it is the catalog's short commit id, and for v0.9.0 it is the first 7 characters of the catalog's SHA-256 build identifier. See Verification.
  • You can set the I4H_ASSET_SHA256_HASH environment variable to the identifier of the asset to retrieve.
  • When you use the CLI, you can use the --hash argument to specify the identifier.
    • Priority order: CLI argument > environment variable > assets_sha256.json file in the sim_ready_assets package.