vcti-usd-schema-model 0.2.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- vcti/usd/schema/model/__init__.py +85 -0
- vcti/usd/schema/model/builder.py +1344 -0
- vcti/usd/schema/model/cli.py +49 -0
- vcti/usd/schema/model/declarations.py +588 -0
- vcti/usd/schema/model/fixtures.py +94 -0
- vcti/usd/schema/model/plugin/generatedSchema.usda +485 -0
- vcti/usd/schema/model/plugin/plugInfo.json +215 -0
- vcti/usd/schema/model/plugin/schema.usda +279 -0
- vcti/usd/schema/model/py.typed +0 -0
- vcti/usd/schema/model/registry.py +95 -0
- vcti/usd/schema/model/stages/buffers/cfd_slab1_points.bin +0 -0
- vcti/usd/schema/model/stages/cad_assembly.usda +246 -0
- vcti/usd/schema/model/stages/higher_order.usda +486 -0
- vcti/usd/schema/model/stages/kinematic.usda +292 -0
- vcti/usd/schema/model/stages/modal.usda +239 -0
- vcti/usd/schema/model/stages/multiphysics.usda +381 -0
- vcti/usd/schema/model/stages/nonlinear_mesh_change.usda +595 -0
- vcti/usd/schema/model/stages/payloads/cfd_slab0_arrays.usda +65 -0
- vcti/usd/schema/model/stages/payloads/cfd_slab0_edges.usda +17 -0
- vcti/usd/schema/model/stages/prestressed_modal.usda +343 -0
- vcti/usd/schema/model/stages/static_structural.usda +388 -0
- vcti/usd/schema/model/stages/transient_cfd.usda +490 -0
- vcti/usd/schema/model/validator.py +964 -0
- vcti/usd/schema/model/vocabulary.py +112 -0
- vcti_usd_schema_model-0.2.0.dist-info/METADATA +227 -0
- vcti_usd_schema_model-0.2.0.dist-info/RECORD +30 -0
- vcti_usd_schema_model-0.2.0.dist-info/WHEEL +5 -0
- vcti_usd_schema_model-0.2.0.dist-info/entry_points.txt +5 -0
- vcti_usd_schema_model-0.2.0.dist-info/licenses/LICENSE +8 -0
- vcti_usd_schema_model-0.2.0.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
# Copyright Visual Collaboration Technologies Inc. All Rights Reserved.
|
|
2
|
+
# See LICENSE for details.
|
|
3
|
+
"""vcti.usd.schema.model: the OpenUSD schema for the VCollab model.
|
|
4
|
+
|
|
5
|
+
The model is the stage the VCollab server builds for one model and
|
|
6
|
+
projects into the viewer protocol. This package ships that schema as a
|
|
7
|
+
codeless USD plugin, the declarations it is generated from, nine fixture
|
|
8
|
+
stages that exercise its contracts, the authoring helpers that reproduce the
|
|
9
|
+
CAE fixtures, and the validator a server-built stage must pass.
|
|
10
|
+
|
|
11
|
+
Typical use::
|
|
12
|
+
|
|
13
|
+
from vcti.usd.schema.model import open_fixture, validate
|
|
14
|
+
|
|
15
|
+
stage = open_fixture("static_structural")
|
|
16
|
+
assert validate(stage) == []
|
|
17
|
+
"""
|
|
18
|
+
|
|
19
|
+
from importlib.metadata import version
|
|
20
|
+
|
|
21
|
+
from .builder import build_fixtures
|
|
22
|
+
from .declarations import normalize_plugin_info, render_schema, write_schema
|
|
23
|
+
from .fixtures import (
|
|
24
|
+
BUILT_FIXTURE_NAMES,
|
|
25
|
+
FIXTURE_NAMES,
|
|
26
|
+
STAGES_DIR,
|
|
27
|
+
fixture_path,
|
|
28
|
+
fixture_paths,
|
|
29
|
+
open_fixture,
|
|
30
|
+
open_stage,
|
|
31
|
+
)
|
|
32
|
+
from .registry import ENTRY_POINT_GROUP, PLUGIN_DIR, is_registered, plugin_dirs, register_plugin
|
|
33
|
+
from .validator import validate, validate_file
|
|
34
|
+
from .vocabulary import (
|
|
35
|
+
COMPONENT_ORDER,
|
|
36
|
+
ELEMENT_TYPES,
|
|
37
|
+
FAMILY_WIDTH,
|
|
38
|
+
FIDELITIES,
|
|
39
|
+
GEOMETRY_ARRAYS,
|
|
40
|
+
LIBRARY_NAME,
|
|
41
|
+
MAPPINGS,
|
|
42
|
+
MODEL_KINDS,
|
|
43
|
+
PRECISIONS,
|
|
44
|
+
PRIMITIVE_TOKEN,
|
|
45
|
+
PRIMITIVES,
|
|
46
|
+
SCHEMA_VERSION,
|
|
47
|
+
SOURCE_ASSOCIATIONS,
|
|
48
|
+
)
|
|
49
|
+
|
|
50
|
+
__version__ = version("vcti-usd-schema-model")
|
|
51
|
+
|
|
52
|
+
__all__ = [
|
|
53
|
+
"BUILT_FIXTURE_NAMES",
|
|
54
|
+
"COMPONENT_ORDER",
|
|
55
|
+
"ELEMENT_TYPES",
|
|
56
|
+
"ENTRY_POINT_GROUP",
|
|
57
|
+
"FAMILY_WIDTH",
|
|
58
|
+
"FIDELITIES",
|
|
59
|
+
"FIXTURE_NAMES",
|
|
60
|
+
"GEOMETRY_ARRAYS",
|
|
61
|
+
"LIBRARY_NAME",
|
|
62
|
+
"MAPPINGS",
|
|
63
|
+
"MODEL_KINDS",
|
|
64
|
+
"PLUGIN_DIR",
|
|
65
|
+
"PRECISIONS",
|
|
66
|
+
"PRIMITIVES",
|
|
67
|
+
"PRIMITIVE_TOKEN",
|
|
68
|
+
"SCHEMA_VERSION",
|
|
69
|
+
"SOURCE_ASSOCIATIONS",
|
|
70
|
+
"STAGES_DIR",
|
|
71
|
+
"__version__",
|
|
72
|
+
"build_fixtures",
|
|
73
|
+
"fixture_path",
|
|
74
|
+
"fixture_paths",
|
|
75
|
+
"is_registered",
|
|
76
|
+
"normalize_plugin_info",
|
|
77
|
+
"open_fixture",
|
|
78
|
+
"open_stage",
|
|
79
|
+
"plugin_dirs",
|
|
80
|
+
"register_plugin",
|
|
81
|
+
"render_schema",
|
|
82
|
+
"validate",
|
|
83
|
+
"validate_file",
|
|
84
|
+
"write_schema",
|
|
85
|
+
]
|