NVlabs/USDCraft
HF Paper ↗Agent-driven Python SDK for building and testing simulation-ready 3D assets
Automated SPDX check for reference only — not legal advice. Disclaimer
GitHub Star History
Tracked from daily D1 telemetry snapshots. Hover any data point for exact daily star counts.
Evidence-Backed Technical Brief
AI Deep ReviewArchitecture & Core Mechanics
USDCraft separates asset authoring from export and physics evaluation. Generation takes text, an image or both; reconstruction takes a mesh and a reference photo. An AI agent authors a Python program against the USDCraft SDK and checks it against renders and geometry measurements. The persistent artifact is a record with model.py, inputs and run history. check runs the model's checks, compile exports standalone artifacts, and rematerialize rebuilds a record's cached exports.
The local Python stack includes CadQuery, trimesh, manifold3d and python-fcl for CAD, mesh, solid geometry and collision work, plus usd-core for OpenUSD. Rendering setup uses Playwright Chromium; the viewer is built with Node.js, and the Python manifest includes FastAPI and Uvicorn. Practical extension points are the SDK-authored model, its model.action_tests(...) declarations and the configurable model endpoint. Agent requests default to OpenAI Responses, with a Chat Completions option. PhysX evaluation runs separately through the configured Isaac environment's Python executable.
Key Capabilities & Differentiators
Generation accepts text, reference images or both. Reconstruction supports GLB, glTF, OBJ, STL, PLY, OFF, XYZ and USD with one photo; it exposes axis and unit overrides, optional mesh cleanup, and registered photo evidence with a calibrated image, object mask and mesh pose. Export targets are URDF, USD and USDZ. V2 expands the asset model beyond articulated rigid objects to cloth, soft solids, inflated bodies, cables and liquids. Verify flexible-body behavior in the intended simulator rather than assuming equivalent physics across export formats.
Every evaluated asset gets drop and pick; models can declare extra probes such as joint_sweep, fold, cloth_drape and liquid_carry_pour. Evaluation writes CSV summaries and per-run JSON, with video for failures or flagged runs by default. CSV batches offer per-row validation and configurable concurrency. On the same 36-prompt generation batch, run 12 at a time at low reasoning effort, GPT-6.2 Astra cost $0.30 per asset at a 2.1-minute median, GPT-6 Astra $0.81 at 2.6 minutes, and DeepSeek V4.1 Flash $0.09 at 8.3 minutes. Those figures characterize that batch, not reconstruction or end-to-end physics evaluation.
Trade-offs & Limitations
Compared with hand-authoring in CAD or a simulator, USDCraft takes on more of the work from incomplete references and leaves a source program that can be inspected and rebuilt. Compared with a visual-mesh-only workflow, action probes can catch failures that a render cannot, such as penetration or an unsuccessful lift. Those probes are discrete tests, not certification that an asset is physically faithful in another engine or interaction. Use manual authoring and targeted validation where dimensional tolerances or contact behavior need precise control. Multi-view input, in-place record editing and Newton support are planned rather than current capabilities.
Budget separately for model calls, local render and geometry work, and optional GPU evaluation. The batch results show a real cost–latency choice: the cheapest listed endpoint took longer on that workload. Higher reasoning effort can make runs longer without improving the balance between mesh fit and overall structure. The bundled reconstruction examples use generated meshes and renders, so qualify the pipeline on your own scans before committing. Apache-2.0 covers the project and its included NVIDIA examples, not all externally retrieved materials; review their terms, security and suitability before production use.
Hardware & Deployment Guide
The base setup targets macOS or Linux with Python 3.12, uv, and Node.js ^20.19 or >=22.12 with npm. Run uv sync and uv run usdcraft setup to install dependencies, fetch Playwright Chromium, build the viewer and create the data directories. The viewer defaults to 127.0.0.1:8770 and offers a read-only mode for review. Agent authoring runs either through a Codex account or an API-key workflow using OPENAI_API_KEY; a configurable model and base URL allow a compatible endpoint. Local tooling and cached playback should not be mistaken for offline generation through those hosted routes.
New PhysX tests require an NVIDIA GPU and a separate, roughly 30 GB environment with Isaac Sim 6.2.0 and Isaac Lab 44.0.1. Point USDCRAFT_ENGINE_PYTHON at its interpreter when it is installed outside the default location. No exact VRAM requirement is specified; measure it on representative assets and probes. The package manifest identifies v2.0.0, but no GitHub release is listed. The current branch adds flexible materials and action testing; v1 remains on a separate branch.
model.py alongside inputs and run history; exports can be rebuilt from source.--api-style chat-completions for alternate endpoints.--validate-only and per-row --run-timeout.Robotics and simulation teams turning prompts, reference images or single-photo mesh captures into editable asset programs, batch exports and repeatable PhysX checks.
You need fully offline generation out of the box, multi-view reconstruction, in-place asset editing, or validated material behavior in a non-Isaac simulator without doing your own qualification.
Quick Start & Installation
uv sync uv run usdcraft setup
Comparison vs. Top Voice, Vision & Video Alternatives
Full comparison →| Repository | Stars | 7d Trend | Stack | License | Core Positioning |
|---|---|---|---|---|---|
| USDCraft ★ | 92 | +24 | Python | Apache-2.0 | Agent-driven Python SDK for building and testing simulation-ready 3D assets |
| whisperX | 26.5k | +677 | Python | BSD-2-Clause | Batched Whisper with forced alignment for word timings and optional speaker labe |
| hypit | 32.4k | +731 | TypeScript | — | An SVML framework and CLI for turning video references into reusable workflows |
| diffusers | 35k | +36 | Python | Apache-2.0 | A modular PyTorch SDK for running and customizing multimodal diffusion pipelines |
AI Context Briefing (for Claude / Cursor / Windsurf)
Standardized architecture summary & quickstart commands ready to paste into coding agents.
curl -sL https://repoforai.com/repo/NVlabs/USDCraft.md
Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).
Frequently Asked Questions about USDCraft
How should I integrate USDCraft into an existing asset pipeline?
model.py as the source artifact. Use usdcraft check to run the model's checks and usdcraft compile to export URDF, USD and USDZ to a chosen directory. For a stored record, rematerialize rebuilds exports from the source. training-annotate accepts a record ID, a compile output directory or a USD file.Which workflows need a GPU, and how should I size the test machine?
What should a commercial or self-hosted deployment check before rollout?
When does USDCraft make more sense than manual CAD or simulator-native authoring?
Upstream README & Documentation
This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.
Top 10 Breakout Open-Source AI Repos, Every Thursday
Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy