Skip to main content

VCollab USD Model Catalog Schema

Codeless OpenUSD schema for the catalog 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 catalog: 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 catalogs that belong together, each under the name a user reads for the model.

VctModelCatalog is the root of a catalog. It names the one model it describes and holds the lists.

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

An entry is a VctDescriptor of the core schema: a label, free-form attr:* attributes and the model prims it describes. Entries nest, so a list is a tree where the user needs one, with folders the model has no prim for. Part attributes live on entries.

The catalog is a layer of its own. It is stacked over the model's layer, which never names it. A user's renames, order, hidden and moved entries are core override layers over the catalog, and reach nothing of the model.

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

Installation

pip install vcti-usd-schema-model-catalog

In requirements.txt

vcti-usd-schema-model-catalog>=0.2.0

In pyproject.toml dependencies

dependencies = [
    "vcti-usd-schema-model-catalog>=0.2.0",
]

Quick Start

Read a catalog

from vcti.usd.schema.core import attributes, label, subjects
from vcti.usd.schema.modelcatalog import find_catalog, lists, open_fixture, walk

stage = open_fixture("static_structural")
catalog = find_catalog(stage)
for shown in lists(catalog):
    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 catalog layer over it. lists and walk return what a client shows, in the order it shows it. 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.modelcatalog import catalog_list, describing, find_catalog, open_fixture

stage = open_fixture("static_structural")
fields = catalog_list(find_catalog(stage), "fields")
stress = stage.GetPrimAtPath("/Model/fields/stress")
print([label(entry) for entry in describing(fields, stress)])

Author a catalog in a layer of its own

from pxr import Sdf

from vcti.usd.schema.core import define_descriptor
from vcti.usd.schema.model import fixture_path as model_fixture_path
from vcti.usd.schema.modelcatalog import define_catalog, define_list, open_catalog, validate

layer = Sdf.Layer.CreateAnonymous(".usda")
stage = open_catalog(model_fixture_path("static_structural"), layer)
stage.SetEditTarget(layer)

catalog = define_catalog(stage, "/Model")
fields = define_list(catalog, "fields", "Results")
define_descriptor(
    stage,
    "/ModelCatalog/fields/d1",
    "Displacement",
    subjects=["/Model/fields/displacement"],
)
print(validate(stage))
print(layer.ExportToString())

Everything authored lands in the catalog's layer; the model's layer is not written to. Each entry's path 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.modelcatalog import (
    catalogs,
    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(catalog).GetPath()) for catalog in catalogs(study)])
print(validate(stage))

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

Compose a user's changes

from vcti.usd.schema.core import entries, label, validate_override_layer
from vcti.usd.schema.modelcatalog import (
    catalog_list,
    find_catalog,
    open_fixture,
    override_path,
    validate,
)

stage = open_fixture("static_structural", ["user"])
fields = catalog_list(find_catalog(stage), "fields")
print([label(entry) for entry in entries(fields)])
print(validate(stage), validate_override_layer(stage, override_path("user")))

open_catalog(model, catalog, overrides) does the same for any layers. 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_catalog(model, catalog, overrides), open_fixture(name, overrides) Open a model under its catalog and any override layers, with every plugin of the family registered
open_study(models, catalogs, study, overrides), open_study_fixture(name) Open several models on one stage under their catalogs and the study that lists them
find_study(stage), catalogs(study) The study on a stage, and the model catalogs it shows, in order
find_catalog(stage, model), find_catalogs(stage), model_of(catalog) The catalog of a model, and the model of a catalog
component_tree(catalog, occurrence) The entry whose children are the parts shown beneath an occurrence: the one that describes the mesh it places
default_display_mode(catalog) The display mode a catalog says to start in
lists(catalog), catalog_list(catalog, name) The lists a catalog shows, in order; one list by name
walk(prim), describing(prim, subject) Every listed entry beneath a prim; the entries that describe a model prim
define_study(stage, path), define_catalog(stage, model, path), define_list(catalog, name, label) Author a study's root, a catalog's root and its lists
set_default_display_mode(catalog, mode) Say which display mode an application starts in
validate(stage), validate_files(model, catalog, overrides) Every contract of a catalog 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
CATALOG, MODEL, LISTS, LIST_NAMES, SCHEMA_VERSION, … The names the schema fixes

Entries are read with the core package's label, attributes, subjects and entries, authored with its define_descriptor, and overridden with its override_* helpers.


Dependencies

  • usd-core, which provides the USD runtime the plugin registers into.
  • vcti-usd-schema-core, whose VctDescriptor every entry of a catalog is.
  • vcti-usd-schema-model, whose types a catalog 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 catalog, its lists and its rules docs/design.md
See what changed CHANGELOG.md

Metadata

Release files for vcti-usd-schema-model-catalog 0.2.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-catalog 0.2.0
File Size Uploaded Provenance Actions
vcti_usd_schema_model_catalog-0.2.0.tar.gz 47.4 kB With provenance Details for vcti_usd_schema_model_catalog-0.2.0.tar.gz

Built distribution (wheel)

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

Total release size: 84.4 kB

Release files / vcti_usd_schema_model_catalog-0.2.0.tar.gz

Download URL vcti_usd_schema_model_catalog-0.2.0.tar.gz
Size 47.4 kB
Tags Source
SHA-256 checksum
How to use checksums
d380b307f9f744d5664868058e09892d099e19747b6f170f1f4f3ba1f1fdd3bd
BLAKE2b-256 checksum
How to use checksums
942f53088e9b7ca39c3f26661449dc2f705e55bca5a1f0293ce78b1d1005f736
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 Nov 18, 2026.

Transparency log

Release files / vcti_usd_schema_model_catalog-0.2.0-py3-none-any.whl

Download URL vcti_usd_schema_model_catalog-0.2.0-py3-none-any.whl
Size 37.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
414251a4b36afa8a686c9db00bad5f58bb2652c96d985922f7b8e61e3f4ea4ec
BLAKE2b-256 checksum
How to use checksums
b1d1834ed672d617aab6c77c4bf2a14cf77608ea7ccf958219bb0fc11418a9f9
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 Nov 18, 2026.

Transparency log

Security for vcti-usd-schema-model-catalog 0.2.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_catalog-0.2.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 Nov 18, 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.

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files Full provenance

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