-
Notifications
You must be signed in to change notification settings - Fork 0
/
constants.py
171 lines (124 loc) · 3.47 KB
/
constants.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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
##
# \namespace cross3d.constants
#
# \remarks This package defines all the constant Enum types that will be used throughout the blur3d package
#
# \author eric
# \author Blur Studio
# \date 03/15/10
#
from enum import Enum
# A
AnimationType = Enum('FCurve', 'StaticFCurve', 'Expression', 'Transforms', 'Position', 'Rotation', 'Scale', 'Layer')
# B
# C
CameraType = Enum('Standard', 'VRayPhysical', 'Physical')
CacheType = Enum('Point_Cache', 'Transform_Cache', 'XmeshLoader')
CloneType = Enum('Copy', 'Instance', 'Reference')
ControllerType = Enum('BezierFloat', 'LinearFloat', 'ScriptFloat', 'AlembicFloat')
# D
class _DebugLevel(Enum): pass
class DebugLevels(EnumGroup):
Disabled = _DebugLevel(0)
Low = _DebugLevel()
Mid = _DebugLevel()
High = _DebugLevel()
DepartmentGroup = Enum('All', 'Simulation', 'PostPerformance', 'Performance', 'Rendering')
# E
ExtrapolationType = Enum('Constant', 'Linear', 'Cycled', 'CycledWithOffset', 'PingPong')
class EnvironmentType(Enum): pass
class EnvironmentTypes(EnumGroup):
Unknown = EnvironmentType()
Atmospheric = EnvironmentType()
Effect = EnvironmentType()
# F
FPSChangeType = Enum('Frames', 'Seconds')
FPSContext = Enum('Project', 'Sequence', 'Shot')
FPSChangeType.setDescription(FPSChangeType.Frames, 'Timings fixed on frames, animation curves scaled to compensate.')
FPSChangeType.setDescription(FPSChangeType.Seconds, 'Timings fixed on seconds, animation key values in frame will change.')
# G
# H
# I
IODirection = Enum('Input', 'Output', InAndOut=3)
# J
# K
TangentType = Enum('Automatic', 'Bezier', 'Linear', 'Stepped')
# L
# M
MaterialType = Enum('Generic', 'VRay')
MaterialCacheType = Enum('BaseMaterial', 'MaterialOverrideList')
MaterialOverrideOptions = Enum('KeepOpacity', 'KeepDisplacement', 'KeepBump', All=3)
MapCacheType = Enum('EnvironmentMap')
MapType = Enum('Generic', 'VRay')
MaterialPropertyMap = Enum(outColor='diffuse')
# N
NotifyType = Enum('Email', 'Jabber')
# O
ObjectType = Enum(
'Generic',
'Geometry',
'Light',
'Camera',
'Model',
'Group',
'Bone',
'Particle',
'FumeFX',
'Curve',
'PolyMesh',
'NurbsSurface',
'Thinking',
'XMeshLoader',
'CameraInterest',
'Null'
)
# P
class PointerType(Enum): pass
class PointerTypes(EnumGroup):
Shape = PointerType()
Transform = PointerType()
Pointer = PointerType()
ProxyType = Enum('Disabled', 'Lossy', 'Lossless')
PaddingStyle = Enum('Blank', 'Number', 'Pound', 'Percent', 'Wildcard')
# Q
# R
RendererType = Enum('Scanline', 'VRay', 'MentalRay', 'Quicksilver')
RotationOrder = Enum('XYZ', 'YZX', 'ZXY', 'XZY', 'YXZ', 'ZYX')
class RigMake(Enum):
pass
class RigMakes(EnumGroup):
Biped = RigMake()
HumanIK = RigMake()
CAT = RigMake()
MadCar = RigMake()
Harbie = RigMake()
Gear = RigMake()
BradNoble = RigMake()
# S
ScriptLanguage = Enum('Python', 'MAXScript', 'JavaScript', 'VisualBasic', 'MEL')
SubmitType = Enum('Render', 'Script', 'Batch')
SubmitFlags = Enum('WriteInfoFile', 'DeleteOldFrames', 'VisibleToRenderable', 'RemoteSubmit', 'DeleteHiddenGeometry', 'CreateProxyJob', Default=1)
Source = Enum('Remote', 'Local')
# T
TimeUnit = Enum('Frames', 'Seconds', 'Milliseconds', 'Ticks')
# U
UpVector = Enum('Y', 'Z')
# V
VideoCodec = Enum('PhotoJPEG', 'H264', 'GIF')
Viewports = Enum('Current', 'One', 'Two', 'Three', 'Four')
VisibilityToggleOptions = Enum(
'ToggleLights',
'ToggleFX',
'ToggleAtmospherics',
'TogglePointCaches',
'ToggleTransformCaches',
'ToggleXMeshes',
'ToggleFrost',
'ToggleVRayStereoscopics',
'ToggleAlembic',
All=511
)
# W
# X
# Y
# Z