Add SnapForm panels, preferences, properties, and runtime management
- Implemented RuntimeModelsPanel and DebugPanel for UI integration in Blender. - Created SnapFormPreferences to manage user settings for storage and runtime configuration. - Defined SnapFormSettings to hold various properties related to input, model selection, and export options. - Developed runtime management functions for installation, model downloading, and reconstruction commands. - Added status bar functionality to display job progress and status in the Blender UI. - Implemented worker script for handling model downloads and depth reconstruction tasks. - Introduced unit tests for download progress reporting and image depth extraction functionalities.
This commit is contained in:
@@ -11,8 +11,8 @@ PROJECT_ROOT = Path(__file__).resolve().parents[1]
|
||||
|
||||
def load_bootstrap_runtime():
|
||||
specification = importlib.util.spec_from_file_location(
|
||||
"omoo_da3_bootstrap_runtime",
|
||||
PROJECT_ROOT / "src" / "omoo_da3" / "bootstrap_runtime.py",
|
||||
"snapform_bootstrap_runtime",
|
||||
PROJECT_ROOT / "src" / "snapform" / "bootstrap_runtime.py",
|
||||
)
|
||||
module = importlib.util.module_from_spec(specification)
|
||||
specification.loader.exec_module(module)
|
||||
|
||||
Reference in New Issue
Block a user