file_path
stringlengths
32
153
content
stringlengths
0
3.14M
omniverse-code/kit/exts/omni.kit.property.usd_clipboard_test/PACKAGE-LICENSES/omni.kit.property.usd_clipboard_test-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.property.usd_clipboard_test/config/extension.toml
[package] # Semantic Versioning is used: https://semver.org/ version = "1.0.1" category = "Internal" # Lists people or organizations that are considered the "authors" of the package. authors = ["NVIDIA"] # The title and description fields are primarly for displaying extension info in UI title = "USD Property Clipboa...
omniverse-code/kit/exts/omni.kit.property.usd_clipboard_test/omni/kit/property/usd_clipboard_test/__init__.py
omniverse-code/kit/exts/omni.kit.property.usd_clipboard_test/omni/kit/property/usd_clipboard_test/tests/__init__.py
from .test_property_context_menu import *
omniverse-code/kit/exts/omni.kit.property.usd_clipboard_test/omni/kit/property/usd_clipboard_test/tests/test_property_context_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_clipboard_test/docs/CHANGELOG.md
# Changelog The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). ## [1.0.1] - 2022-12-21 ### Added - Stabillity fix ## [1.0.0] - 2022-11-28 ### Added - Test added.
omniverse-code/kit/exts/omni.kit.property.usd_clipboard_test/docs/README.md
# omni.kit.property.usd_clipboard_test ## Introduction This extension is used purely for holding tests for omni.kit.property.usd, that need to show a real window during automated tests. Mostly this is because the clipboard copy and paste code needs to have an actual window.
omniverse-code/kit/exts/omni.kit.property.usd_clipboard_test/docs/index.rst
omni.kit.property.usd_clipboard_test: USD Property Clipboard Test Extension ########################################################################### .. toctree:: :maxdepth: 1 CHANGELOG USD Property Widget =================== .. automodule:: omni.kit.property.usd_clipboard_test :platform: Windows-x86_64,...
omniverse-code/kit/exts/omni.kit.property.usd_clipboard_test/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.viewport.menubar.settings/omni/kit/viewport/menubar/settings/setting_menu_container.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.menubar.settings/omni/kit/viewport/menubar/settings/style.py
from omni.ui import color as cl from omni.ui import constant as fl from pathlib import Path CURRENT_PATH = Path(__file__).parent ICON_PATH = CURRENT_PATH.parent.parent.parent.parent.parent.joinpath("data").joinpath("icons") UI_STYLE = { "Menu.Item.Icon::Settings": {"image_url": f"{ICON_PATH}/viewport_settings.svg...
omniverse-code/kit/exts/omni.kit.viewport.menubar.settings/omni/kit/viewport/menubar/settings/extension.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.menubar.settings/omni/kit/viewport/menubar/settings/__init__.py
from .extension import *
omniverse-code/kit/exts/omni.kit.viewport.menubar.settings/omni/kit/viewport/menubar/settings/menu_item/settings_transform_manipulator.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.menubar.settings/omni/kit/viewport/menubar/settings/menu_item/settings_renderer_menu_item.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.menubar.settings/omni/kit/viewport/menubar/settings/menu_item/resolution_collection/model.py
import asyncio import carb.settings import omni.kit.app from omni.kit.viewport.menubar.core import ComboBoxItem, SettingComboBoxModel, ResetHelper from typing import Tuple, List, Optional SETTING_RESOLUTION_LIST = "/app/renderer/resolution/list" SETTING_CUSTOM_RESOLUTION_LIST = "/persistent/app/renderer/resolution/cus...
omniverse-code/kit/exts/omni.kit.viewport.menubar.settings/omni/kit/viewport/menubar/settings/menu_item/resolution_collection/menu.py
from .model import ResolutionComboBoxItem, ComboBoxResolutionModel import carb.settings import omni.ui as ui from omni.kit.viewport.menubar.core import RadioMenuCollection, ViewportMenuDelegate, AbstractWidgetMenuDelegate import math from typing import List, Union import weakref SETTING_CUSTOM_RESOLUTION_LIST = "/p...
omniverse-code/kit/exts/omni.kit.viewport.menubar.settings/omni/kit/viewport/menubar/settings/menu_item/custom_resolution/save_window.py
import omni.ui as ui from typing import Tuple, Callable from ...style import SAVE_WINDOW_STYLE class SaveWindow(ui.Window): """ Window to save custom resolution. """ PADDING = 8 def __init__(self, resolution: Tuple[int, int], on_save_fn: Callable[[str, Tuple[int, int]], bool]): self.name_...
omniverse-code/kit/exts/omni.kit.viewport.menubar.settings/omni/kit/viewport/menubar/settings/menu_item/custom_resolution/custom_resolution_menu_item.py
import omni.ui as ui from typing import Tuple from .custom_resolution_delegate import CustomResolutionDelegate class CustomResolutionMenuItem(ui.MenuItem): """ Menu item to edit/save custom resolution. """ def __init__(self, res_model, res_setter): self.__delegate = CustomResolutionDelegate(re...
omniverse-code/kit/exts/omni.kit.viewport.menubar.settings/omni/kit/viewport/menubar/settings/menu_item/custom_resolution/custom_resolution_delegate.py
from omni.kit.viewport.menubar.core import AbstractWidgetMenuDelegate import omni.ui as ui import omni.kit.app from .save_window import SaveWindow import carb.settings from typing import List, Optional, Callable, Tuple import weakref import math import asyncio SETTING_CUSTOM_RESOLUTION_LIST = "/persistent/app/rendere...
omniverse-code/kit/exts/omni.kit.viewport.menubar.settings/omni/kit/viewport/menubar/settings/tests/test_custom_resolution.py
import carb.settings import omni.kit.test from ..menu_item.resolution_collection.model import ComboBoxResolutionModel, ResolutionComboBoxItem SETTING_CUSTOM_RESOLUTION_LIST = "/persistent/app/renderer/resolution/custom/list" class TestCustomResolution(omni.kit.test.AsyncTestCase): async def setUp(self): ...
omniverse-code/kit/exts/omni.kit.viewport.menubar.settings/omni/kit/viewport/menubar/settings/tests/__init__.py
from .test_ui import * from .test_custom_resolution import *
omniverse-code/kit/exts/omni.kit.viewport.menubar.settings/omni/kit/viewport/menubar/settings/tests/test_ui.py
import omni.kit.test from re import I from omni.ui.tests.test_base import OmniUiTest import omni.kit.ui_test as ui_test from omni.kit.ui_test import Vec2 import omni.usd import omni.kit.app from omni.kit.test.teamcity import is_running_in_teamcity from pathlib import Path import carb.input import asyncio import unittes...
omniverse-code/kit/exts/omni.kit.viewport.menubar.settings/docs/index.rst
omni.kit.viewport.menubar.settings ################################### Viewport MenuBar Settings .. toctree:: :maxdepth: 1 README CHANGELOG .. automodule:: omni.kit.viewport.menubar.settings :platform: Windows-x86_64, Linux-x86_64 :members: :undoc-members: :show-inheritance: :imported...
omniverse-code/kit/exts/omni.kit.window.status_bar/PACKAGE-LICENSES/omni.kit.window.status_bar-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.status_bar/config/extension.toml
[package] version = "0.1.5" title = "Status Bar" changelog = "docs/CHANGELOG.md" [dependencies] "omni.usd" = {} "omni.ui" = {} "omni.kit.mainwindow" = { optional=true } [[native.plugin]] path = "bin/*.plugin" recursive = false # That will make tests auto-discoverable by test_runner: [[python.module]] name = "omni.ki...
omniverse-code/kit/exts/omni.kit.window.status_bar/omni/kit/window/status_bar/tests/test_status_bar.py
## Copyright (c) 2018-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 softw...
omniverse-code/kit/exts/omni.kit.window.status_bar/omni/kit/window/status_bar/tests/__init__.py
## Copyright (c) 2018-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 softw...
omniverse-code/kit/exts/omni.kit.primitive.mesh/PACKAGE-LICENSES/omni.kit.primitive.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.primitive.mesh/config/extension.toml
[package] # Semantic Versioning is used: https://semver.org/ version = "1.0.8" # Lists people or organizations that are considered the "authors" of the package. authors = ["NVIDIA"] category = "Internal" # The title and description fields are primarly for displaying extension info in UI title = "Kit Mesh Primitives ...
omniverse-code/kit/exts/omni.kit.primitive.mesh/omni/kit/primitive/mesh/extension.py
__all__ = ["PrimitiveMeshExtension"] import omni from .mesh_actions import register_actions, deregister_actions from pxr import Usd class PrimitiveMeshExtension(omni.ext.IExt): def __init__(self): super().__init__() def on_startup(self, ext_id): self._ext_name = omni.ext.get_extension_name(...
omniverse-code/kit/exts/omni.kit.primitive.mesh/omni/kit/primitive/mesh/__init__.py
from .evaluators import get_geometry_mesh_prim_list, AbstractShapeEvaluator from .command import CreateMeshPrimCommand, CreateMeshPrimWithDefaultXformCommand from .extension import PrimitiveMeshExtension
omniverse-code/kit/exts/omni.kit.primitive.mesh/omni/kit/primitive/mesh/mesh_actions.py
import omni.usd import omni.kit.commands import omni.kit.actions.core from .evaluators import get_geometry_mesh_prim_list def register_actions(extension_id, cls, get_self_fn): def create_mesh_prim(prim_type): usd_context = omni.usd.get_context() with omni.kit.usd.layers.active_authoring_layer_con...
omniverse-code/kit/exts/omni.kit.primitive.mesh/omni/kit/primitive/mesh/generator.py
import carb.settings import omni import omni.kit from omni import ui from .evaluators import _get_all_evaluators, get_geometry_mesh_prim_list from omni.kit.menu.utils import MenuItemDescription, remove_menu_items, add_menu_items class MeshGenerator: def __init__(self): self._settings = carb.settings.get_...
omniverse-code/kit/exts/omni.kit.primitive.mesh/omni/kit/primitive/mesh/command.py
__all__ = ["CreateMeshPrimWithDefaultXformCommand", "CreateMeshPrimCommand"] import omni import carb.settings from pxr import UsdGeom, Usd, Vt, Kind, Sdf, Gf from .evaluators import _get_all_evaluators PERSISTENT_SETTINGS_PREFIX = "/persistent" class CreateMeshPrimWithDefaultXformCommand(omni.kit.commands.Command)...
omniverse-code/kit/exts/omni.kit.primitive.mesh/omni/kit/primitive/mesh/evaluators/cone.py
import math from .utils import ( get_int_setting, build_int_slider, modify_winding_order, transform_point, inverse_u, inverse_v, generate_disk ) from .abstract_shape_evaluator import AbstractShapeEvaluator from pxr import Gf from typing import List, Tuple class ConeEvaluator(AbstractShapeEvaluator): SETT...
omniverse-code/kit/exts/omni.kit.primitive.mesh/omni/kit/primitive/mesh/evaluators/__init__.py
__all__ = ["get_geometry_mesh_prim_list", "AbstractShapeEvaluator"] import re from .abstract_shape_evaluator import AbstractShapeEvaluator from .cone import ConeEvaluator from .disk import DiskEvaluator from .cube import CubeEvaluator from .cylinder import CylinderEvaluator from .sphere import SphereEvaluator from .t...
omniverse-code/kit/exts/omni.kit.primitive.mesh/omni/kit/primitive/mesh/evaluators/abstract_shape_evaluator.py
from typing import List, Tuple from pxr import Gf class AbstractShapeEvaluator: # pragma: no cover def __init__(self, attributes: dict): self._attributes = attributes def eval(self, **kwargs) -> Tuple[ List[Gf.Vec3f], List[Gf.Vec3f], List[Gf.Vec2f], List[int], List[int] ]: ...
omniverse-code/kit/exts/omni.kit.primitive.mesh/omni/kit/primitive/mesh/evaluators/utils.py
import math import carb.settings from pxr import Gf from typing import List, Tuple from numbers import Number def _save_settings(model, setting): value = model.get_value_as_int() carb.settings.get_settings().set(setting, value) def build_int_slider(name, setting, default_value, min_value, max_value, toolti...
omniverse-code/kit/exts/omni.kit.primitive.mesh/omni/kit/primitive/mesh/evaluators/plane.py
from .utils import get_int_setting, build_int_slider, inverse_u, generate_plane from .abstract_shape_evaluator import AbstractShapeEvaluator from pxr import Gf class PlaneEvaluator(AbstractShapeEvaluator): SETTING_OBJECT_HALF_SCALE = "/persistent/app/mesh_generator/shapes/plane/object_half_scale" SETTING_U_SC...
omniverse-code/kit/exts/omni.kit.primitive.mesh/omni/kit/primitive/mesh/evaluators/cylinder.py
from .utils import ( get_int_setting, build_int_slider, modify_winding_order, generate_circle_points, transform_point, inverse_u, inverse_v, generate_disk ) from .abstract_shape_evaluator import AbstractShapeEvaluator from pxr import Gf from typing import List class CylinderEvaluator(AbstractShapeEvaluator): ...
omniverse-code/kit/exts/omni.kit.primitive.mesh/omni/kit/primitive/mesh/evaluators/sphere.py
import math from .utils import get_int_setting, build_int_slider from .utils import transform_point from .abstract_shape_evaluator import AbstractShapeEvaluator from pxr import Gf class SphereEvaluator(AbstractShapeEvaluator): SETTING_OBJECT_HALF_SCALE = "/persistent/app/mesh_generator/shapes/shpere/object_half_s...
omniverse-code/kit/exts/omni.kit.primitive.mesh/omni/kit/primitive/mesh/evaluators/cube.py
from .utils import get_int_setting, build_int_slider, generate_plane, modify_winding_order from .abstract_shape_evaluator import AbstractShapeEvaluator from pxr import Gf class CubeEvaluator(AbstractShapeEvaluator): SETTING_OBJECT_HALF_SCALE = "/persistent/app/mesh_generator/shapes/cube/object_half_scale" SET...
omniverse-code/kit/exts/omni.kit.primitive.mesh/omni/kit/primitive/mesh/evaluators/disk.py
from .utils import get_int_setting, build_int_slider from .utils import generate_disk from .abstract_shape_evaluator import AbstractShapeEvaluator from pxr import Gf class DiskEvaluator(AbstractShapeEvaluator): SETTING_OBJECT_HALF_SCALE = "/persistent/app/mesh_generator/shapes/disk/object_half_scale" SETTING_...
omniverse-code/kit/exts/omni.kit.primitive.mesh/omni/kit/primitive/mesh/evaluators/torus.py
import math from .utils import get_int_setting, build_int_slider from .utils import transform_point from .abstract_shape_evaluator import AbstractShapeEvaluator from pxr import Gf class TorusEvaluator(AbstractShapeEvaluator): SETTING_OBJECT_HALF_SCALE = "/persistent/app/mesh_generator/shapes/torus/object_half_sca...
omniverse-code/kit/exts/omni.kit.primitive.mesh/omni/kit/primitive/mesh/tests/__init__.py
from .test_mesh_prims import *
omniverse-code/kit/exts/omni.kit.primitive.mesh/omni/kit/primitive/mesh/tests/test_mesh_prims.py
import omni.kit.test import omni.usd import omni.kit.app import omni.kit.primitive.mesh import omni.kit.commands import omni.kit.actions.core from pathlib import Path from pxr import Gf, Kind, Sdf, Usd, UsdGeom, UsdShade EXTENSION_FOLDER_PATH = Path(omni.kit.app.get_app().get_extension_manager().get_extension_path_...
omniverse-code/kit/exts/omni.kit.primitive.mesh/docs/CHANGELOG.md
# Changelog The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). ## [1.0.8] - 2022-11-25 ### Changes - Improve mesh primitives for physx needs. - Make sure cone and cylinder are watertight. - Fix normal issues at the tip of Cone. - Add more tessellation settings for caps of cone and cylind...
omniverse-code/kit/exts/omni.kit.primitive.mesh/docs/index.rst
omni.kit.primitive.mesh: omni.kit.mesh_generator ################################################# Python Extension Mesh Generator
omniverse-code/kit/exts/omni.kit.manipulator.camera/omni/kit/manipulator/camera/animation.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.manipulator.camera/omni/kit/manipulator/camera/viewport_camera_manipulator.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.manipulator.camera/omni/kit/manipulator/camera/__init__.py
# Expose these for easier import via from omni.kit.manipulator.camera import XXX from .manipulator import SceneViewCameraManipulator, CameraManipulatorBase, adjust_center_of_interest from .usd_camera_manipulator import UsdCameraManipulator from .viewport_camera_manipulator import ViewportCameraManipulator
omniverse-code/kit/exts/omni.kit.manipulator.camera/omni/kit/manipulator/camera/flight_mode.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.manipulator.camera/omni/kit/manipulator/camera/math.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.manipulator.camera/omni/kit/manipulator/camera/usd_camera_manipulator.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.manipulator.camera/omni/kit/manipulator/camera/model.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.manipulator.camera/omni/kit/manipulator/camera/manipulator.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.manipulator.camera/omni/kit/manipulator/camera/gesturebase.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.manipulator.camera/omni/kit/manipulator/camera/gamepad.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.manipulator.camera/omni/kit/manipulator/camera/gestures.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.manipulator.camera/omni/kit/manipulator/camera/tests/test_manipulator_camera.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.manipulator.camera/omni/kit/manipulator/camera/tests/test_manipulator_usd.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.manipulator.camera/omni/kit/manipulator/camera/tests/__init__.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.manipulator.camera/omni/kit/manipulator/camera/tests/test_manipulator_gamepad.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.manipulator.camera/omni/kit/manipulator/camera/tests/test_viewport_manipulator.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.manipulator.camera/docs/index.rst
omni.kit.manipulator.camera ########################### Camera Manipultors for omni.ui.scene .. toctree:: :maxdepth: 1 README CHANGELOG .. automodule:: omni.kit.manipulator.camera :platform: Windows-x86_64, Linux-x86_64 :members: :undoc-members: :show-inheritance: :imported-members:
omniverse-code/kit/exts/omni.kit.window.tests/PACKAGE-LICENSES/omni.kit.window.tests-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.tests/config/extension.toml
[package] # Semantic Versioning is used: https://semver.org/ version = "0.1.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 title = "Kit Tests Window" description="Window to l...
omniverse-code/kit/exts/omni.kit.window.tests/omni/kit/window/_test_runner_window.py
"""Implementation of the manager of the Test Runner window. Exports only TestRunnerWindow: The object managing the window, a singleton. Instatiate it to create the window. Limitations: - When tests are running and extensions are disabled then enabled as part of it any tests owned by the disabled extensions ...
omniverse-code/kit/exts/omni.kit.window.tests/omni/kit/window/tests.py
"""Implementation of the extension containing the Test Runner window.""" import logging import sys import carb import omni.ext from omni.kit.ui import EditorMenu # Cannot do relative imports here due to the way the omni.kit.window import space is duplicated in multiple extensions from omni.kit.window._test_runner_win...
omniverse-code/kit/exts/omni.kit.window.tests/omni/kit/window/properties.py
import carb import carb.settings import omni.kit.app import omni.ui as ui HUMAN_DELAY_SETTING = "/exts/omni.kit.ui_test/humanDelay" class TestingPropertiesWindow: def __init__(self): self._window = ui.Window("Testing Properties", width=400, height=200, flags=ui.WINDOW_FLAGS_NO_DOCKING) self._win...
omniverse-code/kit/exts/omni.kit.window.tests/docs/CHANGELOG.md
# CHANGELOG ## [0.1.0] - 2020-10-29 - Ported old version to extensions 2.0
omniverse-code/kit/exts/omni.kit.window.tests/docs/index.rst
omni.kit.window.tests ########################### .. toctree:: :maxdepth: 1 CHANGELOG
omniverse-code/kit/exts/omni.kit.exec.core/omni/kit/exec/core/unstable/__init__.py
"""Python Module Initialization for omni.kit.exec.core""" from ._omni_kit_exec_core_unstable import * from .scripts.extension import _PublicExtension
omniverse-code/kit/exts/omni.kit.exec.core/omni/kit/exec/core/unstable/_omni_kit_exec_core_unstable.pyi
from __future__ import annotations import omni.kit.exec.core.unstable._omni_kit_exec_core_unstable import typing __all__ = [ "dump_graph_topology" ] def dump_graph_topology(fileName: str) -> None: """ Write the default execution controller's corresponding execution graph topology out as a GraphViz file. ...
omniverse-code/kit/exts/omni.kit.exec.core/omni/kit/exec/core/unstable/scripts/extension.py
"""Support required by the Carbonite extension loader""" import omni.ext class _PublicExtension(omni.ext.IExt): """Object that tracks the lifetime of the Python part of the extension loading""" def on_startup(self): """Set up initial conditions for the Python part of the extension""" def on_shut...
omniverse-code/kit/exts/omni.kit.widget.prompt/PACKAGE-LICENSES/omni.kit.widget.prompt-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.prompt/config/extension.toml
[package] title = "Prompt dialog for omni.ui widgets" category = "Internal" description = "Prompt dialog for use with omni.ui widgets" version = "1.0.5" authors = ["NVIDIA"] repository = "" keywords = ["widget"] changelog = "docs/CHANGELOG.md" preview_image = "data/preview.png" icon = "data/icon.png" [dependencies] "o...
omniverse-code/kit/exts/omni.kit.widget.prompt/omni/kit/widget/prompt/extension.py
import omni.ext from .prompt import PromptManager class PromptExtension(omni.ext.IExt): def on_startup(self): PromptManager.on_startup() def on_shutdown(self): PromptManager.on_shutdown()
omniverse-code/kit/exts/omni.kit.widget.prompt/omni/kit/widget/prompt/__init__.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.prompt/omni/kit/widget/prompt/prompt.py
from typing import Callable, List import carb import carb.input import omni import uuid class PromptButtonInfo: def __init__(self, name: str, on_button_clicked_fn: Callable[[], None] = None): self._name = name self._on_button_clicked_fn = on_button_clicked_fn @property def name(self): ...
omniverse-code/kit/exts/omni.kit.widget.prompt/omni/kit/widget/prompt/tests/__init__.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.prompt/omni/kit/widget/prompt/tests/test_prompt.py
import omni.kit.test import omni.kit.ui_test as ui_test from functools import partial from omni.kit.widget.prompt import Prompt, PromptManager, PromptButtonInfo class TestPrompt(omni.kit.test.AsyncTestCase): async def setUp(self): PromptManager.on_shutdown() async def _wait(self, frames=5): ...
omniverse-code/kit/exts/omni.kit.widget.prompt/docs/CHANGELOG.md
# Changelog Omniverse Kit Prompt Dialog ## [1.0.5] - 2023-01-19 ### Fixed - Generates unique id when title is not provided for prompt. ## [1.0.4] - 2022-12-07 ### Fixed - Missing import (OM-75466). ## [1.0.3] - 2022-11-21 ### Changed - Adjust button size. ## [1.0.2] - 2022-06-15 ### Changed - Add prompt manager to...
omniverse-code/kit/exts/omni.kit.viewport.utility/PACKAGE-LICENSES/omni.kit.viewport.utility-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.viewport.utility/config/extension.toml
[package] # Semantic Versioning is used: https://semver.org/ version = "1.0.14" # Lists people or organizations that are considered the "authors" of the package. authors = ["NVIDIA"] # The title and description fields are primarly for displaying extension info in UI title = "Viewport Utility" description="Utility fun...
omniverse-code/kit/exts/omni.kit.viewport.utility/omni/kit/viewport/utility/__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 and rel...
omniverse-code/kit/exts/omni.kit.viewport.utility/omni/kit/viewport/utility/legacy_viewport_window.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.utility/omni/kit/viewport/utility/camera_state.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.viewport.utility/omni/kit/viewport/utility/legacy_viewport_api.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.utility/omni/kit/viewport/utility/tests/capture.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.utility/omni/kit/viewport/utility/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.utility/omni/kit/viewport/utility/tests/test_suite.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.utility/docs/CHANGELOG.md
# CHANGELOG The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). ## [1.0.14] - 2023-01-25 ### Added - get_ground_plane_info API call. ## [1.0.13] - 2022-12-09 ### Added - Be able to pass a prim path to focus on ## [1.0.12] - 2022-10-17 ### Added - disable_context_menu API to disable cont...
omniverse-code/kit/exts/omni.kit.viewport.utility/docs/README.md
# Overview Utility functions to access [active] Viewport information
omniverse-code/kit/exts/omni.kit.viewport.utility/docs/Overview.md
# Overview Utility functions to access [active] Viewport information
omniverse-code/kit/exts/omni.kit.example.toolbar_button/PACKAGE-LICENSES/omni.kit.example.toolbar_button-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.example.toolbar_button/config/extension.toml
[package] # Semantic Versioning is used: https://semver.org/ version = "0.1.0" # Lists people or organizations that are considered the "authors" of the package. authors = ["NVIDIA"] # The title and description fields are primarly for displaying extension info in UI title = "Kit Toolbar Button Example" desciption="Ext...
omniverse-code/kit/exts/omni.kit.example.toolbar_button/omni/kit/example/toolbar_button/__init__.py
from .toolbar_button import *
omniverse-code/kit/exts/omni.kit.example.toolbar_button/omni/kit/example/toolbar_button/toolbar_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...