Repository navigation
Expand file tree
/
Copy path__init__.py
More file actions
47 lines (34 loc) · 1.41 KB
/
Copy path__init__.py
File metadata and controls
47 lines (34 loc) · 1.41 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
"""NodeForge Blender addon package."""
NODEFORGE_VERSION = (0, 99, 0)
bl_info = {
"name": "NodeForge",
"author": "nachitima",
"version": NODEFORGE_VERSION,
"blender": (5, 2, 0),
"location": "Geometry Nodes Editor > Sidebar > NodeForge > Compile Script; Add Menu > Script > Compile Group",
"description": "Compile a Python-like DSL into Geometry Nodes node groups. Catalog library: reusable functions, bundled examples, and user-owned local DSL scripts.",
"category": "Node",
}
from .mesh_compute import mesh_compute
from .evaluation_modes import EvaluationMode
from .extension_semantic_api import RuntimeRef
from .extension_result_api import DynamicResults
from .extension_annotations import (
Bool, Bundle, Color, Float, Geometry, Int, Material, Object, Rotation, String, Vector,
)
def register():
"""Register the NodeForge Blender add-on.
The UI module imports bpy, so import it lazily to keep pure NodeForge
submodules importable under ordinary CPython.
"""
from .ui import register as _register
return _register()
def unregister():
"""Unregister the NodeForge Blender add-on."""
from .ui import unregister as _unregister
return _unregister()
__all__ = [
"bl_info", "register", "unregister", "mesh_compute", "EvaluationMode", "RuntimeRef",
"Float", "Int", "Bool", "Vector", "Geometry", "Material",
"Object", "String", "Bundle", "Rotation", "Color",
]