-
Notifications
You must be signed in to change notification settings - Fork 6
/
__init__.py
32 lines (29 loc) · 945 Bytes
/
__init__.py
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
import bpy
from .operators.polyhedral_splines import PolyhedralSplines
from .operators.highlighter import Highlighter
from .operators.main_ui import MainUI
from .operators.ui_helper import ToggleFaces, ToggleSurfPatchCollection
from .operators.ui_color import COLOR_OT_TemplateOperator
from .operators.moments import Moments
from .operators.subdivide_mesh import SubdivideMesh
from .operators.ui_exporter import IGSExporter
bl_info = {
"name": "polyhedral_splines",
"description": "An interactive spline generation addon",
"version": (1, 0, 0),
"blender": (2, 80, 2),
"category": "Modeling"
}
classes = (
PolyhedralSplines,
Highlighter,
ToggleFaces,
ToggleSurfPatchCollection,
MainUI,
COLOR_OT_TemplateOperator,
IGSExporter,
Moments,
SubdivideMesh
)
register, unregister = bpy.utils.register_classes_factory(classes)
bpy.types.TOPBAR_MT_file_export.append(IGSExporter.menu_func_export)