USD scenes
A .usda text layer opens as its prim hierarchy: path, schema type and specifier
(def, over, class), with the layer's defaultPrim, upAxis and metersPerUnit.
A .usdz package opens as its packed files with sizes, and the prims of its default
layer (the package's first member). Code: src/web/render/usd.ts; kind usd, up to 20 MB.
- Nothing is followed: references, payloads and variant contents are not read; a prim
inside a variant is not listed. A binary layer (
PXR-USDC) is named, not read. - Bounded before any loop: 2,000 prims, 64 levels deep, a default layer inflated to 5 MB. Past a bound the page says how many are not listed.
- A file over the cap, not a zip, or not opening on
#usdakeeps its source view, with one line why. - The MCP
read_filetool carries the same facts asabout: { kind: "usd", prims, types, says }. - The terminal opens the same facts: in a repository's files screen, open a
.usdaor.usdzand the pane lists the layer's prims (indented by depth) and the packed files, 200 lines at most. Code:src/tui/ui/usd-note.ts, wired insrc/tui/screens/workspace.ts. - Not done:
.usdand.usdc(a.usdmay be text or binary), a 3D preview.