-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathvicho_properties.py
32 lines (29 loc) · 1.03 KB
/
vicho_properties.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
import bpy
class VichoGroup(bpy.types.PropertyGroup):
bpy.types.Scene.file_name_field = bpy.props.StringProperty(
name="File Name",
default="",
description="File name for the text file",
maxlen=50,
)
bpy.types.Scene.ymap_instance_name_field = bpy.props.StringProperty(
name="Instance Name",
default="",
description="instance name for the MLO Instance",
maxlen=50,
)
bpy.types.Scene.CopyDataFromObject = bpy.props.PointerProperty(
name="Target Object", type=bpy.types.Object
)
bpy.types.Scene.PasteDataToObject = bpy.props.PointerProperty(
name="Source Object", type=bpy.types.Object
)
bpy.types.Scene.locationOb_checkbox = bpy.props.BoolProperty(
name="Location", description="Location"
)
bpy.types.Scene.rotationOb_checkbox = bpy.props.BoolProperty(
name="Rotation", description="Rotation"
)
bpy.types.Scene.scaleOb_checkbox = bpy.props.BoolProperty(
name="Scale", description="Scale"
)