file_path
stringlengths
32
153
content
stringlengths
0
3.14M
omniverse-code/kit/exts/omni.kit.window.stage/omni/kit/window/stage/tests/__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.window.stage/omni/kit/window/stage/tests/stage_window_test.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.window.stage/docs/CHANGELOG.md
# Changelog ## [2.3.12] - 2023-01-11 ### Added - Move SelectionWatch into omni.kit.widget.stage to provide default implementation. ## [2.3.11] - 2022-11-29 ### Added - Unitests for header of name column. ## [2.3.10] - 2022-11-01 ### Added - Test for renaming prim. ## [2.3.9] - 2022-09-30 ### Fixed - Set the menu ch...
omniverse-code/kit/exts/omni.kit.procedural.mesh/ogn/nodes.json
{ "nodes": { "omni.kit.procedural.mesh.CreateMeshCapsule": { "description": "If necessary, create a new mesh representing a capsule", "version": 1, "extension": "omni.kit.procedural.mesh", "language": "C++" }, "omni.kit.procedural.mesh.CreateMe...
omniverse-code/kit/exts/omni.kit.procedural.mesh/PACKAGE-LICENSES/omni.kit.procedural.mesh-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.procedural.mesh/config/extension.toml
[package] version = "0.1.0" title = "Procedural Mesh" category = "Internal" # Main module of the python interface [[python.module]] name = "omni.kit.procedural.mesh" # Watch the .ogn files for hot reloading (only works for Python files) [fswatcher.patterns] include = ["*.ogn", "*.py"] exclude = ["Ogn*Database.py"] ...
omniverse-code/kit/exts/omni.kit.procedural.mesh/omni/kit/procedural/mesh/__init__.py
from .scripts.extension import * from .scripts.command import *
omniverse-code/kit/exts/omni.kit.procedural.mesh/omni/kit/procedural/mesh/ogn/OgnProceduralMeshSphereDatabase.py
"""Support for simplified access to data on nodes of type omni.kit.procedural.mesh.CreateMeshSphere If necessary, create a new mesh representing a shpere """ import omni.graph.core as og import omni.graph.core._omni_graph_core as _og import omni.graph.tools.ogn as ogn import numpy class OgnProceduralMeshSphereDatabas...
omniverse-code/kit/exts/omni.kit.procedural.mesh/omni/kit/procedural/mesh/ogn/OgnProceduralMeshCubeDatabase.py
"""Support for simplified access to data on nodes of type omni.kit.procedural.mesh.CreateMeshCube If necessary, create a new mesh representing a cube """ import omni.graph.core as og import omni.graph.core._omni_graph_core as _og import omni.graph.tools.ogn as ogn import numpy class OgnProceduralMeshCubeDatabase(og.D...
omniverse-code/kit/exts/omni.kit.procedural.mesh/omni/kit/procedural/mesh/ogn/OgnProceduralMeshPlaneDatabase.py
"""Support for simplified access to data on nodes of type omni.kit.procedural.mesh.CreateMeshPlane If necessary, create a new mesh representing a plane """ import omni.graph.core as og import omni.graph.core._omni_graph_core as _og import omni.graph.tools.ogn as ogn import numpy class OgnProceduralMeshPlaneDatabase(o...
omniverse-code/kit/exts/omni.kit.procedural.mesh/omni/kit/procedural/mesh/ogn/OgnProceduralMeshConeDatabase.py
"""Support for simplified access to data on nodes of type omni.kit.procedural.mesh.CreateMeshCone If necessary, create a new mesh representing a Cone """ import omni.graph.core as og import omni.graph.core._omni_graph_core as _og import omni.graph.tools.ogn as ogn import numpy class OgnProceduralMeshConeDatabase(og.D...
omniverse-code/kit/exts/omni.kit.procedural.mesh/omni/kit/procedural/mesh/ogn/OgnProceduralMeshDiskDatabase.py
"""Support for simplified access to data on nodes of type omni.kit.procedural.mesh.CreateMeshDisk If necessary, create a new mesh representing a disk """ import omni.graph.core as og import omni.graph.core._omni_graph_core as _og import omni.graph.tools.ogn as ogn import numpy class OgnProceduralMeshDiskDatabase(og.D...
omniverse-code/kit/exts/omni.kit.procedural.mesh/omni/kit/procedural/mesh/ogn/OgnProceduralMeshCapsuleDatabase.py
"""Support for simplified access to data on nodes of type omni.kit.procedural.mesh.CreateMeshCapsule If necessary, create a new mesh representing a capsule """ import omni.graph.core as og import omni.graph.core._omni_graph_core as _og import omni.graph.tools.ogn as ogn import numpy class OgnProceduralMeshCapsuleData...
omniverse-code/kit/exts/omni.kit.procedural.mesh/omni/kit/procedural/mesh/ogn/OgnProceduralMeshTorusDatabase.py
"""Support for simplified access to data on nodes of type omni.kit.procedural.mesh.CreateMeshTorus If necessary, create a new mesh representing a torus """ import omni.graph.core as og import omni.graph.core._omni_graph_core as _og import omni.graph.tools.ogn as ogn import numpy class OgnProceduralMeshTorusDatabase(o...
omniverse-code/kit/exts/omni.kit.procedural.mesh/omni/kit/procedural/mesh/ogn/OgnProceduralMeshCylinderDatabase.py
"""Support for simplified access to data on nodes of type omni.kit.procedural.mesh.CreateMeshCylinder If necessary, create a new mesh representing a cylinder """ import omni.graph.core as og import omni.graph.core._omni_graph_core as _og import omni.graph.tools.ogn as ogn import numpy class OgnProceduralMeshCylinderD...
omniverse-code/kit/exts/omni.kit.procedural.mesh/omni/kit/procedural/mesh/ogn/tests/TestOgnProceduralMeshSphere.py
import omni.kit.test import omni.graph.core as og import omni.graph.core.tests as ogts import os class TestOgn(ogts.OmniGraphTestCase): async def test_data_access(self): from omni.kit.procedural.mesh.ogn.OgnProceduralMeshSphereDatabase import OgnProceduralMeshSphereDatabase test_file_name = "OgnP...
omniverse-code/kit/exts/omni.kit.procedural.mesh/omni/kit/procedural/mesh/ogn/tests/TestOgnProceduralMeshCapsule.py
import omni.kit.test import omni.graph.core as og import omni.graph.core.tests as ogts import os class TestOgn(ogts.OmniGraphTestCase): async def test_data_access(self): from omni.kit.procedural.mesh.ogn.OgnProceduralMeshCapsuleDatabase import OgnProceduralMeshCapsuleDatabase test_file_name = "Og...
omniverse-code/kit/exts/omni.kit.procedural.mesh/omni/kit/procedural/mesh/ogn/tests/TestOgnProceduralMeshCone.py
import omni.kit.test import omni.graph.core as og import omni.graph.core.tests as ogts import os class TestOgn(ogts.OmniGraphTestCase): async def test_data_access(self): from omni.kit.procedural.mesh.ogn.OgnProceduralMeshConeDatabase import OgnProceduralMeshConeDatabase test_file_name = "OgnProce...
omniverse-code/kit/exts/omni.kit.procedural.mesh/omni/kit/procedural/mesh/ogn/tests/TestOgnProceduralMeshTorus.py
import omni.kit.test import omni.graph.core as og import omni.graph.core.tests as ogts import os class TestOgn(ogts.OmniGraphTestCase): async def test_data_access(self): from omni.kit.procedural.mesh.ogn.OgnProceduralMeshTorusDatabase import OgnProceduralMeshTorusDatabase test_file_name = "OgnPro...
omniverse-code/kit/exts/omni.kit.procedural.mesh/omni/kit/procedural/mesh/ogn/tests/__init__.py
"""====== GENERATED BY omni.graph.tools - DO NOT EDIT ======""" import omni.graph.tools as ogt ogt.import_tests_in_directory(__file__, __name__)
omniverse-code/kit/exts/omni.kit.procedural.mesh/omni/kit/procedural/mesh/ogn/tests/TestOgnProceduralMeshPlane.py
import omni.kit.test import omni.graph.core as og import omni.graph.core.tests as ogts import os class TestOgn(ogts.OmniGraphTestCase): async def test_data_access(self): from omni.kit.procedural.mesh.ogn.OgnProceduralMeshPlaneDatabase import OgnProceduralMeshPlaneDatabase test_file_name = "OgnPro...
omniverse-code/kit/exts/omni.kit.procedural.mesh/omni/kit/procedural/mesh/ogn/tests/TestOgnProceduralMeshCylinder.py
import omni.kit.test import omni.graph.core as og import omni.graph.core.tests as ogts import os class TestOgn(ogts.OmniGraphTestCase): async def test_data_access(self): from omni.kit.procedural.mesh.ogn.OgnProceduralMeshCylinderDatabase import OgnProceduralMeshCylinderDatabase test_file_name = "...
omniverse-code/kit/exts/omni.kit.procedural.mesh/omni/kit/procedural/mesh/ogn/tests/TestOgnProceduralMeshCube.py
import omni.kit.test import omni.graph.core as og import omni.graph.core.tests as ogts import os class TestOgn(ogts.OmniGraphTestCase): async def test_data_access(self): from omni.kit.procedural.mesh.ogn.OgnProceduralMeshCubeDatabase import OgnProceduralMeshCubeDatabase test_file_name = "OgnProce...
omniverse-code/kit/exts/omni.kit.procedural.mesh/omni/kit/procedural/mesh/ogn/tests/TestOgnProceduralMeshDisk.py
import omni.kit.test import omni.graph.core as og import omni.graph.core.tests as ogts import os class TestOgn(ogts.OmniGraphTestCase): async def test_data_access(self): from omni.kit.procedural.mesh.ogn.OgnProceduralMeshDiskDatabase import OgnProceduralMeshDiskDatabase test_file_name = "OgnProce...
omniverse-code/kit/exts/omni.kit.procedural.mesh/omni/kit/procedural/mesh/ogn/tests/usd/OgnProceduralMeshConeTemplate.usda
#usda 1.0 ( doc ="""Generated from node description file OgnProceduralMeshCone.ogn Contains templates for node types found in that file.""" ) def OmniGraph "TestGraph" { token evaluator:type = "push" int2 fileFormatVersion = (1, 3) token flatCacheBacking = "Shared" token pipelineStage = "pipelineSt...
omniverse-code/kit/exts/omni.kit.procedural.mesh/omni/kit/procedural/mesh/ogn/tests/usd/OgnProceduralMeshTorusTemplate.usda
#usda 1.0 ( doc ="""Generated from node description file OgnProceduralMeshTorus.ogn Contains templates for node types found in that file.""" ) def OmniGraph "TestGraph" { token evaluator:type = "push" int2 fileFormatVersion = (1, 3) token flatCacheBacking = "Shared" token pipelineStage = "pipelineS...
omniverse-code/kit/exts/omni.kit.procedural.mesh/omni/kit/procedural/mesh/ogn/tests/usd/OgnProceduralMeshSphereTemplate.usda
#usda 1.0 ( doc ="""Generated from node description file OgnProceduralMeshSphere.ogn Contains templates for node types found in that file.""" ) def OmniGraph "TestGraph" { token evaluator:type = "push" int2 fileFormatVersion = (1, 3) token flatCacheBacking = "Shared" token pipelineStage = "pipeline...
omniverse-code/kit/exts/omni.kit.procedural.mesh/omni/kit/procedural/mesh/ogn/tests/usd/OgnProceduralMeshCapsuleTemplate.usda
#usda 1.0 ( doc ="""Generated from node description file OgnProceduralMeshCapsule.ogn Contains templates for node types found in that file.""" ) def OmniGraph "TestGraph" { token evaluator:type = "push" int2 fileFormatVersion = (1, 3) token flatCacheBacking = "Shared" token pipelineStage = "pipelin...
omniverse-code/kit/exts/omni.kit.procedural.mesh/omni/kit/procedural/mesh/ogn/tests/usd/OgnProceduralMeshCylinderTemplate.usda
#usda 1.0 ( doc ="""Generated from node description file OgnProceduralMeshCylinder.ogn Contains templates for node types found in that file.""" ) def OmniGraph "TestGraph" { token evaluator:type = "push" int2 fileFormatVersion = (1, 3) token flatCacheBacking = "Shared" token pipelineStage = "pipeli...
omniverse-code/kit/exts/omni.kit.procedural.mesh/omni/kit/procedural/mesh/ogn/tests/usd/OgnProceduralMeshCubeTemplate.usda
#usda 1.0 ( doc ="""Generated from node description file OgnProceduralMeshCube.ogn Contains templates for node types found in that file.""" ) def OmniGraph "TestGraph" { token evaluator:type = "push" int2 fileFormatVersion = (1, 3) token flatCacheBacking = "Shared" token pipelineStage = "pipelineSt...
omniverse-code/kit/exts/omni.kit.procedural.mesh/omni/kit/procedural/mesh/ogn/tests/usd/OgnProceduralMeshDiskTemplate.usda
#usda 1.0 ( doc ="""Generated from node description file OgnProceduralMeshDisk.ogn Contains templates for node types found in that file.""" ) def OmniGraph "TestGraph" { token evaluator:type = "push" int2 fileFormatVersion = (1, 3) token flatCacheBacking = "Shared" token pipelineStage = "pipelineSt...
omniverse-code/kit/exts/omni.kit.procedural.mesh/omni/kit/procedural/mesh/ogn/tests/usd/OgnProceduralMeshPlaneTemplate.usda
#usda 1.0 ( doc ="""Generated from node description file OgnProceduralMeshPlane.ogn Contains templates for node types found in that file.""" ) def OmniGraph "TestGraph" { token evaluator:type = "push" int2 fileFormatVersion = (1, 3) token flatCacheBacking = "Shared" token pipelineStage = "pipelineS...
omniverse-code/kit/exts/omni.kit.procedural.mesh/omni/kit/procedural/mesh/scripts/extension.py
import omni.ext from ..bindings._omni_kit_procedural_mesh import * from .menu import * class PublicExtension(omni.ext.IExt): def on_startup(self): self._interface = acquire_interface() self._menu = Menu() def on_shutdown(self): self._menu.on_shutdown() self._menu = None ...
omniverse-code/kit/exts/omni.kit.procedural.mesh/omni/kit/procedural/mesh/scripts/procedural_mesh_omnigraph_utils.py
""" A set of utilities """ import omni.kit.app import omni.usd from pxr import Sdf, UsdGeom import omni.graph.core as og def get_parent(stage, parentPath): if parentPath: parentPrim = stage.GetPrimAtPath(parentPath) if parentPrim: return parentPrim, False # fallback to default be...
omniverse-code/kit/exts/omni.kit.procedural.mesh/omni/kit/procedural/mesh/scripts/menu.py
import omni.kit.ui import omni.usd # ====================================================================== MENU_CREATE_BUILTIN_PROCEDURAL_MESH_CUBE = ( f'OmniGraph/{omni.kit.ui.get_custom_glyph_code("${glyphs}/menu_prim.svg")} Procedural Mesh/Cube' ) MENU_CREATE_BUILTIN_PROCEDURAL_MESH_SPHERE = ( f'OmniGraph/...
omniverse-code/kit/exts/omni.kit.procedural.mesh/omni/kit/procedural/mesh/scripts/command.py
import omni from pxr import UsdGeom, Usd, Vt, Kind, Sdf from .procedural_mesh_omnigraph_utils import ( create_procedural_mesh_cube, create_procedural_mesh_sphere, create_procedural_mesh_capsule, create_procedural_mesh_cylinder, create_procedural_mesh_cone, create_procedural_mesh_torus, crea...
omniverse-code/kit/exts/omni.kit.gfn/PACKAGE-LICENSES/omni.kit.gfn-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.gfn/config/extension.toml
[package] title = "NVIDIA GFN Integration" category = "Streaming" # Semantic Versioning is used: https://semver.org/ version = "1.1.0" [dependencies] #"omni.usd" = {} [[python.module]] name = "omni.kit.gfn" [[native.plugin]] path = "bin/*.plugin" recursive = false [settings] #exts."omni.kit.gfn".enable = false [[...
omniverse-code/kit/exts/omni.kit.gfn/omni/kit/gfn/__init__.py
from ._kit_gfn import * # Cached interface instance pointer def get_geforcenow_interface() -> IGeForceNow: """Returns cached :class:`omni.kit.gfn.IGeForceNow` interface""" if not hasattr(get_geforcenow_interface, "geforcenow"): get_geforcenow_interface.geforcenow = acquire_geforcenow_interface() r...
omniverse-code/kit/exts/omni.kit.gfn/omni/kit/gfn/_kit_gfn.pyi
"""pybind11 omni.kit.gfn bindings""" from __future__ import annotations import omni.kit.gfn._kit_gfn import typing __all__ = [ "IGeForceNow", "acquire_geforcenow_interface", "release_geforcenow_interface" ] class IGeForceNow(): def get_partner_secure_data(self) -> str: ... def shutdown(self) -> N...
omniverse-code/kit/exts/omni.kit.welcome.open/omni/kit/welcome/open/thumbnail_grid.py
from functools import partial from typing import Callable, Dict, List, Optional import omni.ui as ui from omni.ui import constant as fl from .style import ICON_PATH class ThumbnailItem(ui.AbstractItem): """ Data item for a thumbnail. Args: thumbnail (str): Url to thumbnail. url (str): U...
omniverse-code/kit/exts/omni.kit.welcome.open/omni/kit/welcome/open/stage_tab.py
from typing import Optional import carb import omni.ui as ui from omni.ui import constant as fl from omni.kit.welcome.window import show_window as show_welcome_window from .recent_widget import RecentWidget from .template_grid import TemplateGrid from .thumbnail_grid import ThumbnailItem SETTING_SHOW_TEMPLATES = "/ex...
omniverse-code/kit/exts/omni.kit.welcome.open/omni/kit/welcome/open/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") fl.welcome_open_thumbnail_size = 145 fl.welcome_open_lable_size = 30 cl.welcome_open_item_select...
omniverse-code/kit/exts/omni.kit.welcome.open/omni/kit/welcome/open/extension.py
from typing import Optional import omni.ext import omni.ui as ui from omni.kit.welcome.window import register_page from .open_widget import OpenWidget class OpenPageExtension(omni.ext.IExt): def on_startup(self, ext_id): self._widget: Optional[OpenWidget] = None self.__ext_name = omni.ext.get_e...
omniverse-code/kit/exts/omni.kit.welcome.open/omni/kit/welcome/open/__init__.py
from .extension import *
omniverse-code/kit/exts/omni.kit.welcome.open/omni/kit/welcome/open/recent_widget.py
import asyncio import os from typing import Callable, List, Optional import carb.settings import omni.ui as ui from .thumbnail_grid import ThumbnailGrid, ThumbnailItem, ThumbnailModel SETTING_RECENT_FILES = "/persistent/app/file/recentFiles" class RecentItem(ThumbnailItem): """ Data item for recent file. ...
omniverse-code/kit/exts/omni.kit.welcome.open/omni/kit/welcome/open/open_action.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.kit.welcome.open/omni/kit/welcome/open/open_widget.py
from typing import Dict, Optional import carb import omni.ui as ui from omni.kit.welcome.window import show_window as show_welcome_window from omni.ui import constant as fl from .stage_tab import StageTab from .style import OPEN_PAGE_STYLE class OpenWidget: """ Widget for open page. """ def __init__...
omniverse-code/kit/exts/omni.kit.welcome.open/omni/kit/welcome/open/recent_table.py
import os from typing import List, Optional import omni.client import omni.ui as ui from omni.kit.widget.filebrowser import LAYOUT_SINGLE_PANE_LIST, LISTVIEW_PANE, FileBrowserItem, FileBrowserModel from omni.kit.widget.filebrowser.model import FileBrowserItemFields from omni.kit.window.filepicker import FilePickerWidg...
omniverse-code/kit/exts/omni.kit.welcome.open/omni/kit/welcome/open/render_loading.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.kit.welcome.open/omni/kit/welcome/open/template_grid.py
import functools import locale from typing import List import omni.kit.stage_templates import omni.ui as ui from omni.kit.welcome.window import show_window from .style import ICON_PATH from .thumbnail_grid import ThumbnailGrid, ThumbnailItem, ThumbnailModel import asyncio class TemplateItem(ThumbnailItem): """ ...
omniverse-code/kit/exts/omni.kit.welcome.open/omni/kit/welcome/open/tests/test_page.py
import asyncio from pathlib import Path import omni.kit.app from omni.ui.tests.test_base import OmniUiTest from ..extension import OpenPageExtension CURRENT_PATH = Path(__file__).parent TEST_DATA_PATH = CURRENT_PATH.parent.parent.parent.parent.parent.joinpath("data").joinpath("tests") class TestPage(OmniUiTest): ...
omniverse-code/kit/exts/omni.kit.welcome.open/omni/kit/welcome/open/tests/__init__.py
from .test_page import *
omniverse-code/kit/exts/omni.kit.welcome.open/docs/index.rst
omni.kit.welcome.open ########################### .. toctree:: :maxdepth: 1 CHANGELOG
omniverse-code/kit/exts/omni.kit.selection/PACKAGE-LICENSES/omni.kit.selection-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.selection/config/extension.toml
[package] version = "0.1.0" category = "Internal" [dependencies] "omni.kit.commands" = {} "omni.ui" = {} "omni.usd" = {} [[python.module]] name = "omni.kit.selection"
omniverse-code/kit/exts/omni.kit.selection/omni/kit/selection/selection_actions.py
import omni.kit.actions.core def register_actions(extension_id): import omni.kit.commands action_registry = omni.kit.actions.core.get_action_registry() actions_tag = "Selection Actions" action_registry.register_action( extension_id, "all", lambda: omni.kit.commands.execute("S...
omniverse-code/kit/exts/omni.kit.selection/omni/kit/selection/__init__.py
from .selection import *
omniverse-code/kit/exts/omni.kit.selection/omni/kit/selection/selection.py
import omni.kit.commands from pxr import Usd, Sdf, UsdGeom, Gf, Tf, Trace, Kind from .selection_actions import register_actions, deregister_actions class SelectionExtension(omni.ext.IExt): def on_startup(self, ext_id): self._ext_name = omni.ext.get_extension_name(ext_id) register_actions(self._ext...
omniverse-code/kit/exts/omni.kit.selection/omni/kit/selection/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(): settings = carb.settings.get_settings() default_prim_name = settings.get("/persistent/app/stage/defaultPrimName") rootname = f"/{default_prim_name}" ...
omniverse-code/kit/exts/omni.kit.selection/omni/kit/selection/tests/__init__.py
from .test_commands import * from .create_prims import *
omniverse-code/kit/exts/omni.kit.selection/omni/kit/selection/tests/test_commands.py
import random import omni.kit.test import omni.kit.commands import omni.kit.undo from pxr import Usd, UsdGeom, Kind class TestCommands(omni.kit.test.AsyncTestCase): def check_visibillity(self, visible_set, invisible_set): context = omni.usd.get_context() stage = context.get_stage() for pri...
omniverse-code/kit/exts/omni.kit.selection/docs/index.rst
omni.kit.selection ########################### Commands for selection of prims
omniverse-code/kit/exts/omni.mdl.distill_and_bake/docs/index.rst
omni.mdl.distill_and_bake ########################### .. toctree:: :maxdepth: 1 CHANGELOG
omniverse-code/kit/exts/omni.kit.widget.toolbar/PACKAGE-LICENSES/omni.kit.widget.toolbar-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.widget.toolbar/config/extension.toml
[package] # Semantic Versioning is used: https://semver.org/ version = "1.4.0" # 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 description = "Extension to create toolbar widget. ...
omniverse-code/kit/exts/omni.kit.widget.toolbar/omni/kit/widget/toolbar/simple_tool_button.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.widget.toolbar/omni/kit/widget/toolbar/widget_group.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.widget.toolbar/omni/kit/widget/toolbar/commands.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.widget.toolbar/omni/kit/widget/toolbar/extension.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.widget.toolbar/omni/kit/widget/toolbar/__init__.py
from .extension import * from .toolbar import * from omni.kit.widget.toolbar.simple_tool_button import * # backward compatible from .widget_group import * # backward compatible
omniverse-code/kit/exts/omni.kit.widget.toolbar/omni/kit/widget/toolbar/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.widget.toolbar/omni/kit/widget/toolbar/toolbar.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.widget.toolbar/omni/kit/widget/toolbar/hotkey.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.widget.toolbar/omni/kit/widget/toolbar/builtin_tools/play_button_group.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.widget.toolbar/omni/kit/widget/toolbar/builtin_tools/builtin_tools.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.widget.toolbar/omni/kit/widget/toolbar/builtin_tools/transform_button_group.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.widget.toolbar/omni/kit/widget/toolbar/builtin_tools/snap_button_group.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.widget.toolbar/omni/kit/widget/toolbar/builtin_tools/select_button_group.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.widget.toolbar/omni/kit/widget/toolbar/builtin_tools/models/transform_mode_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.widget.toolbar/omni/kit/widget/toolbar/builtin_tools/models/setting_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.widget.toolbar/omni/kit/widget/toolbar/builtin_tools/models/timeline_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.widget.toolbar/omni/kit/widget/toolbar/builtin_tools/models/select_mode_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.widget.toolbar/omni/kit/widget/toolbar/builtin_tools/models/select_no_kinds_model.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.kit.widget.toolbar/omni/kit/widget/toolbar/builtin_tools/models/select_include_ref_model.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.kit.widget.toolbar/omni/kit/widget/toolbar/tests/helpers.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.widget.toolbar/omni/kit/widget/toolbar/tests/test_api.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.widget.toolbar/omni/kit/widget/toolbar/tests/__init__.py
from .test_api import * from .test_models import *
omniverse-code/kit/exts/omni.kit.widget.toolbar/omni/kit/widget/toolbar/tests/test_models.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.widget.toolbar/docs/CHANGELOG.md
# CHANGELOG This document records all notable changes to ``omni.kit.window.toolbar`` extension. This project adheres to `Semantic Versioning <https://semver.org/>`. ## [1.4.0] - 2022-11-28 ### Changed - Rename `omni.kit.window.toolbar` into `omni.kit.widget.toolbar` ## [1.3.3] - 2022-09-26 ### Changed - Updated to u...
omniverse-code/kit/exts/omni.kit.widget.toolbar/docs/index.rst
omni.kit.widget.toolbar ########################### Omniverse Kit Toolbar extension .. toctree:: :maxdepth: 1 CHANGELOG
omniverse-code/kit/exts/omni.kit.window.file/PACKAGE-LICENSES/omni.kit.window.file-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.window.file/config/extension.toml
[package] # Semantic Versioning is used: https://semver.org/ version = "1.3.32" 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 = "USD File UI" descr...
omniverse-code/kit/exts/omni.kit.window.file/omni/kit/window/file/__init__.py
from .scripts import *
omniverse-code/kit/exts/omni.kit.window.file/omni/kit/window/file/scripts/prompt_ui.py
import urllib import carb import carb.settings import omni.ui as ui from typing import List class Prompt: def __init__( self, title: str, text: str, button_text: list, button_fn: list, modal: bool = False, callback_addons: List = [], callback_destroy: List = [], decode_text: bool = True ): ...
omniverse-code/kit/exts/omni.kit.window.file/omni/kit/window/file/scripts/share_window.py
import carb import omni.ui as ui class ShareWindow(ui.Window): def __init__(self, copy_button_text="Copy Path to Clipboard", copy_button_fn=None, modal=True, url=None): self._title = "Share Omniverse USD Path" self._copy_button_text = copy_button_text self._copy_button_fn = copy_button_fn ...
omniverse-code/kit/exts/omni.kit.window.file/omni/kit/window/file/scripts/save_stage_ui.py
import asyncio import weakref import urllib import carb.settings import omni.client import omni.ui from omni.kit.widget.versioning import CheckpointHelper class CheckBoxStatus: def __init__(self, checkbox, layer_identifier, layer_is_writable): self.checkbox = checkbox self.layer_identifier = laye...
omniverse-code/kit/exts/omni.kit.window.file/omni/kit/window/file/scripts/style.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.window.file/omni/kit/window/file/scripts/__init__.py
from .file_window import *
omniverse-code/kit/exts/omni.kit.window.file/omni/kit/window/file/scripts/file_actions.py
import omni.kit.actions.core from .app_ui import AppUI, DialogOptions def register_actions(extension_id): import omni.kit.window.file action_registry = omni.kit.actions.core.get_action_registry() actions_tag = "File Actions" action_registry.register_action( extension_id, "new", ...