rfm2  22.0
A python-based rewrite of RenderMan for Maya
 All Classes Namespaces Files Functions Variables Pages
rfm2.constants Namespace Reference

Variables

dictionary PLUGIN_EXTENSIONS = {'Linux': '.so', 'Windows': '.mll', 'Darwin': '.bundle'}
 
string W_DEFAULT = 'default'
 
string W_MAPPER = 'mapper'
 
string W_BOOLEAN = 'boolean'
 
string W_CHECKBOX = 'checkBox'
 
string W_FILEINPUT = 'fileInput'
 
string W_ASSETIDINPUT = 'assetIdInput'
 
string W_ASSETIDOUTPUT = 'assetIdOutput'
 
string W_POPUP = 'popup'
 
string W_SCENEGRAPHLOCATION = 'scenegraphLocation'
 
string W_TEXT = 'text'
 
string W_SCRIPTBUTTON = 'scriptButton'
 
string W_SCRIPTEDITOR = 'scriptEditor'
 
string W_NODEEDITOR = 'nodeEditor'
 
string W_AOVEDITOR = 'aovEditor'
 
string W_OSLEDITOR = 'oslEditor'
 
string W_ABCMANIFEST = 'abcManifest'
 
string W_USERATTRIBUTES = 'userAttributes'
 
string W_NULL = 'null'
 
string W_MAYALINK = 'mayaLink'
 
string W_MAYATIME = 'mayaTime'
 
string W_VERSION = 'version'
 
string PYFUNC = '_pyfunc_'
 
list IMG_EXTS
 
list TX_EXTS = ['tex', 'tx', 'txr']
 
string OS_MAC = 'Darwin'
 
string OS_WIN = 'Windows'
 
string OS_LINUX = 'Linux'
 
dictionary ATYPE
 
dictionary UATTR_WIDGETS
 
string UATTR_CATEGORY = 'rmanUserAttr'
 
dictionary P_DEFAULT
 
tuple COLOR_EXT = list('RGB')
 
tuple FLOAT3_EXT = list('XYZ')
 
list FLOAT3_TYPES = ['color', 'point', 'vector', 'normal']
 
tuple MAYA_FIELD_BG_COL = (0.165, 0.165, 0.165)
 
tuple MAYA_LYT_BG_COL = (0.286, 0.286, 0.286)
 
tuple MAYA_LYT_DARKER_BG_COL = (0.24, 0.24, 0.24)
 
tuple MAYA_CTL_COL = (0.364, 0.364, 0.364)
 

Detailed Description

Constants used throughout rfm2.

Variable Documentation

dictionary rfm2.constants.ATYPE
Initial value:
1 = {'float':'F', 'color':'C', 'vector':'V', 'normal':'N', 'point':'P',
2  'hpoint':'H', 'matrix':'M', 'string':'S', 'int':'I'}
tuple rfm2.constants.COLOR_EXT = list('RGB')
tuple rfm2.constants.FLOAT3_EXT = list('XYZ')
list rfm2.constants.FLOAT3_TYPES = ['color', 'point', 'vector', 'normal']
list rfm2.constants.IMG_EXTS
Initial value:
1 = ['tif', 'exr', 'jpg', 'sgi', 'tga', 'iff', 'dpx', 'bmp', 'hdr',
2  'png', 'gif', 'ppm', 'xpm', 'z']
tuple rfm2.constants.MAYA_CTL_COL = (0.364, 0.364, 0.364)
tuple rfm2.constants.MAYA_FIELD_BG_COL = (0.165, 0.165, 0.165)
tuple rfm2.constants.MAYA_LYT_BG_COL = (0.286, 0.286, 0.286)
tuple rfm2.constants.MAYA_LYT_DARKER_BG_COL = (0.24, 0.24, 0.24)
string rfm2.constants.OS_LINUX = 'Linux'
string rfm2.constants.OS_MAC = 'Darwin'
string rfm2.constants.OS_WIN = 'Windows'
dictionary rfm2.constants.P_DEFAULT
Initial value:
1 = {
2  'float': 0.0,
3  'float2': (0.0, 0.0),
4  'float3': (0.0, 0.0, 0.0),
5  'int': 0,
6  'int2': (0, 0),
7  'color': (0.0, 0.0, 0.0),
8  'point': (0.0, 0.0, 0.0),
9  'hpoint': (0.0, 0.0, 0.0),
10  'vector': (0.0, 0.0, 0.0),
11  'normal': (0.0, 0.0, 0.0),
12  'string': '',
13  'matrix': (1.0, 0.0, 0.0, 0.0,
14  0.0, 1.0, 0.0, 0.0,
15  0.0, 0.0, 1.0, 0.0,
16  0.0, 0.0, 0.0, 1.0),
17  'message': None
18 }
dictionary rfm2.constants.PLUGIN_EXTENSIONS = {'Linux': '.so', 'Windows': '.mll', 'Darwin': '.bundle'}
string rfm2.constants.PYFUNC = '_pyfunc_'
list rfm2.constants.TX_EXTS = ['tex', 'tx', 'txr']
string rfm2.constants.UATTR_CATEGORY = 'rmanUserAttr'
dictionary rfm2.constants.UATTR_WIDGETS
Initial value:
1 = {'float': [W_DEFAULT, W_MAPPER, W_MAYATIME],
2  'color': [W_DEFAULT, W_MAYALINK],
3  'vector': [W_DEFAULT],
4  'normal': [W_DEFAULT],
5  'point': [W_DEFAULT],
6  'hpoint': [W_DEFAULT],
7  'matrix':[W_DEFAULT],
8  'string': [W_DEFAULT, W_FILEINPUT, W_POPUP, W_TEXT],
9  'int': [W_DEFAULT, W_BOOLEAN, W_CHECKBOX, W_MAPPER, W_VERSION]}
string rfm2.constants.W_ABCMANIFEST = 'abcManifest'
string rfm2.constants.W_AOVEDITOR = 'aovEditor'
string rfm2.constants.W_ASSETIDINPUT = 'assetIdInput'
string rfm2.constants.W_ASSETIDOUTPUT = 'assetIdOutput'
string rfm2.constants.W_BOOLEAN = 'boolean'
string rfm2.constants.W_CHECKBOX = 'checkBox'
string rfm2.constants.W_DEFAULT = 'default'
string rfm2.constants.W_FILEINPUT = 'fileInput'
string rfm2.constants.W_MAPPER = 'mapper'
string rfm2.constants.W_MAYALINK = 'mayaLink'
string rfm2.constants.W_MAYATIME = 'mayaTime'
string rfm2.constants.W_NODEEDITOR = 'nodeEditor'
string rfm2.constants.W_NULL = 'null'
string rfm2.constants.W_OSLEDITOR = 'oslEditor'
string rfm2.constants.W_POPUP = 'popup'
string rfm2.constants.W_SCENEGRAPHLOCATION = 'scenegraphLocation'
string rfm2.constants.W_SCRIPTBUTTON = 'scriptButton'
string rfm2.constants.W_SCRIPTEDITOR = 'scriptEditor'
string rfm2.constants.W_TEXT = 'text'
string rfm2.constants.W_USERATTRIBUTES = 'userAttributes'
string rfm2.constants.W_VERSION = 'version'