forked from Hancapo/VichoTools
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvicho_properties.py
More file actions
51 lines (45 loc) · 1.78 KB
/
Copy pathvicho_properties.py
File metadata and controls
51 lines (45 loc) · 1.78 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
48
49
50
51
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.location_checkbox = bpy.props.BoolProperty(
name="Reset Location",
description="Reset location")
bpy.types.Scene.rotation_checkbox = bpy.props.BoolProperty(
name="Reset Rotation",
description="Reset rotation")
bpy.types.Scene.scale_checkbox = bpy.props.BoolProperty(
name="Reset Scale",
description="Reset scale")
bpy.types.Scene.CopyDataFromObject = bpy.props.PointerProperty(
name="Copy Data From Object",
type=bpy.types.Object)
bpy.types.Scene.PasteDataToObject = bpy.props.PointerProperty(
name="Paste Data To 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")
bpy.types.Scene.ytd_export_path = bpy.props.StringProperty(
name="YTD Export Path",
default="",
description="Path to export the YTD file",
subtype='DIR_PATH'
)
bpy.types.Scene.convert_to_ytd = bpy.props.BoolProperty(
name="Convert Folder(s) to YTD(s)",
description="Convert Folder(s) to YTD(s)")