the procedural layer for USD
One network, open in Blender, Houdini and usdview.
This project is currently in Alpha. The core architecture is functional but actively evolving. Expect breaking changes, bugs, and incomplete features. Do not use this in production yet.
Because this project is in its early stages, your input will directly shape the final product. We are actively looking for feedback on:
- Developer Experience: Is the setup process smooth? Are the docs clear?
- API Design: Does the code feel intuitive to use?
- Edge Cases: Did you find any bugs or strange behaviors?
Please share your thoughts, feature ideas, or bug reports by opening a github issue.
USD is what 3D pipelines are built on, but it records what a scene is, not how it was
made. usd_chunks adds that missing layer: proceduralism stored in USD itself.
You build a node network that generates and edits a scene: reference assets, scatter
instances, bind materials, run a physics solve.
The network is saved in the .usda next to the scene it builds, so the file holds the
steps that make the scene, not just a baked result. Open it again and every step can still
be changed and re-cooked.
The same file runs in usdview, Houdini and Blender, and headless in automation pipelines. One network can be a tool an artist tweaks in a viewport, then the same network can rebuild a thousand assets on a farm.
Built for anyone whose pipeline runs on USD:
- Manufacturing and automotive: CAD turned into structured, simulation-ready USD (CAD Import: STEP, IGES and DXF).
- Robotics and AI simulation: physics solves and synthetic training data, with Wedge variations written out as KITTI datasets.
- VFX, games and visualization: set dressing, scatter, LOD proxies
(Remesh β Bake),
and asset libraries rebuilt with
batch.
Each of these has a script you can run, from CAD to a rendered image: Pipeline examples.
-
One network, every host. The same network opens as a node graph in usdview, Houdini or Blender, and cooks from the terminal with no UI at all.
-
Native USD, no proprietary format. A node is a prim, a wire is a USD connection, and each node writes into its own layer, so the source scene isn't touched. Saving the stage saves the graph, and any USD tool can read it. A network is a text
.usdaand a chunk is a.py, so both diff in git and a chunk is unit-tested like any module. -
Networks are assets. Save a ChunkGroup to a file and reference it into another scene: it becomes one node you can dive into, and your edits stay overrides in your file.
-
Readable by AI agents. Every chunk describes itself in
config(), and a ChunkGroup's Description says what a saved network does. An agent can read the file, find the chunks it needs, and build or change a network through the sameSceneAPI a person scripts. -
Built for pipelines. Override any param from the command line, keep the network live in the output, or run it once per file a glob matches:
usdchunks run layout.usda Transform.tx=5 -o result.usda usdchunks batch proxy.usda Reference.file_path='assets/*.usdc' -o 'lib/{1}/{1}.usda' -
Scriptable from Python. Build or edit a network with
Scene, in a script or a host's interpreter. What a script builds opens as a graph, and a script can add to a graph you already have. A forest biome, trees in noise clearings with bushes growing under them, shortened fromexamples/scripts/biome.py:from usd_chunks import Scene with Scene.new() as scene: ground = scene.create.mesh(prim_path="/ground", mesh_type="grid", dimx1=80, dimy1=80, width1=80.0, height2=80.0) forest = scene.create.noise_field(ground, prim_path="/ground", primvar="forest", size=14.0, threshold=0.45) trees = scene.create.scatter_points(forest, surface_prim="/ground", inst_path="/biome/trees", density_primvar="forest", max_count=120, auto_spacing=False, spacing=3.5) bushes = scene.create.scatter_points(trees, surface_prim="/ground", inst_path="/biome/bushes", near_prims="/biome/trees", near_radius=4.5, max_count=400, auto_spacing=False, spacing=1.4) scene.set_output(bushes) scene.save("biome_network.usda") # the network: opens as a graph, still procedural scene.export("biome.usda") # the result: plain USD
-
New tools are a short Python file. Each node is a Chunk: a module that lists its parameters and what to do with them. From it, usd_chunks builds the node, its panel of widgets, and a command-line entry point. It builds the viewport handles too if you install usd_gizmos. You don't write any Qt or plugin boilerplate. A Reference node, cut down from
chunks/usd/reference.py:from usd_chunks import chunk def main(): node = chunk.Chunk("Reference") node.add_param(chunk.FileBrowser("file_path", extensions=[".usd*"])) node.add_param(chunk.LineEdit("primpath_location", "Insert to location", default_value="/Asset")) return node def execute(node): file_path = node.get_param("file_path").value if file_path: prim = node.get_stage().DefinePrim(node.get_param("primpath_location").value, "Xform") prim.GetReferences().AddReference(file_path) def config(): return chunk.DefaultConfig( category=chunk.StandardCategory.USD, icon="link", description="Brings a USD file into the scene as a reference.", )
main()builds the params,execute()cooks into the node's own layer (starting empty each cook), andconfig()says what the chunk is: where it sits in the Tab menu, the help a person or an AI agent reads, and when needed its pip requirements, the hosts and versions it runs in, extra ports and cook caching. Drop the file in a folder onUSD_CHUNK_DIRSand it's in the Tab menu.Chunks are Python because every USD host already embeds it, so they run anywhere without a build step. Heavy work goes to compiled code (USD's C++, numpy, MuJoCo); see Making a chunk fast.
One chunk, SwedishHouse: its sliders come from the module's own params.
The docs for each release are at https://huginstudios.github.io/usd_chunks/.
-
Install it.
Blender (4.2 or newer): download
usd_chunks_blender-<version>.zipfrom the Releases page and don't unzip it. In Blender, go to Edit > Preferences > Add-ons, open the β menu at the top right, choose Install from Disk... and pick the zip. There is nothing else to install. Then switch any area to USDChunks Editor, click New and press Shift+A to add a chunk. See Blender for more.usdview:
git clone https://github.com/HuginStudios/usd_chunks.git C:\src\usd_chunks python -m pip install -e C:\src\usd_chunks set PXR_PLUGINPATH_NAME=C:\src\usd_chunks\usd_chunks\hosts\usdview usdview anything.usdaThe install page covers PowerShell and macOS/Linux, every environment variable, and what to do if something doesn't show up.
Houdini: see Houdini.
-
Use the node graph: add and connect your first chunk.
-
Output, View and ChunkGroup: the chunks that organise a graph. Output is what a graph delivers, View is where you look, ChunkGroup is a subnet.
-
Build a network from Python: make chunks, set params and wire them with
Scene, in a script or in usdview. -
Learn what a Chunk is: params, groups, flags and an example.
-
Write your own chunk:
main(),config(),execute()andcommit().
The chunks/ folder has the chunks we build and test against: transforms,
references, materials, MaterialX shading, scattering, a MuJoCo rigid-body solver and more.
Most are under 500 lines, so they also work as examples to learn from.
Scatter Brush, Scatter Points and a Camera, wired together.
A chunk is ordinary Python and can do anything Python can, just like a package you
install with pip. A .usda file can't install new chunks, but opening one runs the
chunks you have installed, with the values saved in the file. Some chunks, like the Python
chunk, run code stored in the file. Read SECURITY.md before opening a network
from someone else.
The repo comes set up for AI coding agents such as Claude Code and Codex.
AGENTS.md is the one set of instructions they all read: the repo layout, how
to test and lint, and the rules a chunk follows. CLAUDE.md only points to it.
The skills/ folder has step-by-step recipes for the common jobs:
| Skill | For |
|---|---|
usd-chunks-write-chunk |
A new chunk module with main(), execute(), config() and a test |
usd-chunks-build-network |
Building or editing a network with the Scene API from a description |
usd-chunks-batch |
usdchunks run/batch/sweep commands with param overrides for pipeline jobs |
usd-chunks-review-chunk |
Checking a chunk against the repo's conventions |
usd-chunks-chunkgroup-asset |
Packaging a network as a reusable ChunkGroup and referencing it into other scenes |
usd-chunks-add-gizmo |
Adding viewport handles to a chunk |
usd-chunks-framework-change |
Changing the framework itself: the invariants to keep |
.agents/skills, .claude/skills and .codex/skills are symlinks to skills/, so each
agent finds the same files. On Windows without symlink support, run
python skills/link_skills.py once after cloning. If agent setups like this are new to
you, the AI harness quickstart gives the
background.
This repo is the core framework, not a place to publish your own chunks. See CONTRIBUTING.md for setup, tests and opening a PR.
Apache License 2.0, the same license as OpenUSD. See LICENSE.


