Skip to main content

VCollab USD Model Navigator Schema

Codeless OpenUSD schema for the navigator of a VCollab model, the trees and lists a user browses it by, kept in a layer of its own that the model never depends on: schema source, generated plugin, synthetic fixtures and a validator

Overview

A VCollab model is a USD stage of prims the server builds and a viewer renders. A user does not browse that stage by prim path. They browse a navigator: the lists the application shows, whose entries carry the labels a user reads and name the model's prims.

VctStudy is what a server serves and a client enters through. It lists the model navigators that belong together, each under the name a user reads for the model.

VctModelNavigator is the root of a navigator. It names the one model it describes and lists its lists.

A list is a child of the navigator with a fixed name: parts, components, entitySets, fields, frames, histories, displayModes or materials. The name says which model types its entries may describe.

Parts and components are one tree. When an assembly places a whole mesh that has components, the components are written once, in components, under an entry for the mesh, and shown beneath every part that places it. A client does not join the two: shown_children and walk return the one tree, and lists leaves components out. A mesh may have several structures, ways of dividing it into parts; the navigator names the one a client starts with in vct:defaultComponents.

The navigator holds no view state. What a user shows and hides is kept above it, keyed by model paths. flag_targets and entry_visibility translate between an entry a user toggles and those paths. A component's entry is shown beneath every part that places its mesh, so walk_parts gives each entry with the part it is shown beneath, which flag_targets is given.

An entry is a VctDescriptor of the core schema: a label, free-form attr:* attributes and the model prims it describes. A list, or a folder, lists its entries in vct:children, so a list is a tree where the user needs one, with folders the model has no prim for. The entries themselves sit side by side in the navigator's entries scope: moving one changes two lists of children and never its path. Part attributes live on entries.

The navigator is a layer of its own. The producer stacks it over the model's layer, which never names it, and the two are the whole stage. The navigator decides the structure that reaches the viewer: how the model is named, grouped and ordered. Another way of organizing the same model is another navigator layer. What a user then does with the model in a view is not the navigator's to hold.

This package ships the schema as a codeless USD plugin, the declarations it is generated from, a fixture navigator layer for every one of the model package's fixture stages, helpers to read and author a navigator, and the validator a navigator must pass.

Installation

pip install vcti-usd-schema-model-navigator

In requirements.txt

vcti-usd-schema-model-navigator>=0.7.0

In pyproject.toml dependencies

dependencies = [
    "vcti-usd-schema-model-navigator>=0.7.0",
]

Quick Start

Read a navigator

from vcti.usd.schema.core import attributes, label, subjects
from vcti.usd.schema.modelnavigator import find_navigator, lists, open_fixture, walk

stage = open_fixture("static")
navigator = find_navigator(stage)
for shown in lists(navigator):
    print(shown.GetName(), label(shown))
    for entry in walk(shown):
        described = [str(subject.GetPath()) for subject in subjects(entry)]
        print("  ", label(entry), attributes(entry), described)

open_fixture opens the model package's fixture of that name with this package's navigator layer over it. lists and walk return what a client shows, in the order it shows it: with "static_slabs", the bracket's two arms are walked beneath the part Bracket, though they are written in the components list. Labels, attributes and subjects are read with the core package's functions.

Find the entry for a model prim

from vcti.usd.schema.core import label
from vcti.usd.schema.modelnavigator import navigator_list, describing, find_navigator, open_fixture

stage = open_fixture("static")
fields = navigator_list(find_navigator(stage), "fields")
stress = stage.GetPrimAtPath("/Model/fields/stress")
print([label(entry) for entry in describing(fields, stress)])

Author a navigator in a layer of its own

from pxr import Sdf

from vcti.usd.schema.model import fixture_path as model_fixture_path
from vcti.usd.schema.modelnavigator import (
    define_entry,
    define_list,
    define_navigator,
    open_navigator,
    validate,
)

layer = Sdf.Layer.CreateAnonymous(".usda")
stage = open_navigator(model_fixture_path("static"), layer)
stage.SetEditTarget(layer)

navigator = define_navigator(stage, "/Model")
fields = define_list(navigator, "fields", "Results")
structural = define_entry(fields, "d1", "Structural")
define_entry(structural, "d2", "Displacement", ["/Model/fields/displacement"])
print(validate(stage))
print(layer.ExportToString())

Everything authored lands in the navigator's layer; the model's layer is not written to. define_entry puts each entry in the navigator's entries scope and lists it last in the group it is given. Its name is the caller's to give: a prim name is an identifier the producer generates, never a form of the label.

Open a study of several models

from vcti.usd.schema.core import label
from vcti.usd.schema.modelnavigator import (
    navigators,
    find_study,
    model_of,
    open_study_fixture,
    validate,
    walk,
)

stage = open_study_fixture("knuckle_and_bracket")
study = find_study(stage)
print([label(entry) for entry in walk(study)])
print([str(model_of(navigator).GetPath()) for navigator in navigators(study)])
print(validate(stage))

A study is what a server serves. Its entries name the model navigators, and each navigator names its model. Every model and navigator on the stage has a root prim name of its own.

Stack a layer above the navigator

A navigator needs nothing above it. An application may stack layers of its own, for its own purposes; open_navigator(model, navigator, layers) and open_study(..., layers) take them, strongest first. One kind is the core schema's override layer, of which the fixture rearranged is an example:

from vcti.usd.schema.core import entries, label, validate_override_layer
from vcti.usd.schema.modelnavigator import (
    find_navigator,
    navigator_list,
    open_fixture,
    override_path,
    validate,
)

stage = open_fixture("static", ["rearranged"])
fields = navigator_list(find_navigator(stage), "fields")
print([label(entry) for entry in entries(fields)])
print(validate(stage), validate_override_layer(stage, override_path("rearranged")))

An override layer is checked with both validators: the core's for what the layer may hold, this package's for the stage it composes.


API at a glance

Name What it does
open_navigator(model, navigator, layers), open_fixture(name, layers) Open a model under its navigator, and any layers above it, with every plugin of the family registered
open_study(models, navigators, study, layers), open_study_fixture(name) Open several models on one stage under their navigators and the study that lists them
find_study(stage), navigators(study) The study on a stage, and the model navigators it shows, in order
find_navigator(stage, model), find_navigators(stage), model_of(navigator) The navigator of a model, and the model of a navigator
default_display_mode(navigator) The display mode a navigator says to start in
lists(navigator), navigator_list(navigator, name) The lists a navigator shows, in order, without components; one list by name
shown_children(entry), walk(prim) The entries a client shows beneath an entry, a part's components included; every entry shown beneath a prim
walk_parts(prim, part) Every entry walk gives, with the part it is shown beneath
describing(prim, subject) The entries beneath a prim that describe a model prim
component_trees(navigator, mesh), default_components(navigator) The component structures of a mesh; the default structure of each mesh
component_tree(navigator, occurrence) The structure whose children shown_children adds beneath an occurrence's part: the default of the mesh it places
flag_targets(entry, part), entry_visibility(entry, visible, part) The model paths a toggle of an entry sets; an entry's state from how those paths are read
define_study(stage, path), define_navigator(stage, model, path), define_list(navigator, name, label) Author a study's root, a navigator's root and its lists
define_entry(group, name, label, subjects, attributes) Author an entry in the entries scope, listed last in a list, a folder or a study
set_default_display_mode(navigator, mode) Say which display mode an application starts in
set_default_components(navigator, structure) Say which component structure of its mesh a client starts with
validate(stage), validate_files(model, navigator, layers) Every contract of a navigator and of its entries, as a list of messages
register_plugin() Register this plugin, the core's and the model's with this process, once
NAVIGATOR, MODEL, ENTRIES, LISTS, LIST_NAMES, SCHEMA_VERSION, … The names the schema fixes

Entries are read with the core package's label, attributes, subjects, entries and parent. A core override layer above a navigator is written with the core's override_* helpers.


Dependencies

  • usd-core, which provides the USD runtime the plugin registers into.
  • vcti-usd-schema-core, whose VctDescriptor every entry of a navigator is.
  • vcti-usd-schema-model, whose types a navigator describes. The model package depends on neither of the other two.

Documentation

If you want to… Read
Get started using the package Quick Start above
Look up a prim type, a property or a list docs/schema.md
Understand the navigator, its lists and its rules docs/design.md
See what changed CHANGELOG.md

Metadata

Release files for vcti-usd-schema-model-navigator 0.7.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for vcti-usd-schema-model-navigator 0.7.0
File Size Uploaded Provenance Actions
vcti_usd_schema_model_navigator-0.7.0.tar.gz 69.8 kB With provenance Details for vcti_usd_schema_model_navigator-0.7.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for vcti-usd-schema-model-navigator 0.7.0
File Interpreter ABI Platform Actions
vcti_usd_schema_model_navigator-0.7.0-py3-none-any.whl Python 3 none any Details for vcti_usd_schema_model_navigator-0.7.0-py3-none-any.whl

Total release size: 135.5 kB

Release files / vcti_usd_schema_model_navigator-0.7.0.tar.gz

Download URL vcti_usd_schema_model_navigator-0.7.0.tar.gz
Size 69.8 kB
Tags Source
SHA-256 checksum
How to use checksums
f2d3816e7a8ea919214de3e9244522ce01fdfdaf2fbdcab8461c7f61a3c26f2a
BLAKE2b-256 checksum
How to use checksums
872c1a86a808b588475a12412c5882ddcc39258834528012273c6a98094aa060
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 2, 2026.

Transparency log

Release files / vcti_usd_schema_model_navigator-0.7.0-py3-none-any.whl

Download URL vcti_usd_schema_model_navigator-0.7.0-py3-none-any.whl
Size 65.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3e9afda209a738794f3098d2046c47755f51cef5336e68055269809beee16b1f
BLAKE2b-256 checksum
How to use checksums
c426a6eac3094956c368fb1bbc951fd5445ea51233f31e0f3175ec32069d83f9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 2, 2026.

Transparency log

Security for vcti-usd-schema-model-navigator 0.7.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for vcti_usd_schema_model_navigator-0.7.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 2, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page