예제 #1
0
def faceRigPubInfo(char, vidx=-1):
    """
	Return publish information for a character face rig
	@param char: Character to import
	@type char: str
	@param vidx: Version Id to import. Defualt value (-1) will import the latest published version
	@type char: int
	"""
    fRig_info = dnPubFuncs.getLatestVersion(
        {"item": "CHARACTER:" + char.upper() + ":FACE", "job": "JCOM", "objkind": "RIG", "type": "anim", "lod": 1}
    )
    return fRig_info
예제 #2
0
def conceptSculptPubInfo(char, vidx=-1):
    """
	Import a published character expression concept models
	@param char: Character to import
	@type char: str
	@param vidx: Version Id to import. Defualt value (-1) will import the latest published version
	@type char: int
	"""
    concept_info = dnPubFuncs.getLatestVersion(
        {
            "item": "CHARACTER:" + char.upper() + ":FACE:concept",
            "job": "JCOM",
            "objkind": "MOD",
            "type": "main",
            "lod": "high",
        }
    )
    return concept_info
예제 #3
0
def conceptSculptPubInfo(char, vidx=-1):
    '''
	Import a published character expression concept models
	@param char: Character to import
	@type char: str
	@param vidx: Version Id to import. Defualt value (-1) will import the latest published version
	@type char: int
	'''
    concept_info = dnPubFuncs.getLatestVersion({
        'item':
        'CHARACTER:' + char.upper() + ':FACE:concept',
        'job':
        'JCOM',
        'objkind':
        'MOD',
        'type':
        'main',
        'lod':
        'high'
    })
    return concept_info
예제 #4
0
def faceRigPubInfo(char, vidx=-1):
    '''
	Return publish information for a character face rig
	@param char: Character to import
	@type char: str
	@param vidx: Version Id to import. Defualt value (-1) will import the latest published version
	@type char: int
	'''
    fRig_info = dnPubFuncs.getLatestVersion({
        'item':
        'CHARACTER:' + char.upper() + ':FACE',
        'job':
        'JCOM',
        'objkind':
        'RIG',
        'type':
        'anim',
        'lod':
        1
    })
    return fRig_info