Skip to content

feat(exporting): add OpenUSD USDA and USDZ geometry export - #516

Open
JarrettSJohnson wants to merge 12 commits into
masterfrom
codex/issue-497-usdz-export
Open

feat(exporting): add OpenUSD USDA and USDZ geometry export#516
JarrettSJohnson wants to merge 12 commits into
masterfrom
codex/issue-497-usdz-export

Conversation

@JarrettSJohnson

@JarrettSJohnson JarrettSJohnson commented Jul 25, 2026

Copy link
Copy Markdown
Member

Summary

Implements the OpenUSD portion of #497 by adding USDA and USDZ export for currently displayed geometry. The exporter preserves scale (metersPerUnit = 1e-10), colors, normals, opacity, and geometry_export_mode for spheres, sticks, sausages, cones/frustums, ellipsoids, cartoons, and surfaces.

USDZ export uses the external OpenUSD usdcat command to create a binary USDC layer and packages it as one uncompressed, 64-byte-aligned scene.usdc member. Export is available through cmd.save, cmd.get_usda, and the GUI. Ramp colors are exported black with a warning; transparent solids may be tessellated for rendering fidelity.

Testing

  • Added coverage for primitive geometry, colors, opacity, export modes, USDZ packaging, and error handling.
  • 38 focused tests pass (1 incentive-only skip).
  • Validated exported packages with usdchecker --arkit and Apple usdrecord.
  • All CI checks pass.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant