file_path
stringlengths
32
153
content
stringlengths
0
3.14M
omniverse-code/kit/exts/omni.kit.property.usd/omni/kit/property/usd/placeholder_attribute.py
import carb from pxr import Sdf, Usd, UsdGeom, UsdShade ## this is a placeholder for Usd.Attribute as that class cannot be created unless attached to a prim class PlaceholderAttribute: def __init__(self, name, prim: Usd.Prim = None, metadata=None): self._name = name self._prim = prim self...
omniverse-code/kit/exts/omni.kit.property.usd/omni/kit/property/usd/widgets.py
# Copyright (c) 2020, NVIDIA CORPORATION. All rights reserved. # # NVIDIA CORPORATION and its licensors retain all intellectual property # and proprietary rights in and to this software, related documentation # and any modifications thereto. Any use, reproduction, disclosure or # distribution of this software and rel...
omniverse-code/kit/exts/omni.kit.property.usd/omni/kit/property/usd/asset_filepicker.py
# Copyright (c) 2020-2022, NVIDIA CORPORATION. All rights reserved. # # NVIDIA CORPORATION and its licensors retain all intellectual property # and proprietary rights in and to this software, related documentation # and any modifications thereto. Any use, reproduction, disclosure or # distribution of this software an...
omniverse-code/kit/exts/omni.kit.property.usd/omni/kit/property/usd/variants_model.py
# Copyright (c) 2020, NVIDIA CORPORATION. All rights reserved. # # NVIDIA CORPORATION and its licensors retain all intellectual property # and proprietary rights in and to this software, related documentation # and any modifications thereto. Any use, reproduction, disclosure or # distribution of this software and rel...
omniverse-code/kit/exts/omni.kit.property.usd/omni/kit/property/usd/prim_selection_payload.py
import weakref from typing import List from pxr import Sdf, Usd class PrimSelectionPayload: def __init__(self, stage: weakref.ReferenceType(Usd.Stage), paths: List[Sdf.Path]): self._stage = stage # weakref self._payload = paths self._ignore_large_selection_override = False impor...
omniverse-code/kit/exts/omni.kit.property.usd/omni/kit/property/usd/variants_widget.py
# Copyright (c) 2020, NVIDIA CORPORATION. All rights reserved. # # NVIDIA CORPORATION and its licensors retain all intellectual property # and proprietary rights in and to this software, related documentation # and any modifications thereto. Any use, reproduction, disclosure or # distribution of this software and rel...
omniverse-code/kit/exts/omni.kit.property.usd/omni/kit/property/usd/usd_attribute_widget_builder.py
# Copyright (c) 2020, NVIDIA CORPORATION. All rights reserved. # # NVIDIA CORPORATION and its licensors retain all intellectual property # and proprietary rights in and to this software, related documentation # and any modifications thereto. Any use, reproduction, disclosure or # distribution of this software and rel...
omniverse-code/kit/exts/omni.kit.property.usd/omni/kit/property/usd/prim_path_widget.py
# Copyright (c) 2020, NVIDIA CORPORATION. All rights reserved. # # NVIDIA CORPORATION and its licensors retain all intellectual property # and proprietary rights in and to this software, related documentation # and any modifications thereto. Any use, reproduction, disclosure or # distribution of this software and rel...
omniverse-code/kit/exts/omni.kit.property.usd/omni/kit/property/usd/__init__.py
# Copyright (c) 2018-2020, NVIDIA CORPORATION. All rights reserved. # # NVIDIA CORPORATION and its licensors retain all intellectual property # and proprietary rights in and to this software, related documentation # and any modifications thereto. Any use, reproduction, disclosure or # distribution of this software an...
omniverse-code/kit/exts/omni.kit.property.usd/omni/kit/property/usd/usd_attribute_widget.py
# Copyright (c) 2020, NVIDIA CORPORATION. All rights reserved. # # NVIDIA CORPORATION and its licensors retain all intellectual property # and proprietary rights in and to this software, related documentation # and any modifications thereto. Any use, reproduction, disclosure or # distribution of this software and rel...
omniverse-code/kit/exts/omni.kit.property.usd/omni/kit/property/usd/usd_property_widget_builder.py
# Copyright (c) 2020, NVIDIA CORPORATION. All rights reserved. # # NVIDIA CORPORATION and its licensors retain all intellectual property # and proprietary rights in and to this software, related documentation # and any modifications thereto. Any use, reproduction, disclosure or # distribution of this software and rel...
omniverse-code/kit/exts/omni.kit.property.usd/omni/kit/property/usd/context_menu.py
# Copyright (c) 2020, NVIDIA CORPORATION. All rights reserved. # # NVIDIA CORPORATION and its licensors retain all intellectual property # and proprietary rights in and to this software, related documentation # and any modifications thereto. Any use, reproduction, disclosure or # distribution of this software and rel...
omniverse-code/kit/exts/omni.kit.property.usd/omni/kit/property/usd/usd_attribute_model.py
# Copyright (c) 2020, NVIDIA CORPORATION. All rights reserved. # # NVIDIA CORPORATION and its licensors retain all intellectual property # and proprietary rights in and to this software, related documentation # and any modifications thereto. Any use, reproduction, disclosure or # distribution of this software and rel...
omniverse-code/kit/exts/omni.kit.property.usd/omni/kit/property/usd/message_bus_events.py
# Copyright (c) 2022, NVIDIA CORPORATION. All rights reserved. # # NVIDIA CORPORATION and its licensors retain all intellectual property # and proprietary rights in and to this software, related documentation # and any modifications thereto. Any use, reproduction, disclosure or # distribution of this software and rel...
omniverse-code/kit/exts/omni.kit.property.usd/omni/kit/property/usd/references_widget.py
# Copyright (c) 2020, NVIDIA CORPORATION. All rights reserved. # # NVIDIA CORPORATION and its licensors retain all intellectual property # and proprietary rights in and to this software, related documentation # and any modifications thereto. Any use, reproduction, disclosure or # distribution of this software and rel...
omniverse-code/kit/exts/omni.kit.property.usd/omni/kit/property/usd/control_state_manager.py
# Copyright (c) 2021, NVIDIA CORPORATION. All rights reserved. # # NVIDIA CORPORATION and its licensors retain all intellectual property # and proprietary rights in and to this software, related documentation # and any modifications thereto. Any use, reproduction, disclosure or # distribution of this software and rel...
omniverse-code/kit/exts/omni.kit.property.usd/omni/kit/property/usd/attribute_context_menu.py
# Copyright (c) 2021, NVIDIA CORPORATION. All rights reserved. # # NVIDIA CORPORATION and its licensors retain all intellectual property # and proprietary rights in and to this software, related documentation # and any modifications thereto. Any use, reproduction, disclosure or # distribution of this software and rel...
omniverse-code/kit/exts/omni.kit.property.usd/omni/kit/property/usd/usd_object_model.py
# Copyright (c) 2020, NVIDIA CORPORATION. All rights reserved. # # NVIDIA CORPORATION and its licensors retain all intellectual property # and proprietary rights in and to this software, related documentation # and any modifications thereto. Any use, reproduction, disclosure or # distribution of this software and rel...
omniverse-code/kit/exts/omni.kit.property.usd/omni/kit/property/usd/versioning_helper.py
## Copyright (c) 2021, NVIDIA CORPORATION. All rights reserved. ## ## NVIDIA CORPORATION and its licensors retain all intellectual property ## and proprietary rights in and to this software, related documentation ## and any modifications thereto. Any use, reproduction, disclosure or ## distribution of this software a...
omniverse-code/kit/exts/omni.kit.property.usd/omni/kit/property/usd/custom_layout_helper.py
# Copyright (c) 2020, NVIDIA CORPORATION. All rights reserved. # # NVIDIA CORPORATION and its licensors retain all intellectual property # and proprietary rights in and to this software, related documentation # and any modifications thereto. Any use, reproduction, disclosure or # distribution of this software and rel...
omniverse-code/kit/exts/omni.kit.property.usd/omni/kit/property/usd/add_attribute_popup.py
# Copyright (c) 2020, NVIDIA CORPORATION. All rights reserved. # # NVIDIA CORPORATION and its licensors retain all intellectual property # and proprietary rights in and to this software, related documentation # and any modifications thereto. Any use, reproduction, disclosure or # distribution of this software and rel...
omniverse-code/kit/exts/omni.kit.property.usd/omni/kit/property/usd/tests/test_shader_material_subid_property.py
## Copyright (c) 2021, NVIDIA CORPORATION. All rights reserved. ## ## NVIDIA CORPORATION and its licensors retain all intellectual property ## and proprietary rights in and to this software, related documentation ## and any modifications thereto. Any use, reproduction, disclosure or ## distribution of this software a...
omniverse-code/kit/exts/omni.kit.property.usd/omni/kit/property/usd/tests/test_material_edits_and_undo.py
## Copyright (c) 2021, NVIDIA CORPORATION. All rights reserved. ## ## NVIDIA CORPORATION and its licensors retain all intellectual property ## and proprietary rights in and to this software, related documentation ## and any modifications thereto. Any use, reproduction, disclosure or ## distribution of this software ...
omniverse-code/kit/exts/omni.kit.property.usd/omni/kit/property/usd/tests/test_mixed_variant.py
## Copyright (c) 2021, NVIDIA CORPORATION. All rights reserved. ## ## NVIDIA CORPORATION and its licensors retain all intellectual property ## and proprietary rights in and to this software, related documentation ## and any modifications thereto. Any use, reproduction, disclosure or ## distribution of this software a...
omniverse-code/kit/exts/omni.kit.property.usd/omni/kit/property/usd/tests/create_prims.py
import os import carb import carb.settings import omni.kit.commands from pxr import Usd, Sdf, UsdGeom, Gf, Tf, UsdShade, UsdLux def create_test_stage(): stage = omni.usd.get_context().get_stage() rootname = "" if stage.HasDefaultPrim(): rootname = stage.GetDefaultPrim().GetPath().pathString pr...
omniverse-code/kit/exts/omni.kit.property.usd/omni/kit/property/usd/tests/test_usd_api.py
import carb import unittest import omni.kit.test from omni.kit import ui_test from omni.kit.test_suite.helpers import wait_stage_loading class TestUsdAPI(omni.kit.test.AsyncTestCase): async def setUp(self): from omni.kit.test_suite.helpers import arrange_windows await arrange_windows("Stage", 200...
omniverse-code/kit/exts/omni.kit.property.usd/omni/kit/property/usd/tests/basic_types_ui.py
## Copyright (c) 2021, NVIDIA CORPORATION. All rights reserved. ## ## NVIDIA CORPORATION and its licensors retain all intellectual property ## and proprietary rights in and to this software, related documentation ## and any modifications thereto. Any use, reproduction, disclosure or ## distribution of this software a...
omniverse-code/kit/exts/omni.kit.property.usd/omni/kit/property/usd/tests/hard_softrange_array_ui.py
## Copyright (c) 2021, NVIDIA CORPORATION. All rights reserved. ## ## NVIDIA CORPORATION and its licensors retain all intellectual property ## and proprietary rights in and to this software, related documentation ## and any modifications thereto. Any use, reproduction, disclosure or ## distribution of this software a...
omniverse-code/kit/exts/omni.kit.property.usd/omni/kit/property/usd/tests/test_widget.py
# Copyright (c) 2021, NVIDIA CORPORATION. All rights reserved. # # NVIDIA CORPORATION and its licensors retain all intellectual property # and proprietary rights in and to this software, related documentation # and any modifications thereto. Any use, reproduction, disclosure or # distribution of this software and rel...
omniverse-code/kit/exts/omni.kit.property.usd/omni/kit/property/usd/tests/test_softrange_ui.py
## Copyright (c) 2021, NVIDIA CORPORATION. All rights reserved. ## ## NVIDIA CORPORATION and its licensors retain all intellectual property ## and proprietary rights in and to this software, related documentation ## and any modifications thereto. Any use, reproduction, disclosure or ## distribution of this software a...
omniverse-code/kit/exts/omni.kit.property.usd/omni/kit/property/usd/tests/__init__.py
from .create_prims import * from .test_widget import * from .test_usd_api import * from .test_placeholder import * from .test_path_menu import * from .test_shader_goto_material_property import * from .test_shader_goto_UDIM_material_property import * from .hard_softrange_ui import * from .hard_softrange_array_ui import ...
omniverse-code/kit/exts/omni.kit.property.usd/omni/kit/property/usd/tests/test_placeholder.py
import carb import unittest import omni.kit.test from pxr import Sdf, Usd class TestPlaceholderAttribute(omni.kit.test.AsyncTestCase): async def setUp(self): await omni.usd.get_context().new_stage_async() async def tearDown(self): pass async def test_placeholder_attribute(self): ...
omniverse-code/kit/exts/omni.kit.property.usd/omni/kit/property/usd/tests/test_relationship.py
## Copyright (c) 2021, NVIDIA CORPORATION. All rights reserved. ## ## NVIDIA CORPORATION and its licensors retain all intellectual property ## and proprietary rights in and to this software, related documentation ## and any modifications thereto. Any use, reproduction, disclosure or ## distribution of this software a...
omniverse-code/kit/exts/omni.kit.property.usd/omni/kit/property/usd/tests/test_property_bind_material_combo.py
## Copyright (c) 2021, NVIDIA CORPORATION. All rights reserved. ## ## NVIDIA CORPORATION and its licensors retain all intellectual property ## and proprietary rights in and to this software, related documentation ## and any modifications thereto. Any use, reproduction, disclosure or ## distribution of this software a...
omniverse-code/kit/exts/omni.kit.property.usd/omni/kit/property/usd/tests/hard_softrange_ui.py
## Copyright (c) 2021, NVIDIA CORPORATION. All rights reserved. ## ## NVIDIA CORPORATION and its licensors retain all intellectual property ## and proprietary rights in and to this software, related documentation ## and any modifications thereto. Any use, reproduction, disclosure or ## distribution of this software a...
omniverse-code/kit/exts/omni.kit.property.usd/omni/kit/property/usd/tests/test_path_menu.py
import carb import unittest import omni.kit.test class TestPathMenu(omni.kit.test.AsyncTestCase): async def setUp(self): from omni.kit.test_suite.helpers import arrange_windows await arrange_windows() async def tearDown(self): pass async def test_path_menu(self): from om...
omniverse-code/kit/exts/omni.kit.property.usd/omni/kit/property/usd/tests/test_path_add_menu.py
## Copyright (c) 2022, NVIDIA CORPORATION. All rights reserved. ## ## NVIDIA CORPORATION and its licensors retain all intellectual property ## and proprietary rights in and to this software, related documentation ## and any modifications thereto. Any use, reproduction, disclosure or ## distribution of this software a...
omniverse-code/kit/exts/omni.kit.property.usd/omni/kit/property/usd/tests/test_material_widget_refresh_on_binding.py
## Copyright (c) 2021, NVIDIA CORPORATION. All rights reserved. ## ## NVIDIA CORPORATION and its licensors retain all intellectual property ## and proprietary rights in and to this software, related documentation ## and any modifications thereto. Any use, reproduction, disclosure or ## distribution of this software a...
omniverse-code/kit/exts/omni.kit.property.usd/omni/kit/property/usd/tests/test_drag_drop_material_property_combobox.py
## Copyright (c) 2021, NVIDIA CORPORATION. All rights reserved. ## ## NVIDIA CORPORATION and its licensors retain all intellectual property ## and proprietary rights in and to this software, related documentation ## and any modifications thereto. Any use, reproduction, disclosure or ## distribution of this software a...
omniverse-code/kit/exts/omni.kit.property.usd/omni/kit/property/usd/tests/test_usd_preferences.py
## Copyright (c) 2021, NVIDIA CORPORATION. All rights reserved. ## ## NVIDIA CORPORATION and its licensors retain all intellectual property ## and proprietary rights in and to this software, related documentation ## and any modifications thereto. Any use, reproduction, disclosure or ## distribution of this software a...
omniverse-code/kit/exts/omni.kit.property.usd/omni/kit/property/usd/tests/test_shader_goto_UDIM_material_property.py
## Copyright (c) 2021, NVIDIA CORPORATION. All rights reserved. ## ## NVIDIA CORPORATION and its licensors retain all intellectual property ## and proprietary rights in and to this software, related documentation ## and any modifications thereto. Any use, reproduction, disclosure or ## distribution of this software a...
omniverse-code/kit/exts/omni.kit.property.usd/omni/kit/property/usd/tests/test_shader_drag_drop_mdl.py
import omni.kit.test import omni.kit.ui_test as ui_test from pathlib import Path from omni.ui.tests.test_base import OmniUiTest from omni.kit.test_suite.helpers import open_stage, wait_stage_loading, get_test_data_path, select_prims, arrange_windows from omni.kit.window.content_browser.test_helper import ContentBrowse...
omniverse-code/kit/exts/omni.kit.property.usd/omni/kit/property/usd/tests/test_shader_goto_material_property.py
## Copyright (c) 2021, NVIDIA CORPORATION. All rights reserved. ## ## NVIDIA CORPORATION and its licensors retain all intellectual property ## and proprietary rights in and to this software, related documentation ## and any modifications thereto. Any use, reproduction, disclosure or ## distribution of this software a...
omniverse-code/kit/exts/omni.kit.property.usd/omni/kit/property/usd/tests/test_references.py
import carb import omni.kit.ui_test as ui_test import omni.usd from pathlib import Path from pxr import Sdf, UsdShade, UsdGeom from omni.ui.tests.test_base import OmniUiTest from omni.kit.test_suite.helpers import open_stage, wait_stage_loading, get_test_data_path, select_prims, arrange_windows from omni.kit.window.co...
omniverse-code/kit/exts/omni.kit.property.usd/omni/kit/property/usd/tests/test_payloads.py
import carb import omni.usd from pxr import Sdf from omni.kit import ui_test from omni.ui.tests.test_base import OmniUiTest from omni.kit.test_suite.helpers import open_stage, wait_stage_loading, get_test_data_path, select_prims, arrange_windows from omni.kit.window.content_browser.test_helper import ContentBrowserTes...
omniverse-code/kit/exts/omni.kit.property.usd/omni/kit/property/usd/tests/test_bool_arrays.py
## Copyright (c) 2022, NVIDIA CORPORATION. All rights reserved. ## ## NVIDIA CORPORATION and its licensors retain all intellectual property ## and proprietary rights in and to this software, related documentation ## and any modifications thereto. Any use, reproduction, disclosure or ## distribution of this software a...
omniverse-code/kit/exts/omni.kit.property.usd/omni/kit/property/usd/tests/test_drag_drop_material_property_preview.py
## Copyright (c) 2021, NVIDIA CORPORATION. All rights reserved. ## ## NVIDIA CORPORATION and its licensors retain all intellectual property ## and proprietary rights in and to this software, related documentation ## and any modifications thereto. Any use, reproduction, disclosure or ## distribution of this software a...
omniverse-code/kit/exts/omni.kit.property.usd/omni/kit/property/usd/tests/test_variant.py
## Copyright (c) 2021, NVIDIA CORPORATION. All rights reserved. ## ## NVIDIA CORPORATION and its licensors retain all intellectual property ## and proprietary rights in and to this software, related documentation ## and any modifications thereto. Any use, reproduction, disclosure or ## distribution of this software a...
omniverse-code/kit/exts/omni.kit.property.usd/omni/kit/property/usd/tests/test_asset_array_widget.py
# Copyright (c) 2022, NVIDIA CORPORATION. All rights reserved. # # NVIDIA CORPORATION and its licensors retain all intellectual property # and proprietary rights in and to this software, related documentation # and any modifications thereto. Any use, reproduction, disclosure or # distribution of this software and rel...
omniverse-code/kit/exts/omni.kit.property.usd/docs/CHANGELOG.md
# Changelog The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). ## [3.18.17] - 2023-01-18 ### Added - `SdfAssetPathAttributeModel` sets builds SdfAssetPath with path/resolvedPath for UDIM paths ## [3.18.16] - 2023-01-11 ### Added - Updated UDIM support and updated tests ## [3.18.15] - 2...
omniverse-code/kit/exts/omni.kit.property.usd/docs/README.md
# omni.kit.property.usd ## Introduction Property window extensions are for viewing and editing Usd Prim Attributes ## This extension enables USD property windows
omniverse-code/kit/exts/omni.kit.property.usd/docs/index.rst
omni.kit.property.usd: USD Property Widget Extension ##################################################### .. toctree:: :maxdepth: 1 CHANGELOG USD Property Widget ========================== .. automodule:: omni.kit.property.usd.usd_property_widget :platform: Windows-x86_64, Linux-x86_64 :members: :...
omniverse-code/kit/exts/omni.kit.property.usd/data/tests/usd_variants/Funky_Cart.usda
#usda 1.0 ( customLayerData = { dictionary cameraSettings = { dictionary Front = { double3 position = (0, 0, 50000) double radius = 500 } dictionary Perspective = { double3 position = (500, 500, 500) double3 ...
omniverse-code/kit/exts/omni.kit.property.usd/data/tests/usd_variants/variant.usda
#usda 1.0 ( defaultPrim = "World" ) def Xform "World" ( variants = { string shadingVariant = "red" } prepend variantSets = "shadingVariant" ) { def Sphere "Sphere" { color3f[] primvars:displayColor } variantSet "shadingVariant" = { "blue" { over "Sph...
omniverse-code/kit/exts/omni.kit.property.usd/data/tests/usd_variants/ThreeDollyVariantStage.usda
#usda 1.0 ( customLayerData = { dictionary audioSettings = { double dopplerLimit = 1 double dopplerScale = 1 double nonSpatialTimeScale = 1 double spatialTimeScale = 1 double speedOfSound = 340 } dictionary cameraSettings = { ...
omniverse-code/kit/exts/omni.kit.property.usd/data/tests/usd_variants/Dolly_Blueprint_ALL_VariantsPLB_viz_dual.usda
#usda 1.0 ( customLayerData = { dictionary audioSettings = { double dopplerLimit = 2 double dopplerScale = 1 token enableDistanceDelay = "off" token enableDoppler = "off" double nonSpatialTimeScale = 1 double spatialTimeScale = 1 ...
omniverse-code/kit/exts/omni.kit.property.usd/data/tests/usd/locate_file_UDIM_material.usda
#usda 1.0 ( customLayerData = { dictionary cameraSettings = { dictionary Front = { double3 position = (0, 0, 50000) double radius = 500 } dictionary Perspective = { double3 position = (500.0000000000001, 500.0000000000001, 4...
omniverse-code/kit/exts/omni.kit.property.usd/data/tests/usd/cube.usda
#usda 1.0 ( endTimeCode = 100 metersPerUnit = 0.009999999776482582 startTimeCode = 0 timeCodesPerSecond = 24 upAxis = "Y" ) def Xform "Xform" { double3 xformOp:rotateXYZ = (0, 0, 0) double3 xformOp:scale = (1, 1, 1) double3 xformOp:translate = (0, 0, 0) uniform token[] xformOpOrder ...
omniverse-code/kit/exts/omni.kit.property.usd/data/tests/usd/sphere.usda
#usda 1.0 ( defaultPrim = "World" endTimeCode = 100 metersPerUnit = 0.009999999776482582 startTimeCode = 0 timeCodesPerSecond = 24 upAxis = "Y" ) def Xform "World" { def Sphere "Sphere" { float3[] extent = [(-50, -50, -50), (50, 50, 50)] double radius = 50 custom...
omniverse-code/kit/exts/omni.kit.property.usd/data/tests/usd/locate_file_material.usda
#usda 1.0 ( customLayerData = { dictionary cameraSettings = { dictionary Front = { double3 position = (0, 0, 50000) double radius = 500 } dictionary Perspective = { double3 position = (500.0000000000001, 500.0000000000001, 4...
omniverse-code/kit/exts/omni.kit.property.usd/data/tests/usd/relationship.usda
#usda 1.0 ( customLayerData = { dictionary cameraSettings = { dictionary Front = { double3 position = (0, 0, 50000) double radius = 500 } dictionary Perspective = { double3 position = (500.0000000000001, 500.0000000000001, 4...
omniverse-code/kit/exts/omni.kit.property.usd/data/tests/usd/reference_prim.usda
#usda 1.0 ( customLayerData = { dictionary cameraSettings = { dictionary Front = { double3 position = (0, 0, 50000) double radius = 500 } dictionary Perspective = { double3 position = (500.0000000000001, 500.0000000000001, 4...
omniverse-code/kit/exts/omni.kit.property.usd/data/tests/usd/TESTEXPORT.mdl
mdl 1.7; using m_mdl = "mdl"; import ::state::normal; import ::OmniPBR::OmniPBR; import ::nvidia::support_definitions::lookup_color; import ::base::mono_mode; import ::tex::gamma_mode; import ::tex::wrap_mode; export material Material(*) = ::OmniPBR::OmniPBR( diffuse_color_constant: ::nvidia::support_definition...
omniverse-code/kit/exts/omni.kit.property.usd/data/tests/usd/soft_range.usda
#usda 1.0 ( customLayerData = { dictionary cameraSettings = { dictionary Front = { double3 position = (0, 0, 50000) double radius = 500 } dictionary Perspective = { double3 position = (500.0000000000001, 500.0000000000001, 4...
omniverse-code/kit/exts/omni.kit.property.usd/data/tests/usd/ref_test.usda
#usda 1.0 ( defaultPrim = "World" endTimeCode = 100 metersPerUnit = 0.009999999776482582 startTimeCode = 0 timeCodesPerSecond = 24 upAxis = "Y" ) def "World" ( ) { } def Xform "Xform" { double3 xformOp:rotateXYZ = (0, 0, 0) double3 xformOp:scale = (1, 1, 1) double3 xformOp:translat...
omniverse-code/kit/exts/omni.kit.property.usd/data/tests/usd/TESTEXPORT2.mdl
mdl 1.7; using m_mdl = "mdl"; import ::state::normal; import ::OmniPBR::OmniPBR; import ::nvidia::support_definitions::lookup_color; import ::base::mono_mode; import ::tex::gamma_mode; import ::tex::wrap_mode; export material Material(*) = ::OmniPBR::OmniPBR( diffuse_color_constant: ::nvidia::support_definition...
omniverse-code/kit/exts/omni.kit.property.usd/data/tests/usd/bools.usda
#usda 1.0 ( endTimeCode = 100 metersPerUnit = 0.01 startTimeCode = 0 timeCodesPerSecond = 24 upAxis = "Y" ) def Xform "World" { def DistantLight "defaultLight" ( apiSchemas = ["ShapingAPI"] ) { float angle = 1 float intensity = 3000 float shaping:cone:ang...
omniverse-code/kit/exts/omni.kit.property.usd/data/tests/usd/soft_range_float3.usda
#usda 1.0 ( customLayerData = { dictionary cameraSettings = { dictionary Front = { double3 position = (0, 0, 50000) double radius = 500 } dictionary Perspective = { double3 position = (500.0000000000001, 500.0000000000001, 4...
omniverse-code/kit/exts/omni.kit.property.usd/data/tests/usd/types.usda
#usda 1.0 ( doc = """This file is generated using UniversalAddGenerator.py """ ) def Xform "defaultPrim" { def Xform "in_0" { bool bool_0 = true int2 bool2_0 = (0, 0) ( customData = { int2 default = (0, 0) dictionary mdl = { string type =...
omniverse-code/kit/exts/omni.kit.property.usd/data/tests/usd/bound_shapes.usda
#usda 1.0 ( customLayerData = { dictionary cameraSettings = { dictionary Front = { double3 position = (0, 0, 50000) double radius = 500 } dictionary Perspective = { double3 position = (500.0000000000001, 500.0000000000001, 4...
omniverse-code/kit/exts/omni.kit.property.usd/data/tests/usd/ref_op_list/RefTestSceneSubExplicit.usda
#usda 1.0 over "World" ( references = [ @assets/Cube.usda@, @assets/Sphere.usda@ ] ) { }
omniverse-code/kit/exts/omni.kit.property.usd/data/tests/usd/ref_op_list/RefTestScene.usda
#usda 1.0 ( customLayerData = { dictionary audioSettings = { double dopplerLimit = 1 double dopplerScale = 1 token enableDistanceDelay = "off" token enableDoppler = "off" token enableInterauralDelay = "off" double nonSpatialTimeScale = ...
omniverse-code/kit/exts/omni.kit.property.usd/data/tests/usd/ref_op_list/RefTestSceneSubDef.usda
#usda 1.0 def Xform "World" ( ) { }
omniverse-code/kit/exts/omni.kit.property.usd/data/tests/usd/ref_op_list/RefTestSceneSubPrepend.usda
#usda 1.0 over "World" ( prepend references = [ @assets/Cone.usda@, ] ) { }
omniverse-code/kit/exts/omni.kit.property.usd/data/tests/usd/ref_op_list/RefTestSceneSubAppend.usda
#usda 1.0 over "World" ( append references = [ @assets/Cylinder.usda@, @assets/Capsule.usda@ ] ) { }
omniverse-code/kit/exts/omni.kit.property.usd/data/tests/usd/ref_op_list/sublayerDifferentDir/RefTestSceneSubDelete.usda
#usda 1.0 over "World" ( delete references = [ @../assets/Cube.usda@, @../assets/Capsule.usda@ ] ) { }
omniverse-code/kit/exts/omni.kit.property.usd/data/tests/usd/ref_op_list/assets/Cube.usda
#usda 1.0 ( customLayerData = { dictionary cameraSettings = { dictionary Front = { double radius = 500 double3 target = (0, 0, 0) } dictionary Perspective = { double3 position = (500.0000000000001, 500.0000000000001, 499.999...
omniverse-code/kit/exts/omni.kit.property.usd/data/tests/usd/ref_op_list/assets/Cylinder.usda
#usda 1.0 ( customLayerData = { dictionary cameraSettings = { dictionary Front = { double radius = 500 double3 target = (0, 0, 0) } dictionary Perspective = { double3 position = (500.0000000000001, 500.0000000000001, 499.999...
omniverse-code/kit/exts/omni.kit.property.usd/data/tests/usd/ref_op_list/assets/Capsule.usda
#usda 1.0 ( customLayerData = { dictionary cameraSettings = { dictionary Front = { double radius = 500 double3 target = (0, 0, 0) } dictionary Perspective = { double3 position = (500.0000000000001, 500.0000000000001, 499.999...
omniverse-code/kit/exts/omni.kit.property.usd/data/tests/usd/ref_op_list/assets/Sphere.usda
#usda 1.0 ( customLayerData = { dictionary cameraSettings = { dictionary Front = { double radius = 500 double3 target = (0, 0, 0) } dictionary Perspective = { double3 position = (500.0000000000001, 500.0000000000001, 499.999...
omniverse-code/kit/exts/omni.kit.property.usd/data/tests/usd/ref_op_list/assets/Cone.usda
#usda 1.0 ( customLayerData = { dictionary audioSettings = { double dopplerLimit = 1 double dopplerScale = 1 double nonSpatialTimeScale = 1 double spatialTimeScale = 1 double speedOfSound = 340 } dictionary cameraSettings = { ...
omniverse-code/kit/exts/omni.kit.property.usd/data/tests/usd/asset_array/dummy0.txt
dummy0
omniverse-code/kit/exts/omni.kit.property.usd/data/tests/usd/asset_array/main.usda
#usda 1.0 ( customLayerData = { dictionary cameraSettings = { dictionary Front = { double3 position = (0, 0, 50000) double radius = 500 } dictionary Perspective = { double3 position = (500.0000000000001, 500.0000000000001, 4...
omniverse-code/kit/exts/omni.kit.property.usd/data/tests/usd/asset_array/dummy1.txt
dummy1
omniverse-code/kit/exts/omni.kit.welcome.whats_new/omni/kit/welcome/whats_new/style.py
from pathlib import Path import omni.ui as ui from omni.ui import color as cl from omni.ui import constant as fl CURRENT_PATH = Path(__file__).parent ICON_PATH = CURRENT_PATH.parent.parent.parent.parent.joinpath("icons") WHATS_NEW_PAGE_STYLE = {} DOCUMENT_STYLE = { "ScrollingFrame": {"background_color": 0}, ...
omniverse-code/kit/exts/omni.kit.welcome.whats_new/omni/kit/welcome/whats_new/extension.py
import webbrowser import carb.settings import carb.tokens import omni.client import omni.ext import omni.ui as ui from omni.kit.documentation.builder import DocumentationBuilderMd, DocumentationBuilderPage from omni.kit.documentation.builder import get_style as get_doc_style from omni.kit.welcome.window import registe...
omniverse-code/kit/exts/omni.kit.welcome.whats_new/omni/kit/welcome/whats_new/__init__.py
from .extension import *
omniverse-code/kit/exts/omni.kit.welcome.whats_new/omni/kit/welcome/whats_new/tests/test_page.py
from pathlib import Path import omni.kit.app from omni.ui.tests.test_base import OmniUiTest from ..extension import WhatsNewPageExtension CURRENT_PATH = Path(__file__).parent TEST_DATA_PATH = CURRENT_PATH.parent.parent.parent.parent.parent.joinpath("data").joinpath("tests") class TestPage(OmniUiTest): # Before...
omniverse-code/kit/exts/omni.kit.welcome.whats_new/omni/kit/welcome/whats_new/tests/__init__.py
from .test_page import *
omniverse-code/kit/exts/omni.kit.welcome.whats_new/docs/index.rst
omni.kit.welcome.whats_new ########################### .. toctree:: :maxdepth: 1 CHANGELOG
omniverse-code/kit/exts/omni.hsscclient/omni/hsscclient/__init__.py
# Copyright (c) 2023, NVIDIA CORPORATION. All rights reserved. # # NVIDIA CORPORATION and its licensors retain all intellectual property # and proprietary rights in and to this software, related documentation # and any modifications thereto. Any use, reproduction, disclosure or # distribution of this software and rel...
omniverse-code/kit/exts/omni.hsscclient/omni/hsscclient/tests/load_usd.py
import argparse import asyncio import json import time from pathlib import Path import carb import carb.events import omni.kit import omni.renderer_capture import omni.stats import omni.usd from omni.hydra.engine.stats import get_device_info, get_mem_stats class StageLoader: def __init__(self) -> None: s...
omniverse-code/kit/exts/omni.hsscclient/omni/hsscclient/tests/__init__.py
from .test_hssc_integration import *
omniverse-code/kit/exts/omni.hsscclient/omni/hsscclient/tests/test_hssc_integration.py
import csv import json import os import pathlib import shutil import socket import subprocess import time from collections import abc import carb import omni.kit.test import toml from omni.kit.core.tests.test_base import KitLaunchTest from omni.ui.tests.compare_utils import CompareMetric, compare def deep_update(sdi...
omniverse-code/kit/exts/omni.hsscclient/omni/hsscclient/tests/data/testtex/testtex.usda
#usda 1.0 ( customLayerData = { dictionary cameraSettings = { dictionary Front = { double3 position = (0, 0, 50000) double radius = 500 } dictionary Perspective = { double3 position = (542.8280023101006, 547.3802826177499, 4...
omniverse-code/kit/exts/omni.kit.commands/omni/kit/undo/undo.py
from datetime import datetime from collections import namedtuple, deque from functools import partial import traceback from contextlib import contextmanager import carb import omni.kit.commands from typing import Any, Tuple from .history import add_history, change_history, get_history, get_history_item from ..commands....
omniverse-code/kit/exts/omni.kit.commands/omni/kit/undo/history.py
import carb.settings from collections import namedtuple, OrderedDict from functools import lru_cache from itertools import islice # implementing the history as an OrderedDict so we can cap the max size # while keeping consistent indices that outside systems can hold on to # doing it as a deque would let us cap the si...
omniverse-code/kit/exts/omni.kit.commands/omni/kit/undo/__init__.py
from .history import clear_history, get_history from .undo import ( execute, begin_group, end_group, begin_disabled, end_disabled, disabled, format_exception, get_redo_stack, get_undo_stack, clear_stack, group, redo, undo, repeat, can_undo, can_redo, c...
omniverse-code/kit/exts/omni.kit.commands/omni/kit/commands/_kit_commands.pyi
"""pybind11 omni.kit.commands bindings""" from __future__ import annotations import omni.kit.commands._kit_commands import typing __all__ = [ "ICommand", "ICommandBridge", "acquire_command_bridge", "release_command_bridge" ] class ICommand(): def do(self) -> None: """ Called when...
omniverse-code/kit/exts/omni.kit.commands/omni/kit/commands/command_actions.py
import omni.kit.actions.core def register_actions(extension_id): import omni.kit.undo action_registry = omni.kit.actions.core.get_action_registry() actions_tag = "Command Actions" action_registry.register_action( extension_id, "undo", omni.kit.undo.undo, display_name=...