file_path stringlengths 32 153 | content stringlengths 0 3.14M |
|---|---|
omniverse-code/kit/exts/omni.kit.window.file/omni/kit/window/file/scripts/file_window.py | """USD File interaction for Omniverse Kit.
:mod:`omni.kit.window.file` provides util functions to new/open/save/close USD files. It handles file picking dialog and prompt for unsaved stage.
"""
import os
import time
import traceback
import asyncio
from typing import Awaitable, Callable, List
import carb
import omni.e... |
omniverse-code/kit/exts/omni.kit.window.file/omni/kit/window/file/scripts/app_ui.py | """USD File interaction for Omniverse Kit.
:mod:`omni.kit.window.file` provides util functions to new/open/save/close USD files. It handles file picking dialog and prompt
for unsaved stage.
"""
import os
import carb.settings
import omni.ui as ui
import omni.kit.ui
from enum import Enum
from typing import List, Callab... |
omniverse-code/kit/exts/omni.kit.window.file/omni/kit/window/file/scripts/read_only_options_window.py | import carb
import omni.usd
import omni.ui as ui
from pathlib import Path
CURRENT_PATH = Path(__file__).parent.absolute()
ICON_PATH = CURRENT_PATH.parent.parent.parent.parent.parent.joinpath("icons")
class ReadOnlyOptionsWindow:
def __init__(self, open_with_new_edit_fn, open_original_fn, modal=False):
... |
omniverse-code/kit/exts/omni.kit.window.file/omni/kit/window/file/tests/test_stop_animation.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.window.file/omni/kit/window/file/tests/test_file_save.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.file/omni/kit/window/file/tests/test_file_window.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.file/omni/kit/window/file/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.window.file/omni/kit/window/file/tests/test_file_new.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.file/omni/kit/window/file/tests/test_loadstage.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.window.file/omni/kit/window/file/tests/test_prompt_unsaved.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.file/omni/kit/window/file/tests/test_base.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.file/omni/kit/window/file/tests/test_file_open.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.file/docs/CHANGELOG.md | # Changelog
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
## [1.3.32] - 2023-01-13
## Changed
- Remove render settings save as it's driven by events already.
## [1.3.31] - 2023-01-04
## Changed
- skipping test_file_open_with_new_edit_layer_overwrites_existing_file which crashes whe... |
omniverse-code/kit/exts/omni.kit.window.file/docs/index.rst | omni.kit.window.file
###########################
Provides utility functions to new/open/save/close USD files
.. toctree::
:maxdepth: 1
CHANGELOG
.. automodule:: omni.kit.window.file
:platform: Windows-x86_64, Linux-x86_64, Linux-aarch64
:members:
:undoc-members:
:imported-members:
:exclu... |
omniverse-code/kit/exts/omni.kit.window.file/data/tests/4Lights.usda | #usda 1.0
(
customLayerData = {
dictionary cameraSettings = {
dictionary Front = {
double3 position = (0, 0, 50000)
double radius = 500
}
dictionary Perspective = {
double3 position = (641.3717781423547, 641.3717781423395, 6... |
omniverse-code/kit/exts/omni.kit.window.file/data/tests/physics_animation.usda | #usda 1.0
(
customLayerData = {
dictionary cameraSettings = {
dictionary Front = {
double3 position = (50750.000000000015, -1.1268763699945339e-11, 0)
double radius = 500
}
dictionary Perspective = {
double3 position = (2384... |
omniverse-code/kit/exts/omni.kit.window.file/data/tests/test_file.usda | #usda 1.0
(
customLayerData = {
dictionary cameraSettings = {
dictionary Front = {
double radius = 500
double3 target = (0, 0, 0)
}
dictionary Perspective = {
double3 position = (500, 500, 499.99999999999983)
... |
omniverse-code/kit/exts/omni.hydra.engine.stats/omni/hydra/engine/stats/__init__.py | from ._stats import *
|
omniverse-code/kit/exts/omni.hydra.engine.stats/omni/hydra/engine/stats/tests/test_bindings.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.hydra.engine.stats/omni/hydra/engine/stats/tests/__init__.py | from .test_bindings import *
|
omniverse-code/kit/exts/omni.kit.debug.vscode/PACKAGE-LICENSES/omni.kit.debug.vscode-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.debug.vscode/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 Debug VSCode"
description = "VSCode py... |
omniverse-code/kit/exts/omni.kit.debug.vscode/omni/kit/debug/vscode_debugger.py | import omni.ext
import omni.kit.commands
import omni.kit.ui
import omni.kit.debug.python
EXTENSION_NAME = "VS Code Link"
class DebugBreak(omni.kit.commands.Command):
def do(self):
omni.kit.debug.python.breakpoint()
def toColor01(color):
return tuple(c / 255.0 for c in color) + (1,)
class Exten... |
omniverse-code/kit/exts/omni.kit.debug.vscode/docs/CHANGELOG.md | # CHANGELOG
## [0.1.0] - 2020-01-14
- Split from omni.kit.debug.utils
|
omniverse-code/kit/exts/omni.kit.debug.vscode/docs/README.md | # Debug Utils
## omni.kit.debug.vscode_debugger
VSCode python debugger support window. |
omniverse-code/kit/exts/omni.kit.debug.vscode/docs/index.rst | omni.kit.debug.vscode
###########################
.. toctree::
:maxdepth: 1
CHANGELOG
|
omniverse-code/kit/exts/omni.kit.property.tagging/omni/kit/property/tagging/__init__.py | from .scripts import *
|
omniverse-code/kit/exts/omni.kit.property.tagging/omni/kit/property/tagging/scripts/tagging_attributes_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.tagging/omni/kit/property/tagging/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.property.tagging/omni/kit/property/tagging/scripts/tagging_commands.py | import omni.kit.commands
import omni.kit.tagging
import omni.client
class AddTagCommand(omni.kit.commands.Command):
"""
Add a tag to an asset **Command**.
Fails if we are not connected to the tagging server.
Args:
asset_path (str): Path to the asset. Should start with omniverse: or it will ju... |
omniverse-code/kit/exts/omni.kit.property.tagging/omni/kit/property/tagging/scripts/__init__.py | from .tagging_properties import *
from .tagging_commands import *
|
omniverse-code/kit/exts/omni.kit.property.tagging/omni/kit/property/tagging/scripts/tagging_properties.py | import os
import carb
import omni.ext
from pxr import Sdf, UsdShade
from pathlib import Path
from .style import UI_STYLES
class TaggingPropertyExtension(omni.ext.IExt):
def __init__(self):
self._registered = False
self._icon_path = ""
super().__init__()
def on_startup(self, ext_id):
... |
omniverse-code/kit/exts/omni.kit.property.tagging/omni/kit/property/tagging/tests/test_tagging.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.tagging/omni/kit/property/tagging/tests/__init__.py | from .test_tagging import *
|
omniverse-code/kit/exts/omni.kit.property.tagging/docs/index.rst | omni.kit.property.tagging
###########################
Property Tagging Values
.. toctree::
:maxdepth: 1
CHANGELOG
|
omniverse-code/kit/exts/omni.example.ui/PACKAGE-LICENSES/omni.example.ui-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.example.ui/config/extension.toml | [package]
# Semantic Versioning is used: https://semver.org/
version = "1.2.3"
# 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 = "Omni UI Documentation"
description="Example... |
omniverse-code/kit/exts/omni.example.ui/omni/example/ui/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.example.ui/omni/example/ui/__init__.py | # NOTE: all imported classes must have different class names
from .extension import *
|
omniverse-code/kit/exts/omni.example.ui/omni/example/ui/scripts/ui_doc.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.example.ui/omni/example/ui/scripts/workspace_doc.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.example.ui/omni/example/ui/scripts/menu_bar_doc.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.example.ui/omni/example/ui/scripts/checkbox_doc.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.example.ui/omni/example/ui/scripts/combobox_doc.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.example.ui/omni/example/ui/scripts/slider_doc.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.example.ui/omni/example/ui/scripts/length_doc.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.example.ui/omni/example/ui/scripts/shape_doc.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.example.ui/omni/example/ui/scripts/scrolling_frame_doc.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.example.ui/omni/example/ui/scripts/treeview_doc.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.example.ui/omni/example/ui/scripts/dnd_doc.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.example.ui/omni/example/ui/scripts/web_doc.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.example.ui/omni/example/ui/scripts/attribute_editor_demo.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.example.ui/omni/example/ui/scripts/progressbar_doc.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.example.ui/omni/example/ui/scripts/menu_doc.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.example.ui/omni/example/ui/scripts/md_doc.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.example.ui/omni/example/ui/scripts/abstract_model_doc.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.example.ui/omni/example/ui/scripts/field_doc.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.example.ui/omni/example/ui/scripts/multifield_doc.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.example.ui/omni/example/ui/scripts/colorwidget_doc.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.example.ui/omni/example/ui/scripts/widget_doc.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.example.ui/omni/example/ui/scripts/plot_doc.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.example.ui/omni/example/ui/scripts/styling_doc.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.example.ui/omni/example/ui/scripts/custom_window_example.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.example.ui/omni/example/ui/scripts/window_doc.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.example.ui/omni/example/ui/scripts/image_doc.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.example.ui/omni/example/ui/scripts/layout_doc.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.example.ui/omni/example/ui/scripts/canvas_frame_doc.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.example.ui/omni/example/ui/scripts/doc_page.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.example.ui/omni/example/ui/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.example.ui/omni/example/ui/tests/example_ui_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.example.ui/docs/treeview.md | # TreeView
## Selection
## Drag-and-drop
|
omniverse-code/kit/exts/omni.example.ui/docs/model.md | # Model
The central component of the TreeView widget. It is the application's dynamic
data structure, independent of the user interface, and it directly manages the
nested data. It follows the Model-Dlegate-View pattern closely. It's abstract,
and it defines the standard interface to be able to interoperate with the
c... |
omniverse-code/kit/exts/omni.example.ui/docs/CHANGELOG.md | # Changelog
The documentation for omni.example.ui
## [1.2.3] - 2023-01-27
### Fixed
- Fixed config. Removed "omni.example.ui.tests"
## [1.2.2] - 2022-10-18
### Added
- A note about color syntax
### Changed
- Old hex color syntax to new omni.ui.color syntax
## [1.2.1] - 2022-06-27
### Added
- A small note about font... |
omniverse-code/kit/exts/omni.example.ui/docs/overview.md | # Overview
MDV (Model-Delegate-View) is a pattern commonly used in `omni.ui` to implement
user interfaces with data-controlling logic. It highlights a separation between
the data and the display logic. This separation of concepts provides for better
maintenance of the code.
It closely follows the MVC pattern with a s... |
omniverse-code/kit/exts/omni.example.ui/docs/delegate.md | # Delegate
Delegate is the representation layer. Delegate is called by the view to create a
specific piece of the user interface. TreeView calls the delegate to create the
widgets for the header and per item in the column.
To
## Item

Each row in TreeView is the representation o... |
omniverse-code/kit/exts/omni.kit.window.commands/PACKAGE-LICENSES/omni.kit.window.commands-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.commands/config/extension.toml | [package]
version = "0.2.4"
category = "Core"
authors = ["NVIDIA"]
title = "Commands Utils"
description="Commands history viewer, commands execution script generator and registered commands viewer"
repository = ""
keywords = ["kit", "commands"]
changelog = "docs/CHANGELOG.md"
[dependencies]
"omni.kit.clipboard" = {}
"... |
omniverse-code/kit/exts/omni.kit.window.commands/omni/kit/window/commands/main.py | from collections import defaultdict
from inspect import isclass
from functools import partial
import omni.kit.commands
import omni.kit.undo
from omni import ui
from .history import HistoryModel, HistoryDelegate, MainItem
from .search import SearchModel, SearchDelegate, CommandItem, Columns
class Window:
def __ini... |
omniverse-code/kit/exts/omni.kit.window.commands/omni/kit/window/commands/search.py | import inspect
from pathlib import Path
import carb.settings
import omni.ext
import omni.kit.app
from omni import ui
class SearchModel(ui.AbstractItemModel):
"""
Represents the list of commands registered in Kit.
It is used to make a single level tree appear like a simple list.
"""
def __init__(... |
omniverse-code/kit/exts/omni.kit.window.commands/omni/kit/window/commands/extension.py | import carb.settings
import omni.ext
import omni.kit.ui
from .main import Window
EXTENSION_NAME = "Commands"
class Extension(omni.ext.IExt):
def on_startup(self):
self._menu_path = f"Window/{EXTENSION_NAME}"
self._window = None
open_by_default = carb.settings.get_settings().get("exts/omni... |
omniverse-code/kit/exts/omni.kit.window.commands/omni/kit/window/commands/history.py | from pathlib import Path
import carb.settings
from omni import ui
import omni.kit.undo
class HistoryData:
def __init__(self):
self._data = omni.kit.undo.get_history()
if len(self._data):
self._curr = next(iter(self._data))
self._last = next(reversed(self._data))
els... |
omniverse-code/kit/exts/omni.kit.window.commands/omni/kit/window/commands/__init__.py | from .extension import *
|
omniverse-code/kit/exts/omni.kit.window.commands/omni/kit/window/commands/tests/__init__.py | from .test_extension import *
|
omniverse-code/kit/exts/omni.kit.window.commands/omni/kit/window/commands/tests/test_extension.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.commands/docs/CHANGELOG.md | # Changelog
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
## [0.2.4] - 2022-11-17
### Changes
- Switched out pyperclip for linux-friendly copy & paste
## [0.2.3] - 2022-09-22
### Fixes
- Make test pass again by allowing more time for SVG load.
## [0.2.2] - 2022-06-07
### Fixes
- G... |
omniverse-code/kit/exts/omni.kit.window.commands/docs/index.rst | omni.kit.window.commands
###########################
* Commands history view.
* Script generator for the execution of top-level or selected commands.
* Full-text search in names of all currently registered commands.
.. toctree::
:maxdepth: 1
CHANGELOG |
omniverse-code/kit/exts/omni.kit.renderer.capture/omni/renderer_capture/__init__.py | from omni.kit.renderer_capture import *
|
omniverse-code/kit/exts/omni.kit.renderer.capture/omni/kit/renderer/capture/__init__.py | from .scripts.extension import *
|
omniverse-code/kit/exts/omni.kit.renderer.capture/omni/kit/renderer/capture/scripts/extension.py | import carb.settings
import omni.ext
import omni.kit.renderer_capture
class Extension(omni.ext.IExt):
def __init__(self):
omni.ext.IExt.__init__(self)
pass
def on_startup(self):
self._settings = carb.settings.get_settings()
self._settings.set_default_bool("/exts/omni.kit.rend... |
omniverse-code/kit/exts/omni.kit.renderer.capture/omni/kit/renderer/capture/tests/__init__.py | from .test_renderer_capture import *
|
omniverse-code/kit/exts/omni.kit.renderer.capture/omni/kit/renderer/capture/tests/test_renderer_capture.py | import os
import sys
import inspect
import pathlib
import importlib
import carb
import carb.dictionary
import carb.settings
import carb.tokens
import omni.appwindow
import omni.kit.app
import omni.kit.test
import omni.kit.renderer.bind
import omni.kit.renderer_capture
import omni.kit.renderer_capture_test
OUTPUTS_DI... |
omniverse-code/kit/exts/omni.kit.renderer.capture/omni/kit/renderer_capture_test/__init__.py | import functools
from ._renderer_capture_test import *
# Cached interface instance pointer
@functools.lru_cache()
def get_renderer_capture_test_interface() -> IRendererCaptureTest:
if not hasattr(get_renderer_capture_test_interface, "renderer_capture_test"):
get_renderer_capture_test_interface.renderer_ca... |
omniverse-code/kit/exts/omni.kit.renderer.capture/omni/kit/renderer_capture/_renderer_capture.pyi | from __future__ import annotations
import omni.kit.renderer_capture._renderer_capture
import typing
import omni.appwindow._appwindow
import omni.gpu_foundation_factory._gpu_foundation_factory
__all__ = [
"IRendererCapture",
"Metadata",
"acquire_renderer_capture_interface",
"convert_raw_bytes_to_list",
... |
omniverse-code/kit/exts/omni.kit.renderer.capture/omni/kit/renderer_capture/__init__.py | from ._renderer_capture import *
|
omniverse-code/kit/exts/omni.syntheticdata/ogn/docs/OgnSdTextureToLinearArray.rst | .. _omni_syntheticdata_SdTextureToLinearArray_1:
.. _omni_syntheticdata_SdTextureToLinearArray:
.. ================================================================================
.. THIS PAGE IS AUTO-GENERATED. DO NOT MANUALLY EDIT.
.. ================================================================================
... |
omniverse-code/kit/exts/omni.syntheticdata/ogn/docs/OgnSdLinearArrayToTexture.rst | .. _omni_syntheticdata_SdLinearArrayToTexture_1:
.. _omni_syntheticdata_SdLinearArrayToTexture:
.. ================================================================================
.. THIS PAGE IS AUTO-GENERATED. DO NOT MANUALLY EDIT.
.. ================================================================================
... |
omniverse-code/kit/exts/omni.syntheticdata/ogn/docs/OgnSdSemanticFilter.rst | .. _omni_syntheticdata_SdSemanticFilter_1:
.. _omni_syntheticdata_SdSemanticFilter:
.. ================================================================================
.. THIS PAGE IS AUTO-GENERATED. DO NOT MANUALLY EDIT.
.. ================================================================================
:orphan:
.... |
omniverse-code/kit/exts/omni.syntheticdata/ogn/docs/OgnSdTestStageSynchronization.rst | .. _omni_syntheticdata_SdTestStageSynchronization_1:
.. _omni_syntheticdata_SdTestStageSynchronization:
.. ================================================================================
.. THIS PAGE IS AUTO-GENERATED. DO NOT MANUALLY EDIT.
.. =========================================================================... |
omniverse-code/kit/exts/omni.syntheticdata/ogn/docs/OgnSdTestInstanceMapping.rst | .. _omni_syntheticdata_SdTestInstanceMapping_1:
.. _omni_syntheticdata_SdTestInstanceMapping:
.. ================================================================================
.. THIS PAGE IS AUTO-GENERATED. DO NOT MANUALLY EDIT.
.. ================================================================================
:... |
omniverse-code/kit/exts/omni.syntheticdata/ogn/docs/OgnSdPostSemanticBoundingBox.rst | .. _omni_syntheticdata_SdPostSemanticBoundingBox_1:
.. _omni_syntheticdata_SdPostSemanticBoundingBox:
.. ================================================================================
.. THIS PAGE IS AUTO-GENERATED. DO NOT MANUALLY EDIT.
.. ===========================================================================... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.