Examples#

Runnable example projects live under examples/ in the repository, in both C and Python. Each example is self-contained and is the source of truth for the code snippets referenced by the ovstage skills.

Minimal C

Create an instance, obtain its path dictionary, intern paths and tokens, write an attribute column, advance the write floor, and read it back.

Minimal Python

The Python equivalent of the C minimal example, using the ctypes bindings.

Runtime Loop C

A minimal per-frame runtime loop: populate a USD stage, then advance ordinals and exchange changed data across simulation steps.

Runtime Loop Python

A per-frame runtime loop driven from Python.

Authoring Hierarchy C

Author and clone a hierarchy without USD, then explicitly derive world transforms with a supported GPU computation model.

Authoring Hierarchy Python

The Python equivalent, including absent and stale derived-world rows before hierarchy computation.

USD Export C

Populate ovstage from USD, select /World/Props with a shared population predicate, and export its typed hierarchy to a one-shot saved file through the public C ABI without rule tables.

USD Export Python

Populate ovstage from USD and export the typed /World/Props hierarchy with the metadata-driven helper, preserving recorded prim types, applied schemas, and supported schema-declared attributes in a one-shot file.