Generated banner for Omniverse Cad To Simready
Generated logo for Omniverse Cad To Simready

Omniverse Cad To Simready

NVIDIAOfficialCreated by OmniverseDistributed by NVIDIA

  • Skill
  • Workflow
  • Software development
  • Apache-2.0
  • Medium risk
  • Has scripts

From the author

Coordinate the end-to-end CAD/source-asset to SimReady workflow. Use for broad requests such as CAD to SimReady, source asset to simulation-ready USD, or prop packaging that require conversion, material/physics assignment, SimReady conformance, validation, and optional package creation; deploy or verify Content Agents services first when property assignment is enabled; route single-stage work through nested references.
— the description by Omniverse

AutoGineer summary

Written by AutoGineer from the skill’s own files, not by the author

This skill acts as an orchestrator for the CAD to SimReady pipeline, coordinating a series of specialized stages including asset conversion, material and physics assignment via Content Agents, validation, and final packaging. It is designed to manage the flow between discrete tools rather than replacing them, ensuring that assets meet specific simulation requirements through a structured, documentation-driven process.

What it does

  • Coordinates end-to-end conversion from source CAD or mesh assets to SimReady USD.
  • Manages property assignment for materials and physics using Content Agents.
  • Performs multi-stage validation gates to ensure asset viability and conformance.
  • Automates the assembly of deliverable packages including thumbnails and USD dependencies.
  • Provides consolidated reporting on workflow status, validation findings, and stage outputs.
  • Supports flexible execution modes including conversion-only and validation-only paths.

When to use it

  • When you need to transform raw CAD or source assets into simulation-ready USD files.
  • When you require automated material and physics assignment for 3D assets.
  • When you need to validate assets against SimReady conformance profiles.
  • When you are preparing assets for packaging and distribution in a simulation environment.

Advantages

  • Provides a structured, repeatable pipeline for complex asset preparation.
  • Integrates multiple specialized stages into a cohesive workflow.
  • Ensures consistent validation and conformance across the asset lifecycle.
  • Supports modular execution by allowing specific stages to be skipped or isolated.

Usage examples

“Convert my CAD file at /path/to/model.step to a SimReady asset.”
The agent will initiate the preflight check, convert the file to USD, apply material and physics properties, validate the result, and output a report.
“Validate this existing USD file for SimReady conformance.”
The agent will run the validation-only workflow, checking the provided USD against SimReady profiles and reporting any findings.

Install

  1. Download the skill as a ZIP:

    https://autogineer.com/agent-skills/nvidia/omniverse-cad-to-simready/download
  2. Unzip it into the cross-client skills folder of your project:

    mkdir -p .agents/skills && unzip omniverse-cad-to-simready.zip -d .agents/skills

Documentation by Omniverse

CAD to SimReady

When to Use

Use this workflow skill for an end-to-end pipeline from a source asset to a SimReady asset or package. It coordinates existing conversion, authoring, validation, conformance, rendering, and packaging references directly; do not replace it with a single monolithic runner command.

This skill is documentation-driven and does not ship scripts/run.py; it must not depend on a repository checkout. Shell is declared because this workflow invokes installed stage reference scripts directly, from each reference's installed directory, and it still must not grow a monolithic runner.

Prerequisites

  • Prefer preflight first for deterministic setup: it installs/verifies local upstream checkouts, writes a cad-to-simready-preflight.json manifest, and exports PHYSICAL_AI_PREFLIGHT_MANIFEST plus PHYSICAL_AI_REQUIRE_PREFLIGHT=1 for downstream references.

  • Python 3.12 and uv (per repo README.md).

  • A Content Agents model provider key when local deployment will run, or explicit endpoint variables plus usage tokens for already-running endpoints; see references/preflight/README.md for the full list.

  • Docker, NVIDIA Container Toolkit, and an NVIDIA GPU for Content Agents and OVRTX stages.

  • Local upstream checkouts under ${OMNIVERSE_CAD_TO_SIMREADY_UPSTREAM_ROOT:-$HOME/.omniverse-cad-to-simready/upstreams} when a stage needs upstream scripts or specs.

First Action

For any broad CAD/source-asset to SimReady request, assume property_assignment_intent=run unless the user explicitly asks for conversion-only, validation-only, or no material/physics assignment. For conversion-only requests, set property_assignment_intent=skip, do not deploy Content Agents, run convert-to-usd, then run validate-usd-minimum on the generated USD if conversion succeeds. For validation-only requests, set property_assignment_intent=skip and validate the USD the user provided without rerunning conversion.

Run preflight (or verify an existing PHYSICAL_AI_PREFLIGHT_MANIFEST) before any converter, validation, Content Agents, OVRTX, packaging, or FET step; treat it as dependency bootstrap, not workflow routing. Use --skip-content-agents for conversion-only/validation-only requests.

When property_assignment_intent=run, verify or deploy Content Agents services immediately after confirming the source path and resolving intent, before asset-context inspection, converter dependency checks, conversion, validation, conformance, rendering, packaging, or upstream source builds. Treat explicitly provided healthy endpoints as user-owned; otherwise run deploy-content-agents, which deploys the shared standalone OVRTX renderer, then Material, Physics, and optional Texture service containers in order.

Instructions

  1. Confirm the source asset path exists, resolve output_root, and classify the request as end-to-end, conversion-only, validation-only, or packaging.

  2. Resolve property_assignment_intent before running any asset inspection, converter probe, conversion, validation, conformance, rendering, or packaging step.

  3. Run preflight for the selected workflow targets, unless a ready PHYSICAL_AI_PREFLIGHT_MANIFEST is already configured. Source the generated env file before running downstream scripts. Treat preflight as dependency setup only: it may use a provided --source-asset, --source-format, or --conversion-tools value to scope dependency checks, but convert-to-usd and the upstream converter references still decide actual conversion support.

  4. Verify or deploy Content Agents services first when property_assignment_intent=run; block on missing authentication or unhealthy services instead of continuing.

  5. Read references/workflow.md and references/commands.md, then run only the stage references needed for the current request.

  6. Run identify-asset-context on the original source asset when web search is available or property assignment will run.

  7. Route the source through convert-to-usd, or skip conversion for existing USD input and treat the source path as the current USD path.

  8. Run validate-usd-minimum before expensive downstream work. Treat this as a viability gate only: record unit/profile issues such as metersPerUnit != 1.0, but do not run simready-conform-profile, FET001, or any other FET repair before Content Agents assignment when property assignment will run.

  9. Run Content Agents material, physics, and optional texture assignment on the converted/minimum-valid USD when requested or required.

  10. Run simready-conform-profile on the latest simulation USD path after property assignment and preserve every selected FET repair report.

  11. Run validation gates in order: omni-asset-validate, omni-asset-validate-geometry, omni-asset-validate-physics, and simready-validate.

  12. Rerun simready-conform-profile when simready-validate reports a repairable requirement, then rerun profile validation on the newest authored USD.

  13. Run ovrtx-render-service when preview, thumbnail, or inspection images are requested. When package outputs are requested, run assemble-package-source next to create the clean deliverable/ package source from the final USD and thumbnail, then run nv-core-package-sample and nv-core-package-sample-validation on that deliverable folder only.

  14. Emit the consolidated workflow report with the final USD path, all stage reports, validation findings, rerun reasons, and next work.

Output Format

Emit a consolidated workflow report in Markdown, and include JSON when the workflow writes structured artifacts. Report overall status as passed, blocked, failed, or needs_rerun. See references/workflow.md for the required Markdown and JSON report fields.

Detailed References

Read only the references needed for the current request:

  • references/preflight/README.md: deterministic local setup, manifest/env contract, wrappers, deployment opt-out, and guardrail behavior.

  • references/workflow.md: inputs, source routing, detailed workflow, validation policy, output report fields, and next steps.

  • references/commands.md: concrete portable script command patterns.

  • references/assemble-package-source/README.md: two-zone package source assembly, root USD naming, thumbnail placement, and deliverable checks.

  • references/troubleshooting.md: symptom/cause/fix table plus FET (GSP.001/RB.MB.001) repair-routing detail.

  • references/publishing-layout.md: frontmatter compatibility-field notes and layout rationale for this skill's own file tree.

Publishing Layout Notes

Use skills/omniverse-cad-to-simready/ as the source of truth for this product repo's skill. The .agents/skills symlink is a compatibility alias for local agentskills.io-style discovery, and the nested references/ tree is intentional. See references/publishing-layout.md for the alias list, frontmatter field placement, and flattening rules.

Limitations

  • This workflow coordinates existing conversion, property assignment, conformance, validation, rendering, and packaging skills; it does not replace them with a single monolithic runner command.

Troubleshooting

Read references/troubleshooting.md only when a specific stage or validation gate is failing; it owns the symptom/cause/fix table and FET repair routing.

Hard Rules

  • Prefer the preflight manifest for local upstream roots, converter executables, SimReady validation runtime, OVRTX endpoint, and Content Agents service URLs. When PHYSICAL_AI_REQUIRE_PREFLIGHT=1 is set, do not bypass the manifest with direct upstream discovery.

  • Do not run asset inspection, converter probes, local upstream builds, conversion, validation, conformance, rendering, or packaging before Content Agents readiness when property assignment will run.

  • Use stage-specific installed reference scripts directly. Do not add or call a single omniverse-cad-to-simready runner command.

  • For source conversion, delegate to the convert-to-usd reference; do not substitute another converter for CAD or mesh formats.

  • For property assignment, use Content Agents references as separate atomic steps: material first, then physics, then texture only when requested.

  • When property assignment will run, do not run simready-conform-profile or any FET helper before Content Agents. Validate minimum USD first, then run Content Agents on that converted/minimum-valid USD, then apply FET repairs to the latest service-authored USD.

  • When property assignment will run, do not run simready-validate or any SimReady profile validation before Content Agents. The only validation gate allowed before service calls is validate-usd-minimum, which is a basic USD viability check.

  • Stop at the first failing deployment, conversion, property-assignment, or conformance authoring gate unless the user explicitly asks for best-effort continuation.

  • Do not stop at validation findings after a meaningful USD artifact exists. Continue remaining diagnostic gates and mark the result needs_rerun.

  • Do not leave a GSP.001 profile failure as an unclassified final finding. Route it to upstream simready-foundation-conform-fet-005-simulate-grasp-physics; if the current agent cannot inspect renders or no explicit grasp points are available, report a blocked FET005 repair with the visual evidence path or missing input reason.

  • Preserve every stage report and pass the concrete output USD path from each report into the next stage.

Files

references/content-agents/scripts/openusd_upload_prep.py

#!/usr/bin/env python3
# SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0

from __future__ import annotations

import argparse
import json
import os
from pathlib import Path
import shutil
import subprocess
import sys
from typing import Any


UNRESOLVED_TEXTURE_EXTENSIONS = {
    ".bmp",
    ".dds",
    ".exr",
    ".gif",
    ".hdr",
    ".jpeg",
    ".jpg",
    ".png",
    ".tga",
    ".tif",
    ".tiff",
    ".tx",
    ".webp",
}


class OpenUSDUnavailableError(RuntimeError):
    pass


class OpenUSDInspectionError(RuntimeError):
    pass


class AlternateOpenUSDRuntimeUnavailable(RuntimeError):
    pass


class UploadPreparationError(RuntimeError):
    def __init__(self, message: str, upload_info: dict[str, Any]) -> None:
        super().__init__(message)
        self.upload_info = upload_info


def _usd_utils() -> Any:
    try:
        from pxr import UsdUtils
    except Exception as exc:
        raise OpenUSDUnavailableError(str(exc)) from exc
    return UsdUtils


def _base_upload_info(asset_path: Path) -> dict[str, Any]:
    return {
        "asset_path": str(asset_path),
        "dependency_layers": [],
        "dependency_assets": [],
        "dependency_count": 0,
        "inspection_runtime": None,
        "inspection_executable": None,
        "inspection_error": None,
        "packaging": "none",
        "package_size_bytes": None,
        "path": str(asset_path),
        "unresolved_paths": [],
        "warning": None,
    }


def _layer_identifier(layer: Any) -> str:
    return str(getattr(layer, "realPath", None) or getattr(layer, "identifier", "") or "")


def _is_texture_dependency(path: str) -> bool:
    clean_path = path.strip().strip("@").split("?", 1)[0].split("#", 1)[0]
    return Path(clean_path).suffix.lower() in UNRESOLVED_TEXTURE_EXTENSIONS


def _preparation_error(upload_info: dict[str, Any], message: str) -> UploadPreparationError:
    upload_info["inspection_error"] = message
    upload_info["packaging"] = "failed"
    return UploadPreparationError(message, upload_info)


def prepare_upload_asset(
    asset_path: Path,
    output_directory: Path,
    *,
    allow_missing_textures: bool = False,
) -> tuple[Path, dict[str, Any]]:
    upload_info = _base_upload_info(asset_path)
    if asset_path.suffix.lower() == ".usdz":
        upload_info["inspection_runtime"] = "not-required-already-usdz"
        upload_info["packaging"] = "already_usdz"
        return asset_path, upload_info

    usd_utils = _usd_utils()
    upload_info["inspection_runtime"] = "process-python"
    upload_info["inspection_executable"] = sys.executable
    try:
        layers, assets, unresolved_paths = usd_utils.ComputeAllDependencies(str(asset_path))
    except Exception as exc:
        raise OpenUSDInspectionError(f"Could not inspect USD dependencies: {exc}") from exc

    root_path = asset_path.resolve()
    dependency_layers: list[str] = []
    for layer in layers:
        identifier = _layer_identifier(layer)
        if not identifier:
            continue
        try:
            if Path(identifier).resolve() == root_path:
                continue
        except OSError:
            pass
        dependency_layers.append(identifier)

    dependency_assets = [str(asset) for asset in assets]
    unresolved = [str(path) for path in unresolved_paths]
    upload_info["dependency_layers"] = dependency_layers
    upload_info["dependency_assets"] = dependency_assets
    upload_info["unresolved_paths"] = unresolved
    upload_info["dependency_count"] = len(dependency_layers) + len(dependency_assets)

    non_texture_unresolved = [path for path in unresolved if not _is_texture_dependency(path)]
    if unresolved and (not allow_missing_textures or non_texture_unresolved):
        blocked = non_texture_unresolved or unresolved
        raise _preparation_error(
            upload_info,
            "Cannot package USD for Content Agents upload; unresolved dependencies: " + ", ".join(blocked),
        )
    if unresolved:
        upload_info["warning"] = (
            "Continuing Material Agent upload despite unresolved texture dependencies: " + ", ".join(unresolved)
        )
    if upload_info["dependency_count"] == 0:
        if unresolved:
            upload_info["packaging"] = "missing_textures_passthrough"
        return asset_path, upload_info

    output_directory.mkdir(parents=True, exist_ok=True)
    package_path = output_directory / f"{asset_path.stem}_content_agents_upload.usdz"
    package_path.unlink(missing_ok=True)
    package_error: Exception | None = None
    try:
        ok = usd_utils.CreateNewUsdzPackage(str(asset_path), str(package_path))
    except Exception as exc:
        if not unresolved:
            raise _preparation_error(
                upload_info,
                f"OpenUSD failed to package USD dependencies for Content Agents upload: {exc}",
            ) from exc
        ok = False
        package_error = exc
    if not ok or not package_path.exists() or package_path.stat().st_size == 0:
        if unresolved:
            package_path.unlink(missing_ok=True)
            message = (
                "OpenUSD could not package the incomplete texture set; refusing to upload the original USD "
                "because it would omit resolved dependencies"
            )
            if package_error is not None:
                message += f": {package_error}"
            raise _preparation_error(upload_info, message)
        raise _preparation_error(
            upload_info,
            f"OpenUSD failed to package USD dependencies for Content Agents upload: {package_path}",
        )

    upload_info["packaging"] = "usdz"
    upload_info["path"] = str(package_path.resolve())
    upload_info["package_size_bytes"] = package_path.stat().st_size
    return package_path, upload_info


def _project_root() -> Path | None:
    # Only trust project metadata discovered from the shipped helper. The
    # caller's working directory may be an untrusted asset checkout.
    for candidate in Path(__file__).resolve().parents:
        if (candidate / "pyproject.toml").is_file():
            return candidate
    return None


def openusd_python_commands() -> list[tuple[list[str], str]]:
    commands: list[tuple[list[str], str]] = []
    seen_pythons: set[str] = set()

    def add_python(raw_path: str | Path | None, label: str) -> None:
        if not raw_path:
            return
        path = Path(raw_path).expanduser()
        if not path.is_file():
            return
        # Preserve venv interpreter symlinks so the executed Python retains its
        # environment-specific site-packages.
        executable = str(path.absolute())
        if executable in seen_pythons:
            return
        seen_pythons.add(executable)
        commands.append(([executable], label))

    add_python(os.getenv("CONTENT_AGENTS_OPENUSD_PYTHON"), "configured-openusd-python")
    add_python(os.getenv("USD_CONVERT_CAD_PYTHON"), "usd-convert-cad-python")

    project_root = _project_root()
    if project_root is not None:
        add_python(project_root / ".venv" / "bin" / "python", "project-venv")
        add_python(project_root / ".venv" / "Scripts" / "python.exe", "project-venv")

    if uv := shutil.which("uv"):
        command = [uv, "run"]
        if project_root is not None:
            command.extend(["--project", str(project_root)])
        else:
            command.append("--no-project")
        command.extend(["--python", "3.12", "python"])
        commands.append((command, "uv-python-3.12"))
    return commands


def openusd_runtime_commands() -> list[tuple[list[str], str]]:
    helper = Path(__file__).resolve()
    return [([*prefix, str(helper)], label) for prefix, label in openusd_python_commands()]


def prepare_upload_asset_external(
    asset_path: Path,
    output_directory: Path,
    *,
    allow_missing_textures: bool,
) -> tuple[Path, dict[str, Any]]:
    errors: list[str] = []
    for prefix, runtime_label in openusd_runtime_commands():
        command = [*prefix, str(asset_path), str(output_directory)]
        if allow_missing_textures:
            command.append("--allow-missing-textures")
        try:
            completed = subprocess.run(
                command,
                text=True,
                stdout=subprocess.PIPE,
                stderr=subprocess.PIPE,
                timeout=1800,
                check=False,
            )
        except Exception as exc:
            errors.append(f"{runtime_label}: failed to launch: {exc}")
            continue
        if completed.returncode != 0:
            detail = (completed.stderr or completed.stdout or "").strip()
            errors.append(f"{runtime_label}: {detail[:500]}")
            continue

        output_lines = completed.stdout.strip().splitlines()
        if not output_lines:
            errors.append(f"{runtime_label}: returned no result")
            continue
        try:
            payload = json.loads(output_lines[-1])
        except json.JSONDecodeError as exc:
            errors.append(f"{runtime_label}: returned invalid JSON: {exc}")
            continue
        if not isinstance(payload, dict):
            errors.append(f"{runtime_label}: returned a non-object payload")
            continue
        if not payload.get("ok"):
            error = str(payload.get("error") or "OpenUSD dependency preparation failed")
            if payload.get("error_kind") == "preparation_failed":
                info = payload.get("info")
                if not isinstance(info, dict):
                    info = _base_upload_info(asset_path)
                info["inspection_runtime"] = runtime_label
                info["inspection_executable"] = prefix[0]
                raise _preparation_error(info, error)
            errors.append(f"{runtime_label}: {error}")
            continue

        path_value = payload.get("path")
        info = payload.get("info")
        if not isinstance(path_value, str) or not isinstance(info, dict):
            errors.append(f"{runtime_label}: returned an invalid result")
            continue
        prepared_path = Path(path_value)
        if not prepared_path.is_file():
            errors.append(f"{runtime_label}: prepared upload does not exist: {prepared_path}")
            continue
        info["inspection_runtime"] = runtime_label
        info["inspection_executable"] = prefix[0]
        return prepared_path, info

    detail = "; ".join(errors) if errors else "no alternate OpenUSD runtime found"
    raise AlternateOpenUSDRuntimeUnavailable(detail)


def prepare_upload_asset_portable(
    asset_path: Path,
    output_directory: Path,
    *,
    allow_missing_textures: bool = False,
) -> tuple[Path, dict[str, Any]]:
    try:
        return prepare_upload_asset(
            asset_path,
            output_directory,
            allow_missing_textures=allow_missing_textures,
        )
    except (OpenUSDUnavailableError, OpenUSDInspectionError) as exc:
        try:
            return prepare_upload_asset_external(
                asset_path,
                output_directory,
                allow_missing_textures=allow_missing_textures,
            )
        except AlternateOpenUSDRuntimeUnavailable as external_exc:
            message = (
                "OpenUSD dependency inspection is required before Content Agents upload, but no working runtime "
                f"was available: {exc}. {external_exc}. Provide an already self-contained .usdz input or set "
                "CONTENT_AGENTS_OPENUSD_PYTHON to a Python 3.12 interpreter with pxr available."
            )
            info = _base_upload_info(asset_path)
            info["inspection_runtime"] = "unavailable"
            info["runtime_attempts"] = str(external_exc)
            raise _preparation_error(info, message) from external_exc


def main() -> int:
    parser = argparse.ArgumentParser()
    parser.add_argument("asset_path", type=Path)
    parser.add_argument("output_directory", type=Path)
    parser.add_argument("--allow-missing-textures", action="store_true")
    args = parser.parse_args()

    try:
        path, info = prepare_upload_asset(
            args.asset_path,
            args.output_directory,
            allow_missing_textures=args.allow_missing_textures,
        )
    except OpenUSDUnavailableError as exc:
        payload = {"ok": False, "error_kind": "runtime_unavailable", "error": str(exc)}
    except OpenUSDInspectionError as exc:
        payload = {"ok": False, "error_kind": "inspection_failed", "error": str(exc)}
    except UploadPreparationError as exc:
        payload = {
            "ok": False,
            "error_kind": "preparation_failed",
            "error": str(exc),
            "info": exc.upload_info,
        }
    except Exception as exc:
        payload = {"ok": False, "error_kind": "preparation_failed", "error": str(exc)}
    else:
        payload = {"ok": True, "path": str(path), "info": info}

    print(json.dumps(payload))
    return 0


if __name__ == "__main__":
    raise SystemExit(main())

Requirements and compatibility

Works with: Claude Code, Claude apps, OpenAI Codex, GitHub Copilot, Cursor, Gemini CLI, Kiro, OpenCode, Goose, Amp, Roo Code, JetBrains Junie, Factory Droid, Devin (ex-Windsurf), Mistral Vibe, OpenHands, Letta

“Works with” means the tool reads the open Agent Skills format; a skill written for one tool may use features others lack.

Needs: Declares allowed tools, Needs Python

The author says: Orchestrator skill. Managed Content Agents deployment requires a configured model provider key matching the selected backend, such as NVIDIA_API_KEY, OPENAI_API_KEY, ANTHROPIC_API_KEY, GOOGLE_API_KEY, or GEMINI_API_KEY, Docker + NVIDIA Container Toolkit + GPU, Python 3.12, and an upstream checkout of nvidia-omniverse/content-agents at the ref pinned in upstream-versions.lock.json. Reused/provided endpoints may instead use explicit endpoint and usage-token environment variables. Linux/macOS only.

Security

What our scanner noticed· Medium risk

  • Large base64-encoded blobs
  • Instructions that use the network
  • Downloads piped into a shell
  • Scripts that your agent may run

This skill includes scripts that your agent may run. Read them before you use it.

A static scan is not a guarantee. Skills are third-party content: review a skill before you let an agent use it.

Attribution and licence

Created by
Omniverse
Publisher
NVIDIA (Official)
Distributed by
NVIDIA
Source
NVIDIA/skills · skills/omniverse-cad-to-simready · commit fce3cca
Licence
Apache License 2.0 (redistribution allowed)
  • LICENSE (added by AutoGineer from LICENSE-APACHE)
  • ATTRIBUTION.md (written by AutoGineer)
Synced

AutoGineer is not affiliated with or endorsed by Omniverse or NVIDIA.

Download ZIP

The ZIP holds the skill’s files, its licence files and an ATTRIBUTION.md. Download omniverse-cad-to-simready.zip