-
Notifications
You must be signed in to change notification settings - Fork 0
/
__init__.py
54 lines (36 loc) · 1.25 KB
/
__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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
import bpy, sys, os
from . Align_Between_Two import *
# from bpy_extras.io_utils import ImportHelper
# from bpy.types import Operator, Header
from bpy.props import PointerProperty
# GNU GENERAL PUBLIC LICENSE
# Version 3, 29 June 2007
# Thank you all that download, suggest, and request features
# As well as the whole Blender community. You're all epic :)
bl_info = {
"name": "Align_Between_Two",
"author": "Ivan Agibalov, Sergey Kritskiy, Andreas Håkansson, Johnathan Mueller",
"descrtion": "This script allows you to align any object along an axis between the centers of two other objects.",
"blender": (2, 80, 0),
"version": (0, 1, 2),
"location": "View3D (ObjectMode) > Sidebar > TMG > Between Two Tab",
"warning": "",
"category": "Object"
}
classes = (
# Properties
Align_Between_Two_Properties,
# Panels
ALIGN_PT_Align_Panel,
# Operators
ALIGN_OT_Align_Active_To_Selected,
)
def register():
for rsclass in classes:
bpy.utils.register_class(rsclass)
bpy.types.Scene.align_between_two_vars = bpy.props.PointerProperty(type=Align_Between_Two_Properties)
def unregister():
for rsclass in classes:
bpy.utils.unregister_class(rsclass)
if __name__ == "__main__":
register()