file_path stringlengths 32 153 | content stringlengths 0 3.14M |
|---|---|
omniverse-code/kit/exts/omni.graph.examples.cpp/docs/README.md | # OmniGraph C++ Examples [omni.graph.examples.cpp]
This extension contains example implementations for OmniGraph nodes written in C++.
|
omniverse-code/kit/exts/omni.graph.examples.cpp/docs/index.rst | .. _ogn_omni_graph_examples_cpp:
OmniGraph C++ Example Nodes
###########################
.. tabularcolumns:: |L|R|
.. csv-table::
:width: 100%
**Extension**: omni.graph.examples.cpp,**Documentation Generated**: |today|
.. toctree::
:maxdepth: 1
CHANGELOG
This is a miscellaneous collection of example... |
omniverse-code/kit/exts/omni.graph.examples.cpp/docs/Overview.md | # OmniGraph C++ Example Nodes
```{csv-table}
**Extension**: omni.graph.examples.cpp,**Documentation Generated**: {sub-ref}`today`
```
This is a miscellaneous collection of examples that exercise some of the functionality of the OmniGraph.
Unlike the set of nodes implementing common features found in {ref}`ogn_omni_gr... |
omniverse-code/kit/exts/omni.hydra.pxr.settings/PACKAGE-LICENSES/omni.hydra.pxr.settings-LICENSE.md | 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 related docume... |
omniverse-code/kit/exts/omni.hydra.pxr.settings/config/extension.toml | [package]
# Semantic Versioning is used: https://semver.org/
version = "1.0.3"
# Lists people or organizations that are considered the "authors" of the package.
authors = ["NVIDIA"]
# The title and description fields are primarily for displaying extension info in UI
title = "External Hydra Delegate Renderer Settings"... |
omniverse-code/kit/exts/omni.hydra.pxr.settings/omni/hydra/pxr/settings/extension.py | import omni.ext
import omni.kit.app
import carb.settings
from omni.rtx.window.settings import RendererSettingsFactory
from .widgets.common_widgets import CommonPxrHydraSettingStack, PxrHydraRendererSettingStack
kLoadedDelegatesSettingsPath = '/pxr/renderers'
kActiveDelegatesSettingsPath = '/pxr/rendermode'
kActiveHyd... |
omniverse-code/kit/exts/omni.hydra.pxr.settings/omni/hydra/pxr/settings/__init__.py | from .extension import *
# Expose our own RendererSettingsFactory instead of having users use the RTX version directly.
# We'll just call into the RTX-RendererSettingsFactory for now, but add a few methods to add and
# remove the renderer from the Viewport's available list.
from omni.rtx.window.settings import Render... |
omniverse-code/kit/exts/omni.hydra.pxr.settings/omni/hydra/pxr/settings/widgets/common_widgets.py | import omni.ui as ui
import carb
from omni.rtx.window.settings.rtx_settings_stack import RTXSettingsStack
from omni.rtx.window.settings.settings_collection_frame import SettingsCollectionFrame
from omni.kit.widget.settings import SettingType
class CarbDictSettingsFrame(SettingsCollectionFrame):
def __value_to_ty... |
omniverse-code/kit/exts/omni.hydra.pxr.settings/omni/hydra/pxr/settings/tests/__init__.py | from .test_ui import *
|
omniverse-code/kit/exts/omni.hydra.pxr.settings/omni/hydra/pxr/settings/tests/test_ui.py | import omni.kit.test
import omni.kit.app
from omni.hydra.pxr.settings import RendererSettingsFactory
from omni.kit.viewport.utility import get_active_viewport_window
from omni.hydra.pxr.settings.widgets.common_widgets import CommonPxrHydraSettingStack, PxrHydraRendererSettingStack
from omni.hydra.pxr.settings.extensio... |
omniverse-code/kit/exts/omni.hydra.pxr.settings/docs/CHANGELOG.md | # CHANGELOG
This document records all notable changes to ``omni.hydra.pxr.settings`` extension.
This project adheres to `Semantic Versioning <https://semver.org/>`.
## [1.0.3] 2022-06-02
### Changed
- Hide Viewport durring test suite capture and update golden-image.
## [1.0.2] 2022-03-09
### Changed
- Mitigate lack ... |
omniverse-code/kit/exts/omni.hydra.pxr.settings/docs/README.md | # External Hydra Delegate Settings [omni.hydra.pxr.settings]
External Hydra Delegate docs |
omniverse-code/kit/exts/omni.hydra.pxr.settings/docs/index.rst | omni.hydra.pxr.settings
###########################
.. toctree::
:maxdepth: 1
CHANGELOG
|
omniverse-code/kit/exts/omni.hydra.pxr.settings/data/tests/cube.usda | #usda 1.0
(
customLayerData = {
dictionary omni_layer = {
dictionary muteness = {
}
}
int refinementOverrideImplVersion = 0
dictionary renderSettings = {
}
}
defaultPrim = "World"
endTimeCode = 100
metersPerUnit = 0.01
startTimeCode... |
omniverse-code/kit/exts/omni.kit.extpath.git/omni/kit/extpath/git/extpath_git.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.extpath.git/omni/kit/extpath/git/__init__.py | from .extpath_git import *
|
omniverse-code/kit/exts/omni.kit.extpath.git/omni/kit/extpath/git/utils.py | import os
import carb
import carb.settings
def _get_setting(path, default=None):
setting = carb.settings.get_settings().get(path)
return setting if setting is not None else default
def _to_log_str(s: str) -> str:
return f"[omni.kit.extpath.git]: {s}"
# print() instead of carb.log_info when this env v... |
omniverse-code/kit/exts/omni.kit.extpath.git/omni/kit/extpath/git/tests/__init__.py | from .test_extpath_git import TestExtPathGit |
omniverse-code/kit/exts/omni.kit.extpath.git/omni/kit/extpath/git/tests/test_extpath_git.py | import os
import omni.kit.test
import omni.kit.extpath.git
import omni.kit.app
import unittest
ENABLE_TESTS_ENV = "OMNI_KIT_ENABLE_ONLINE_TESTS"
ENABLE_TESTS = bool(os.getenv(ENABLE_TESTS_ENV))
from unittest import mock
class TestExtPathGit(omni.kit.test.AsyncTestCase):
@unittest.skipUnless(ENABLE_TESTS, f"Skip ... |
omniverse-code/kit/exts/omni.kit.extpath.git/docs/index.rst | omni.kit.extpath.git
###########################
Git Url as Extension Search Path Support.
Settings
***********
Refer to ``extension.toml`` file for settings.
|
omniverse-code/kit/exts/omni.kit.menu.edit/PACKAGE-LICENSES/omni.kit.menu.edit-LICENSE.md | 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 related docume... |
omniverse-code/kit/exts/omni.kit.menu.edit/config/extension.toml | [package]
# Semantic Versioning is used: https://semver.org/
version = "1.1.6"
category = "Internal"
# Lists people or organizations that are considered the "authors" of the package.
authors = ["NVIDIA"]
# The title and description fields are primarily for displaying extension info in UI
title = "Edit Menu"
descript... |
omniverse-code/kit/exts/omni.kit.menu.edit/omni/kit/menu/edit/__init__.py | from .scripts import *
|
omniverse-code/kit/exts/omni.kit.menu.edit/omni/kit/menu/edit/scripts/edit.py | import os
import asyncio
import carb.input
import omni.ext
import omni.usd
import omni.ui as ui
import omni.kit.app
import omni.kit.menu.utils
import omni.kit.notification_manager as nm
import omni.kit.usd.layers as layers
from functools import partial
from omni.kit.menu.utils import MenuItemDescription
from .selection... |
omniverse-code/kit/exts/omni.kit.menu.edit/omni/kit/menu/edit/scripts/edit_actions.py | import carb
import asyncio
import omni.kit.actions.core
def register_actions(extension_id, cls, get_self_fn):
def select_prim(description: str, select_name: callable):
paths = omni.usd.get_context().get_selection().get_selected_prim_paths()
if not paths:
cls.post_notification(f"Cannot... |
omniverse-code/kit/exts/omni.kit.menu.edit/omni/kit/menu/edit/scripts/__init__.py | from .edit import *
|
omniverse-code/kit/exts/omni.kit.menu.edit/omni/kit/menu/edit/scripts/selection.py | import time
class Selection():
def __init__(self, description, selection):
self.time = time.time()
self.description = description
self.selection = selection
def touch(self):
self.time = time.time()
|
omniverse-code/kit/exts/omni.kit.menu.edit/omni/kit/menu/edit/scripts/selection_window.py | import omni.ui as ui
class SelectionSetWindow():
def __init__(self, callback):
self._callback = callback
window = ui.Window(
"Selection Set Name",
width=300,
height=110,
flags=ui.WINDOW_FLAGS_NO_RESIZE | ui.WINDOW_FLAGS_NO_SCROLLBAR | ui.WINDOW_FLAGS... |
omniverse-code/kit/exts/omni.kit.menu.edit/omni/kit/menu/edit/tests/test_func_edit_undo.py | import asyncio
import carb
import omni.usd
import omni.ui as ui
from omni.kit import ui_test
from omni.kit.menu.utils import MenuItemDescription, MenuLayout
async def edit_test_func_edit_undo(tester, menu_item: MenuItemDescription):
stage = omni.usd.get_context().get_stage()
menu_widget = ui_test.get_menubar... |
omniverse-code/kit/exts/omni.kit.menu.edit/omni/kit/menu/edit/tests/test_func_edit_misc.py | import asyncio
import carb
import omni.usd
import omni.ui as ui
from omni.kit import ui_test
from omni.kit.menu.utils import MenuItemDescription, MenuLayout
from omni.kit.viewport.utility.camera_state import ViewportCameraState
from pathlib import Path
async def edit_test_func_edit_focus(tester, menu_item: MenuItemDes... |
omniverse-code/kit/exts/omni.kit.menu.edit/omni/kit/menu/edit/tests/__init__.py | from .edit_tests import *
from .rename_tests import *
|
omniverse-code/kit/exts/omni.kit.menu.edit/omni/kit/menu/edit/tests/edit_tests.py | import sys
import re
import asyncio
import unittest
import carb
import omni.kit.test
from .test_func_edit_prims import *
from .test_func_edit_undo import *
from .test_func_edit_select import *
from .test_func_edit_misc import *
class TestMenuEdit(omni.kit.test.AsyncTestCase):
async def setUp(self):
pass
... |
omniverse-code/kit/exts/omni.kit.menu.edit/omni/kit/menu/edit/tests/rename_tests.py | import sys
import re
import asyncio
import unittest
import carb
import omni.kit.test
import omni.kit.ui_test as ui_test
import omni.kit.commands
from carb.input import KeyboardInput
class TestMenuEditRename(omni.kit.test.AsyncTestCase):
async def setUp(self):
from omni.kit.test_suite.helpers import arrang... |
omniverse-code/kit/exts/omni.kit.menu.edit/omni/kit/menu/edit/tests/test_func_edit_select.py | import asyncio
import carb
import omni.usd
import omni.ui as ui
from omni.kit import ui_test
from omni.kit.menu.utils import MenuItemDescription, MenuLayout
async def edit_test_func_edit_select_select_all(tester, menu_item: MenuItemDescription):
stage = omni.usd.get_context().get_stage()
## create prim
... |
omniverse-code/kit/exts/omni.kit.menu.edit/omni/kit/menu/edit/tests/test_func_edit_prims.py | import asyncio
import carb
import omni.usd
import omni.kit.undo
import omni.ui as ui
from pxr import UsdGeom
from omni.kit import ui_test
from carb.input import KeyboardInput
from omni.kit.menu.utils import MenuItemDescription, MenuLayout
async def verify_menu_item_greyed(tester, menu, state):
# open/close menu t... |
omniverse-code/kit/exts/omni.kit.menu.edit/docs/CHANGELOG.md | # Changelog
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
## [1.1.6] - 2022-11-29
### Changes
- Don't allow grouping of default prim
## [1.1.5] - 2022-07-28
### Changes
- Don't filter frame-command based on selection.
## [1.1.4] - 2022-07-27
### Changes
- Fix unparent regression.
... |
omniverse-code/kit/exts/omni.kit.menu.edit/docs/index.rst | omni.kit.menu.edit
###########################
Edit Menu
.. toctree::
:maxdepth: 1
CHANGELOG
|
omniverse-code/kit/exts/omni.kit.menu.edit/data/tests/stages/leaf_test.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.menu.edit/data/tests/stages/focus_prims.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.usd.layers/PACKAGE-LICENSES/omni.kit.usd.layers-LICENSE.md | 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 related docume... |
omniverse-code/kit/exts/omni.kit.usd.layers/config/extension.toml | [package]
version = "2.0.11"
title = "Layers Core"
description = "Layers core that extends vanilla USD and provides utilities and workflows around layers."
authors = ["NVIDIA"]
repository = ""
readme = "docs/README.md"
keywords = ["core", "layers", "usd"]
changelog = "docs/CHANGELOG.md"
icon = "data/icon.png"
[[pytho... |
omniverse-code/kit/exts/omni.kit.usd.layers/omni/kit/usd/layers/__init__.py | from .impl import *
|
omniverse-code/kit/exts/omni.kit.usd.layers/omni/kit/usd/layers/_omni_kit_usd_layers.pyi | """pybind11 omni.kit.usd.layers bindings"""
import omni.kit.usd.layers._omni_kit_usd_layers
import typing
import carb.dictionary._dictionary
import carb.events._events
__all__ = [
"ILayers",
"ILayersInstance",
"ILayersState",
"IWorkflowAutoAuthoring",
"IWorkflowLiveSyncing",
"IWorkflowSpecsLink... |
omniverse-code/kit/exts/omni.kit.usd.layers/omni/kit/usd/layers/tests/test_workflow_specs_locking.py | import asyncio
import carb
import os
import tempfile
import omni.kit.test
import omni.usd
import omni.client
from pxr import Sdf, Usd, UsdGeom, Gf
from omni.kit.usd.layers import get_layers, LayerUtils, get_layer_event_payload, LayerEventType
class TestSpecsLocking(omni.kit.test.AsyncTestCase):
# Before running... |
omniverse-code/kit/exts/omni.kit.usd.layers/omni/kit/usd/layers/tests/test_workflow_auto_authoring.py | import asyncio
from enum import auto
import carb
import os
import tempfile
import omni.kit.test
import omni.usd
import omni.client
from pxr import Sdf, Usd, UsdGeom, Gf
from omni.kit.usd.layers import get_layers, LayerUtils, get_layer_event_payload, LayerEventType, LayerEditMode
class TestAutoAuthoring(omni.kit.test... |
omniverse-code/kit/exts/omni.kit.usd.layers/omni/kit/usd/layers/tests/test_path_utils.py | import omni.kit.test
import omni.usd
from omni.kit.usd.layers.impl.path_utils import PathUtils
class TestPathUtils(omni.kit.test.AsyncTestCase):
def test_is_omni_path(self):
path = "omniverse://test-server/invalid_path"
self.assertTrue(PathUtils.is_omni_path(path))
path = "c:/file.usd"
... |
omniverse-code/kit/exts/omni.kit.usd.layers/omni/kit/usd/layers/tests/__init__.py | from .test_layers_interface import TestLayersInterface
from .test_layers_state import TestLayersState
from .test_layer_utils import TestLayerUtils
from .test_path_utils import TestPathUtils
from .test_commands import TestUsdCommands
from .test_workflow_specs_locking import TestSpecsLocking
from .test_workflow_auto_auth... |
omniverse-code/kit/exts/omni.kit.usd.layers/omni/kit/usd/layers/tests/test_layers_interface.py | import asyncio
import carb
import os
import tempfile
import omni.kit.test
import omni.usd
import omni.client
from omni.kit.usd.layers import get_layers, LayerEditMode, get_layer_event_payload, LayerEventType
class TestLayersInterface(omni.kit.test.AsyncTestCase):
async def setUp(self):
self.usd_context =... |
omniverse-code/kit/exts/omni.kit.usd.layers/omni/kit/usd/layers/tests/test_workflow_live_syncing.py | import carb
import omni.kit.test
import omni.usd
import omni.client
import unittest
import omni.kit.app
from omni.kit.usd.layers import get_layers, get_layer_event_payload, LayerEventType, LayerUtils
from .test_base import enable_server_tests
from pxr import Usd, Sdf
class TestLiveSyncing(omni.kit.test.AsyncTestCase... |
omniverse-code/kit/exts/omni.kit.usd.layers/omni/kit/usd/layers/tests/test_workflow_specs_linking.py | import asyncio
import carb
import os
import tempfile
import omni.kit.test
import omni.usd
import omni.client
from pxr import Sdf, Usd, UsdGeom, Gf
from omni.kit.usd.layers import get_layers, LayerUtils, get_layer_event_payload, LayerEventType, LayerEditMode
class TestSpecsLinking(omni.kit.test.AsyncTestCase):
#... |
omniverse-code/kit/exts/omni.kit.usd.layers/omni/kit/usd/layers/tests/test_layer_utils.py | import os
import carb
import omni.kit.test
import omni.usd
from omni.kit.usd.layers import LayerUtils
from pxr import Sdf, Usd, UsdGeom, UsdShade, Vt
class TestLayerUtils(omni.kit.test.AsyncTestCase):
async def setUp(self):
self.usd_context = omni.usd.get_context()
await omni.usd.get_context().ne... |
omniverse-code/kit/exts/omni.kit.usd.layers/omni/kit/usd/layers/tests/test_commands.py | from pathlib import Path
import omni.kit.test
import omni.kit.undo
import omni.kit.commands
import omni.timeline
import omni.usd
from omni.kit.usd.layers import LayerUtils, get_layers, LayerEditMode
from pxr import Gf, Kind, Sdf, Usd, UsdGeom, UsdShade, UsdUtils
CURRENT_PATH = Path(__file__).parent.parent.parent.pare... |
omniverse-code/kit/exts/omni.kit.usd.layers/omni/kit/usd/layers/tests/test_layers_state.py | import asyncio
import carb
import os
import tempfile
import omni.kit.test
import omni.usd
import omni.client
import unittest
from stat import S_IREAD, S_IWRITE
from pxr import Sdf, Usd, UsdGeom, Gf
from .test_base import enable_server_tests
from omni.kit.usd.layers import get_layers, LayerUtils, get_layer_event_payloa... |
omniverse-code/kit/exts/omni.kit.usd.layers/omni/kit/usd/layers/tests/test_base.py | import carb.settings
def enable_server_tests():
settings = carb.settings.get_settings()
return settings.get_as_bool("/exts/omni.kit.usd.layers/enable_server_tests")
|
omniverse-code/kit/exts/omni.kit.usd.layers/omni/kit/usd/layers/impl/layer_commands.py | import omni
import carb
import omni.kit.commands
from pxr import Usd, Sdf, UsdGeom
from .layer_utils import LayerUtils
from typing import Union, List
from .extension import get_layers
from .specs_linking_and_locking_utils import *
def _get_usd_context(context_name_or_instance: Union[str, omni.usd.UsdContext] = ""):
... |
omniverse-code/kit/exts/omni.kit.usd.layers/omni/kit/usd/layers/impl/layers_state.py | import carb
from pxr import Sdf
from urllib.parse import unquote
from .layer_utils import LayerUtils
from .._omni_kit_usd_layers import (
acquire_layers_state_interface,
release_layers_state_interface,
ILayersInstance,
)
class LayersState:
def __init__(self, layers_instance: ILayersInstance, usd_cont... |
omniverse-code/kit/exts/omni.kit.usd.layers/omni/kit/usd/layers/impl/interface_utils.py | import carb
from typing import List, Dict
from .._omni_kit_usd_layers import LayerEventType
class LayerEventPayload:
def __init__(self, event: carb.events.IEvent) -> None:
# It is non-empty if event_type is INFO_CHANGED, for which key is the layer identifier,
# and value is the set of strings tha... |
omniverse-code/kit/exts/omni.kit.usd.layers/omni/kit/usd/layers/impl/layers_interface.py | from .._omni_kit_usd_layers import LayerEditMode
from .layers_state import LayersState
from .specs_locking import SpecsLocking
from .auto_authoring import AutoAuthoring
from .specs_linking import SpecsLinking
from .live_syncing import LiveSyncing
class Layers:
def __init__(self, layers_instance, usd_context) -> N... |
omniverse-code/kit/exts/omni.kit.usd.layers/omni/kit/usd/layers/impl/extension.py | import carb
import omni.ext
import omni.usd
from typing import List, Union, Dict
from .layers_interface import Layers, LiveSyncing, LayersState, AutoAuthoring
from .._omni_kit_usd_layers import acquire_layers_interface, release_layers_interface, LayerEditMode
from pxr import Sdf, Usd
_all_layers_instances: Dict[omni.... |
omniverse-code/kit/exts/omni.kit.usd.layers/omni/kit/usd/layers/impl/__init__.py | from .extension import (
Extension, get_layers,
active_authoring_layer_context,
LayerEditMode, get_auto_authoring,
get_layers_state,
get_live_syncing
)
from .interface_utils import (
get_layer_event_payload, LayerEventPayload,
LayerEventType
)
from .layers_interface import Layers
from .laye... |
omniverse-code/kit/exts/omni.kit.usd.layers/omni/kit/usd/layers/impl/specs_linking_and_locking_utils.py | import carb
from typing import Union, List, Dict
from pxr import Sdf
from .extension import get_layers
def __to_str_list(pathOrPaths: Union[Union[str, Sdf.Path], List[Union[str, Sdf.Path]]]):
paths = []
if pathOrPaths:
if isinstance(pathOrPaths, str) or isinstance(pathOrPaths, Sdf.Path):
... |
omniverse-code/kit/exts/omni.kit.usd.layers/omni/kit/usd/layers/impl/specs_locking.py | from re import S
import carb.dictionary
from pxr import Sdf
from typing import Union, List
from .._omni_kit_usd_layers import acquire_specs_locking_interface, release_specs_locking_interface, ILayersInstance
class SpecsLocking:
def __init__(self, layers_instance: ILayersInstance, usd_context) -> None:
se... |
omniverse-code/kit/exts/omni.kit.usd.layers/omni/kit/usd/layers/impl/specs_linking.py | from re import S
import carb.dictionary
from pxr import Sdf
from typing import Union, List, Dict
from .._omni_kit_usd_layers import acquire_specs_linking_interface, release_specs_linking_interface, ILayersInstance
class SpecsLinking:
def __init__(self, layers_instance: ILayersInstance, usd_context) -> None:
... |
omniverse-code/kit/exts/omni.kit.usd.layers/omni/kit/usd/layers/impl/live_session_channel_manager.py | import asyncio
import carb
import omni.kit.collaboration.channel_manager as cm
from typing import Dict, List
from .interface_utils import post_notification
from .._omni_kit_usd_layers import LayerEventType
SESSION_MANAGEMENT_VERSION_KEY = "version"
SESSION_MANAGEMENT_VERSION = "1.0"
MESSAGE_GROUP_KEY = "__SESSION_MA... |
omniverse-code/kit/exts/omni.kit.usd.layers/omni/kit/usd/layers/impl/live_syncing.py | import asyncio
import weakref
import carb
import carb.dictionary
import omni.kit.app
import omni.kit.collaboration.channel_manager as cm
import time
from typing import List, Callable, Awaitable, Dict
from .layer_utils import LayerUtils
from .interface_utils import get_layer_event_payload, post_notification
from .live_... |
omniverse-code/kit/exts/omni.kit.usd.layers/omni/kit/usd/layers/impl/layer_utils.py | import asyncio
import os
import carb
import omni
import omni.client
from .path_utils import PathUtils
from pxr import Sdf, Usd, UsdUtils
from typing import List, Set, Union
class LayerUtils:
LAYER_OMNI_CUSTOM_KEY = "omni_layer"
LAYER_MUTENESS_CUSTOM_KEY = "muteness"
LAYER_LOCK_STATUS_CUSTOM_KEY = "locked... |
omniverse-code/kit/exts/omni.kit.usd.layers/omni/kit/usd/layers/impl/path_utils.py | import re
import traceback
import carb
import omni.client
from pxr import Sdf, Usd
class PathUtils:
@staticmethod
def is_omni_path(path: str):
return path.startswith("omniverse://")
@staticmethod
def compute_absolute_path(base_path, path):
"""Computes absolute path.
Args:
... |
omniverse-code/kit/exts/omni.kit.usd.layers/omni/kit/usd/layers/impl/auto_authoring.py | from .._omni_kit_usd_layers import acquire_auto_authoring_interface, release_auto_authoring_interface, ILayersInstance
class AutoAuthoring:
def __init__(self, layers_instance: ILayersInstance, usd_context) -> None:
self._layers_instance = layers_instance
self._usd_context = usd_context
sel... |
omniverse-code/kit/exts/omni.kit.usd.layers/docs/CHANGELOG.md | # Changelog
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
## [2.0.11] - 2023-02-16
- Only copy interested layer meta into live layer when it's in a live session.
## [2.0.10] - 2022-11-30
- Fix permission issue for sublayer live session if root layer is anonymous.
## [2.0.9] - 2022... |
omniverse-code/kit/exts/omni.kit.usd.layers/docs/README.md | # Omniverse Layers Extended Interfaces and Workflows
Extension omni.kit.usd.layers works to extend the USD to provide utilities and workflows around `sublayers` that are not provided by vanilla USD.
|
omniverse-code/kit/exts/omni.kit.usd.layers/docs/index.rst | omni.kit.usd.layers
###########################
Introduction
************
Extension **omni.kit.usd.layers** works to extend the USD to provide utilities and workflows around **sublayers** that are not provided by vanilla USD. We extended several workflows on vanilla USD for working the the following purpose.
Layer S... |
omniverse-code/kit/exts/omni.kit.usd.layers/data/material_OmniPBR.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.usd.layers/data/material_OmniGlass.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.iray.settings.core/PACKAGE-LICENSES/omni.iray.settings.core-LICENSE.md | 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 related docume... |
omniverse-code/kit/exts/omni.iray.settings.core/config/extension.toml | [package]
# Semantic Versioning is used: https://semver.org/
version = "0.6.4"
# Lists people or organizations that are considered the "authors" of the package.
authors = ["NVIDIA"]
# The title and description fields are primarily for displaying extension info in UI
title = "Iray Renderer Settings"
description="All t... |
omniverse-code/kit/exts/omni.iray.settings.core/omni/iray/settings/core/extension.py | from typing import Union
import omni.ext
import omni.ui as ui
from omni.rtx.window.settings import RendererSettingsFactory
from .widgets.common_widgets import CommonIRaySettingStack
class IRaySettingsExtension(omni.ext.IExt):
"""The entry point for RTX - Accurate (Iray) Settings Window"""
MENU_PATH = "Rend... |
omniverse-code/kit/exts/omni.iray.settings.core/omni/iray/settings/core/__init__.py | from .extension import *
|
omniverse-code/kit/exts/omni.iray.settings.core/omni/iray/settings/core/widgets/common_widgets.py | from omni.kit.widget.settings import SettingType
import omni.ui as ui
import carb
import omni.kit.app
from omni.rtx.window.settings.rtx_settings_stack import RTXSettingsStack
from omni.rtx.window.settings.settings_collection_frame import SettingsCollectionFrame
from omni.rtx.window.settings.rendersettingsdefaults impo... |
omniverse-code/kit/exts/omni.iray.settings.core/omni/iray/settings/core/widgets/heatmap_bar.py | import omni.ui as ui
import carb.settings as settings
class IrayHeatmapBarWidget:
def __init__(self, parent_widget, width = 400, height = 20, steps = 4, type = "illumination"):
self._settings = settings.get_settings()
if type == "illumination":
self._unit = "Lux"
self._rang... |
omniverse-code/kit/exts/omni.iray.settings.core/omni/iray/settings/core/tests/__init__.py | from .test_settings import TestIRaySettingsUI |
omniverse-code/kit/exts/omni.iray.settings.core/omni/iray/settings/core/tests/test_settings.py |
import carb
import omni.kit.test
import omni.usd
from omni.kit import ui_test
settings = carb.settings.get_settings()
class TestIRaySettingsUI(omni.kit.test.AsyncTestCase):
async def setUp(self):
super().setUp()
# We need to trigger Iray load to get the default render-settings values written to... |
omniverse-code/kit/exts/omni.iray.settings.core/docs/CHANGELOG.md | # CHANGELOG
This document records all notable changes to ``omni.iray.settings.core`` extension.
This project adheres to `Semantic Versioning <https://semver.org/>`.
## [Unreleased]
### Added
### Changed
### Removed
## [0.6.4] - 2022-06-02
### Changed
- Fix issues when running tests without Viewport legacy.
## [... |
omniverse-code/kit/exts/omni.iray.settings.core/docs/README.md | # Iray Settings [omni.iray.settings.core]
Iray Settings docs |
omniverse-code/kit/exts/omni.iray.settings.core/docs/index.rst | omni.iray.settings.core
###########################
.. toctree::
:maxdepth: 1
CHANGELOG
|
omniverse-code/kit/exts/omni.stats/omni/stats/_stats.pyi | """
This module contains bindings to the C++ carb::stats::Istats interface.
This provides functionality to display various statistics through the editor UI.
"""
from __future__ import annotations
import omni.stats._stats
import typing
__all__ = [
"IStats",
"acquire_stats_interface",
"re... |
omniverse-code/kit/exts/omni.stats/omni/stats/__init__.py | """This module contains bindings to C++ carb::stats::IStats interface.
All the function are in omni.stats.IStats class, to get it use get_editor_interface method, which caches
acquire interface call:
>>> import omni.stats
>>> e = omni.stats.get_stats_interface()
>>> print(f"Is UI hidden: {e.is_ui_hidden()... |
omniverse-code/kit/exts/omni.kit.viewport.registry/omni/kit/viewport/registry/registry.py | # Copyright (c) 2021-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.viewport.registry/omni/kit/viewport/registry/__init__.py | # Copyright (c) 2021-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.viewport.registry/omni/kit/viewport/registry/tests/__init__.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.viewport.registry/docs/index.rst | omni.kit.viewport.registry
###########################
Viewport Registry
.. toctree::
:maxdepth: 1
README
CHANGELOG
.. automodule:: omni.kit.viewport.registry
:platform: Windows-x86_64, Linux-x86_64
:members:
:undoc-members:
:show-inheritance:
:imported-members:
|
omniverse-code/kit/exts/omni.kit.test_suite.layer_window/PACKAGE-LICENSES/omni.kit.test_suite.layer_window-LICENSE.md | 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 related docume... |
omniverse-code/kit/exts/omni.kit.test_suite.layer_window/config/extension.toml | [package]
# Semantic Versioning is used: https://semver.org/
version = "1.0.0"
category = "Internal"
# Lists people or organizations that are considered the "authors" of the package.
authors = ["NVIDIA"]
# The title and description fields are primarily for displaying extension info in UI
title = "omni.kit.test_suit... |
omniverse-code/kit/exts/omni.kit.test_suite.layer_window/omni/kit/test_suite/layer_window/__init__.py | from .scripts import *
|
omniverse-code/kit/exts/omni.kit.test_suite.layer_window/omni/kit/test_suite/layer_window/scripts/__init__.py | |
omniverse-code/kit/exts/omni.kit.test_suite.layer_window/omni/kit/test_suite/layer_window/tests/__init__.py | from .select_bound_objects_layer import *
|
omniverse-code/kit/exts/omni.kit.test_suite.layer_window/omni/kit/test_suite/layer_window/tests/select_bound_objects_layer.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.test_suite.layer_window/docs/CHANGELOG.md | # Changelog
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
## [1.0.0] - 2022-02-09
### Changes
- Created
|
omniverse-code/kit/exts/omni.kit.test_suite.layer_window/docs/README.md | # omni.kit.test_suite.layer_window
## omni.kit.test_suite.layer_window
Test Suite
|
omniverse-code/kit/exts/omni.kit.test_suite.layer_window/docs/index.rst | omni.kit.test_suite.layer_window
################################
layer window tests
.. toctree::
:maxdepth: 1
CHANGELOG
|
omniverse-code/kit/exts/omni.kit.test_suite.layer_window/data/tests/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... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.