file_path stringlengths 32 153 | content stringlengths 0 3.14M |
|---|---|
omniverse-code/kit/exts/omni.kit.widget.settings/config/extension.toml | [package]
title = "Settings Widget"
description = "Settings Widget"
version = "1.0.1"
category = "Internal"
authors = ["NVIDIA"]
repository = ""
keywords = ["settings", "ui"]
changelog = "docs/CHANGELOG.md"
# Preview image. Folder named "data" automatically goes in git lfs (see .gitattributes file).
preview_image = "... |
omniverse-code/kit/exts/omni.kit.widget.settings/omni/kit/widget/settings/settings_widget.py | from enum import Enum
from typing import Tuple, Union
import carb
import carb.settings
import omni.ui as ui
from .settings_model import (
SettingModel,
SettingsComboItemModel,
VectorFloatSettingsModel,
VectorIntSettingsModel,
AssetPathSettingsModel,
RadioButtonSettingModel,
)
from .settings_widg... |
omniverse-code/kit/exts/omni.kit.widget.settings/omni/kit/widget/settings/style.py | import carb.settings
import omni.ui as ui
def get_ui_style_name():
return carb.settings.get_settings().get_as_string("/persistent/app/window/uiStyle") or "NvidiaDark"
def get_style():
KIT_GREEN = 0xFF8A8777
BORDER_RADIUS = 1.5
FONT_SIZE = 14.0
ui_style = get_ui_style_name()
if ui_style == ... |
omniverse-code/kit/exts/omni.kit.widget.settings/omni/kit/widget/settings/__init__.py | from .style import get_style, get_ui_style_name
from .settings_widget import create_setting_widget, create_setting_widget_combo, SettingType, SettingsSearchableCombo, SettingWidgetType
from .settings_widget_builder import SettingsWidgetBuilder
|
omniverse-code/kit/exts/omni.kit.widget.settings/omni/kit/widget/settings/settings_widget_builder.py | import collections
from functools import partial
from pathlib import Path
from typing import Tuple, Union, Any
import carb
import carb.settings
import omni.kit.app
import omni.kit.commands
import omni.ui as ui
from .settings_model import SettingsComboItemModel, RadioButtonSettingModel
LABEL_HEIGHT = 18
HORIZONTAL_SP... |
omniverse-code/kit/exts/omni.kit.widget.settings/omni/kit/widget/settings/settings_model.py | from typing import Any, Dict, Union
import carb
import carb.dictionary
import carb.settings
import omni.kit.commands
import omni.ui as ui
def update_reset_button(settingModel):
"""
work out whether to show the reset button highlighted or not depending on whether the setting
is set to it's default value
... |
omniverse-code/kit/exts/omni.kit.widget.settings/omni/kit/widget/settings/deprecated/__init__.py | """Settings Omniverse Kit API
Module to work with **Settings** in the Kit. It is built on top of ``carb.settings`` generic setting system.
Example code to create :class:`omni.kit.ui.Widget` to show and edit particular setting:
>>> import omni.kit.settings
>>> import omni.kit.ui
>>> widget = omni.kit.settings.create_... |
omniverse-code/kit/exts/omni.kit.widget.settings/omni/kit/widget/settings/deprecated/model.py | import typing
import carb
import carb.settings
import carb.dictionary
import carb.events
import omni.kit.ui
import omni.kit.commands
import omni.kit.app
class ChangeGroup:
def __init__(self, direct_set=False):
self.path = None
self.value = None
self.info = None
self.direct_set = d... |
omniverse-code/kit/exts/omni.kit.widget.settings/omni/kit/widget/settings/deprecated/ui.py | import omni.kit.ui
import carb
import carb.dictionary
import carb.settings
import collections
from typing import Union, Callable
from . import model
class SettingType:
"""
Supported setting types
"""
FLOAT = 0
INT = 1
COLOR3 = 2
BOOL = 3
STRING = 4
DOUBLE3 = 5
INT2 = 6
DO... |
omniverse-code/kit/exts/omni.kit.widget.settings/omni/kit/widget/settings/tests/test_model.py | import omni.kit.test
import carb.settings
from ..settings_model import VectorFloatSettingsModel, RadioButtonSettingModel
class TestModel(omni.kit.test.AsyncTestCase):
async def test_vector_model(self):
setting_name = "/rtx/pathtracing/maxBlah"
settings = carb.settings.get_settings()
init... |
omniverse-code/kit/exts/omni.kit.widget.settings/omni/kit/widget/settings/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 a... |
omniverse-code/kit/exts/omni.kit.widget.settings/omni/kit/widget/settings/tests/test_settings.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.widget.settings/docs/CHANGELOG.md | # Changelog
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
## [1.0.1] - 2022-06-23
### Changed
- Added identifier to create_setting_widget_combo for easier testing
## [1.0.0] - 2021-03-25
### Created
- Created as updated omni.kit.settings
|
omniverse-code/kit/exts/omni.kit.pipapi/omni/kit/pipapi/__init__.py | from .pipapi import *
|
omniverse-code/kit/exts/omni.kit.pipapi/omni/kit/pipapi/pipapi.py | """Pip Omniverse Kit API
Module to enable usage of ``pip install`` in Omniverse Kit environment. It wraps ``pip install`` calls and reroutes package installation into
user specified environment folder.
Package folder is selected from config string at path: `/app/omni.kit.pipapi/archiveDirs` and added into :mod:`sys.p... |
omniverse-code/kit/exts/omni.kit.pipapi/omni/kit/pipapi/tests/__init__.py | from .test_pipapi import *
|
omniverse-code/kit/exts/omni.kit.pipapi/omni/kit/pipapi/tests/test_pipapi.py | import omni.kit.test
import omni.kit.pipapi
class TestPipApi(omni.kit.test.AsyncTestCase):
async def test_pipapi_install(self):
# Install simple package and import it.
omni.kit.pipapi.install(
"toml", version="0.10.1", ignore_import_check=True, ignore_cache=True
) # SWIPAT fil... |
omniverse-code/kit/exts/omni.ui/omni/ui/abstract_shade.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.ui/omni/ui/scene.py | # WAR `import omni.ui.scene` failure when `omni.ui.scene` was not enabled.
# It happends during doc building, when running from python.bat, during stubgen, intellinse - anywhere that is not kit runtime
from omni.ui_scene.scene import *
|
omniverse-code/kit/exts/omni.ui/omni/ui/_ui.pyi | from __future__ import annotations
import omni.ui._ui
import typing
import carb._carb
import numpy
import omni.appwindow._appwindow
import omni.gpu_foundation_factory._gpu_foundation_factory
_Shape = typing.Tuple[int, ...]
__all__ = [
"AbstractField",
"AbstractItem",
"AbstractItemDelegate",
"AbstractIt... |
omniverse-code/kit/exts/omni.ui/omni/ui/__init__.py | ## Copyright (c) 2018-2019, 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.ui/omni/ui/workspace_utils.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.ui/omni/ui/url_utils.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.ui/omni/ui/color_utils.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.ui/omni/ui/constant_utils.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.ui/omni/ui/style_utils.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.ui/omni/ui/singleton.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.ui/omni/ui/tests/test_overflow.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.ui/omni/ui/tests/test_no_gpu.py | ## Copyright (c) 2018-2019, 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.ui/omni/ui/tests/test_tooltip.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.ui/omni/ui/tests/test_separator.py | ## Copyright (c) 2018-2019, 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.ui/omni/ui/tests/test_menu.py | ## Copyright (c) 2018-2019, 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.ui/omni/ui/tests/test_namespace.py | ## Copyright (c) 2018-2019, 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.ui/omni/ui/tests/test_rectangle.py | ## Copyright (c) 2018-2019, 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.ui/omni/ui/tests/test_canvasframe.py | ## Copyright (c) 2018-2019, 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.ui/omni/ui/tests/test_field.py | ## Copyright (c) 2018-2019, 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.ui/omni/ui/tests/test_slider.py | ## Copyright (c) 2018-2019, 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.ui/omni/ui/tests/test_shapes.py | ## Copyright (c) 2018-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 softw... |
omniverse-code/kit/exts/omni.ui/omni/ui/tests/test_frame.py | ## Copyright (c) 2018-2019, 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.ui/omni/ui/tests/test_abuse.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.ui/omni/ui/tests/test_style.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.ui/omni/ui/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 softw... |
omniverse-code/kit/exts/omni.ui/omni/ui/tests/test_scrollingframe.py | ## Copyright (c) 2018-2019, 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.ui/omni/ui/tests/test_treeview.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 softw... |
omniverse-code/kit/exts/omni.ui/omni/ui/tests/test_combobox.py | ## Copyright (c) 2018-2019, 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.ui/omni/ui/tests/test_compare_utils.py | import os
from pathlib import Path
import omni.kit.test
from .compare_utils import GOLDEN_DIR, OUTPUTS_DIR, CompareMetric, compare
from .test_base import OmniUiTest
class TestCompareUtils(omni.kit.test.AsyncTestCase):
async def setUp(self):
self.test_name = "omni.ui.tests.test_compare_utils.TestCompareU... |
omniverse-code/kit/exts/omni.ui/omni/ui/tests/test_present.py | ## Copyright (c) 2018-2019, 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.ui/omni/ui/tests/test_shadows.py | ## Copyright (c) 2018-2019, 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.ui/omni/ui/tests/test_label.py | ## Copyright (c) 2018-2019, 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.ui/omni/ui/tests/test_raster.py | ## Copyright (c) 2018-2019, 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.ui/omni/ui/tests/test_placer.py | ## Copyright (c) 2018-2019, 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.ui/omni/ui/tests/test_window.py | ## Copyright (c) 2018-2019, 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.ui/omni/ui/tests/test_image.py | ## Copyright (c) 2019-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 softw... |
omniverse-code/kit/exts/omni.ui/omni/ui/tests/test_configuration.py | import glob, os
import omni.kit.test
import omni.kit.app
class ConfigurationTest(omni.kit.test.AsyncTestCase):
async def test_pyi_file_present(self):
# Check that omni.ui extension has _ui.pyi file generated
manager = omni.kit.app.get_app().get_extension_manager()
ext_id = manager.get_ena... |
omniverse-code/kit/exts/omni.ui/omni/ui/tests/test_collapsableframe.py | ## Copyright (c) 2018-2019, 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.ui/omni/ui/tests/test_grid.py | ## Copyright (c) 2018-2019, 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.ui/omni/ui/tests/test_base.py | ## Copyright (c) 2018-2019, 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.ui/omni/ui/tests/test_layout.py | ## Copyright (c) 2018-2019, 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.ui/omni/ui/tests/test_workspace.py | ## Copyright (c) 2018-2019, 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.ui/omni/ui/tests/compare_utils.py | ## Copyright (c) 2018-2019, 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.property.skel/PACKAGE-LICENSES/omni.kit.property.skel-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.skel/config/extension.toml | [package]
# Semantic Versioning is used: https://semver.org/
version = "1.0.1"
category = "Internal"
feature = true
# 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 = "Skele... |
omniverse-code/kit/exts/omni.kit.property.skel/omni/kit/property/skel/__init__.py | from .scripts import *
|
omniverse-code/kit/exts/omni.kit.property.skel/omni/kit/property/skel/scripts/skel_animation_widget.py | # Copyright (c) 2020, NVIDIA CORPORATION. All rights reserved.
#
# NVIDIA CORPORATION and its licensors retain all intellectual property
# and proprietary rights in and to this software, related documentation
# and any modifications thereto. Any use, reproduction, disclosure or
# distribution of this software and rel... |
omniverse-code/kit/exts/omni.kit.property.skel/omni/kit/property/skel/scripts/extension.py | import omni.ext
from .skel_animation_widget import SkelAnimationAttributesWidget
from .mesh_skel_binding_widget import MeshSkelBindingAttributesWidget
class SkelPropertyExtension(omni.ext.IExt):
def __init__(self):
self._skel_widget = None
def on_startup(self, ext_id):
import omni.kit.window.... |
omniverse-code/kit/exts/omni.kit.property.skel/omni/kit/property/skel/scripts/__init__.py | from .extension import *
from .command import *
|
omniverse-code/kit/exts/omni.kit.property.skel/omni/kit/property/skel/scripts/mesh_skel_binding_widget.py | # Copyright (c) 2020, NVIDIA CORPORATION. All rights reserved.
#
# NVIDIA CORPORATION and its licensors retain all intellectual property
# and proprietary rights in and to this software, related documentation
# and any modifications thereto. Any use, reproduction, disclosure or
# distribution of this software and rel... |
omniverse-code/kit/exts/omni.kit.property.skel/omni/kit/property/skel/scripts/command.py | import carb
import omni
import omni.kit.commands
from pxr import Sdf, UsdGeom, Usd, UsdSkel
from omni.kit.usd_undo import UsdLayerUndo
from typing import List
class ApplySkelBindingAPICommand(omni.kit.commands.Command):
def __init__(
self,
layer: Sdf.Layer = None,
paths: List[S... |
omniverse-code/kit/exts/omni.kit.property.skel/omni/kit/property/skel/tests/__init__.py | from .test_skel import *
|
omniverse-code/kit/exts/omni.kit.property.skel/omni/kit/property/skel/tests/test_skel.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.skel/docs/CHANGELOG.md | # Changelog
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
## [1.0.0] - 2021-05-31
### Changes
- Created
## [1.0.1] - 2022-01-18
### Changes
- Switch some API from AnimationSchema to RetargetingSchema |
omniverse-code/kit/exts/omni.kit.property.skel/docs/README.md | # omni.kit.property.skel
## Introduction
Property window extensions are for viewing and editing Usd Prim Attributes
## This extension supports editing of these Usd Types;
- UsdSkel.Root
- UsdSkel.Skeleton
- UsdSkel.SkelAnimation
- UsdSkel.BlendShape
### and supports editing of these Usd APIs;
- UsdSkel.BindingAPI... |
omniverse-code/kit/exts/omni.kit.property.skel/docs/index.rst | omni.kit.property.skel
###########################
Property Skeleton Animation Values
.. toctree::
:maxdepth: 1
CHANGELOG
|
omniverse-code/kit/exts/omni.kit.viewport.docs/PACKAGE-LICENSES/omni.kit.viewport.docs-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.docs/config/extension.toml | [package]
version = "104.0.2"
authors = ["NVIDIA"]
title = "omni.kit Viewport API Documentation"
description="The documentation for the next Viewport API in Kit "
readme = "docs/README.md"
repository = ""
category = "Documentation"
keywords = ["ui", "example", "viewport", "renderer", "docs", "documentation"]
changelog... |
omniverse-code/kit/exts/omni.kit.viewport.docs/omni/kit/viewport/docs/extension.py | # Copyright (c) 2018-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 an... |
omniverse-code/kit/exts/omni.kit.viewport.docs/omni/kit/viewport/docs/__init__.py | from .extension import ViewportDocsExtension
|
omniverse-code/kit/exts/omni.kit.viewport.docs/omni/kit/viewport/docs/window.py | # Copyright (c) 2018-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 an... |
omniverse-code/kit/exts/omni.kit.viewport.docs/omni/kit/viewport/docs/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.docs/docs/camera_manipulator.md | # Camera Manipulator
Mouse interaction with the Viewport is handled with classes from `omni.kit.manipulator.camera`, which is built on top of the `omni.ui.scene` framework.
We've created an `omni.ui.scene.SceneView` to host the manipulator, and by simply assigning the camera manipulators model
into the SceneView'... |
omniverse-code/kit/exts/omni.kit.viewport.docs/docs/widget.md | # Stage Preview Widget
The `StagePreviewWidget` is comprised of a few `omni.ui` objects which are stacked on top of one-another.
So first an `omni.ui.ZStack` container is instantiated and using the `omni.ui` with syntax, the remaining objects
are created in its scope:
```python
self.__ui_container = ui.ZStack()
w... |
omniverse-code/kit/exts/omni.kit.viewport.docs/docs/CHANGELOG.md | # Changelog
Documentation for the next Viewport
## [104.0.2] - 2022-05-04
### Changed
- Imported to kit repro and bump version to match Kit SDK
## [1.0.2] - 2022-02-09
### Changed
- Updated documentation to include latest changes and Viewport capturing
## [1.0.1] - 2021-12-22
### Changed
- Add documentation for add... |
omniverse-code/kit/exts/omni.kit.viewport.docs/docs/overview.md | # Overview
Viewport Next is a preview of the next generation of Kit's Viewport. It was
designed to be as light as possible, providing a way to isolate features and
compose them as needed to create unique experiences.
This documentation will walk through a few simple examples using this technology,
as well as how it ... |
omniverse-code/kit/exts/omni.kit.viewport.docs/docs/window.md | # Stage Preview Window
In order to display the Renderer's output, we'll need to have an `omni.ui.window`
that will host our widget. We're interested in this level primarily to demonstrate the
ability to create a `ViewportWidget` that isn't tied to the application's main `UsdContext`;
rather you can provide a usd_con... |
omniverse-code/kit/exts/omni.kit.viewport.docs/docs/viewport_api.md | # Viewport API
The ViewportAPI object is used to access and control aspects of the render, who will then push images into the backing texture.
It is accessed via the `ViewportWidget.viewport_api` property which returns a Python `weakref.proxy` object.
The use of a weakref is done in order to make sure that a Renderer ... |
omniverse-code/kit/exts/omni.kit.viewport.docs/docs/capture.md | # Capture
`omni.kit.widget.viewport.capture` is the interface to a capture a Viewport's state and AOVs.
It provides a few convenient implementations that will write AOV(s) to disk or pass CPU buffers for pixel access.
## FileCapture
A simple delegate to capture a single AOV to a single file.
It can be used as is, o... |
omniverse-code/kit/exts/omni.kit.menu.create/omni/kit/menu/create/__init__.py | from .scripts import *
|
omniverse-code/kit/exts/omni.kit.menu.create/omni/kit/menu/create/scripts/create_actions.py | import omni.usd
import omni.kit.actions.core
from pxr import Usd, UsdGeom, UsdLux, OmniAudioSchema
def get_action_name(name):
return name.lower().replace('-', '_').replace(' ', '_')
def get_geometry_standard_prim_list(usd_context=None):
if not usd_context:
usd_context = omni.usd.get_context()
... |
omniverse-code/kit/exts/omni.kit.menu.create/omni/kit/menu/create/scripts/__init__.py | from .create import *
|
omniverse-code/kit/exts/omni.kit.menu.create/omni/kit/menu/create/scripts/create.py | import os
import functools
import carb.input
import omni.ext
import omni.kit.ui
import omni.kit.menu.utils
from functools import partial
from omni.kit.menu.utils import MenuItemDescription, MenuItemOrder
from .create_actions import register_actions, deregister_actions, get_action_name, get_geometry_standard_prim_list, ... |
omniverse-code/kit/exts/omni.kit.menu.create/omni/kit/menu/create/tests/test_func_create_prims.py | import asyncio
import os
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.test_suite.helpers import get_test_data_path, wait_stage_loading, get_prims, select_prims, wait_for_window
from omni.kit.material.library.t... |
omniverse-code/kit/exts/omni.kit.menu.create/omni/kit/menu/create/tests/__init__.py | from .create_tests import *
from .test_enable_menu import *
|
omniverse-code/kit/exts/omni.kit.menu.create/omni/kit/menu/create/tests/create_tests.py | import sys
import re
import asyncio
import unittest
import carb
import omni.kit.test
from .test_func_create_prims import *
class TestMenuCreate(omni.kit.test.AsyncTestCase):
async def setUp(self):
pass
async def tearDown(self):
pass
async def test_create_menus(self):
import omni.... |
omniverse-code/kit/exts/omni.kit.menu.create/omni/kit/menu/create/tests/test_enable_menu.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 a... |
omniverse-code/kit/exts/omni.kit.window.file_exporter/PACKAGE-LICENSES/omni.kit.window.file_exporter-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_exporter/scripts/demo_file_exporter.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_exporter/config/extension.toml | [package]
title = "File Exporter"
version = "1.0.10"
category = "core"
feature = true
description = "A dialog for exporting files"
authors = ["NVIDIA"]
slackids = ["UQY4RMR3N"]
repository = ""
keywords = ["kit", "ui"]
readme = "docs/README.md"
changelog = "docs/CHANGELOG.md"
preview_image = "data/preview.png"
icon = "... |
omniverse-code/kit/exts/omni.kit.window.file_exporter/omni/kit/window/file_exporter/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.window.file_exporter/omni/kit/window/file_exporter/__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.file_exporter/omni/kit/window/file_exporter/test_helper.py | ## Copyright (c) 2021, NVIDIA CORPORATION. All rights reserved.
##
## NVIDIA CORPORATION and its licensors retain all intellectual property
## and proprietary rights in and to this software, related documentation
## and any modifications thereto. Any use, reproduction, disclosure or
## distribution of this software a... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.