movimento / kimodo /assets.py
Kimodo Bot
Add core kimodo package modules required by native demo
6d5047c
# SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
from pathlib import Path
PACKAGE_ROOT = Path(__file__).resolve().parent
ASSETS_ROOT = PACKAGE_ROOT / "assets"
DEMO_ASSETS_ROOT = ASSETS_ROOT / "demo"
DEMO_EXAMPLES_ROOT = DEMO_ASSETS_ROOT / "examples"
SKELETONS_ROOT = ASSETS_ROOT / "skeletons"
SOMA_ASSETS_ROOT = ASSETS_ROOT / "SOMA"
def skeleton_asset_path(*parts: str) -> Path:
return SKELETONS_ROOT.joinpath(*parts)
def demo_asset_path(*parts: str) -> Path:
return DEMO_ASSETS_ROOT.joinpath(*parts)