def importFaceModel(char, vidx=-1): """ Import a published character face model @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 """ print("IMPORTING: " + char.upper() + " Face Model") # Get model publish info model_info = faceModelPubInfo(char) model_idx = model_info["idx"] # Import latest version dnPubFuncs.importMOD({"idx": model_idx, "vidx": vidx}, {}) # Return result return model_info["vname"]
def importFaceRig(char, vidx=-1): """ Import a published 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 """ print("IMPORTING: " + char.upper() + " Face Rig") # Get face rig publish info fRig_info = faceRigPubInfo(char) fRig_idx = fRig_info["idx"] # Import latest version dnPubFuncs.importMOD({"idx": fRig_idx, "vidx": vidx}, {}) # Return result return fRig_info["vname"]
def importConceptSculpts(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 """ print("IMPORTING: " + char.upper() + " Concept Sculpts") # Get concept sculpt publish info concept_info = conceptSculptPubInfo(char) concept_idx = concept_info["idx"] # Import latest version dnPubFuncs.importMOD({"idx": concept_idx, "vidx": vidx}, {}) # Return result return concept_info["vname"]
def importFaceRig(char, vidx=-1): ''' Import a published 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 ''' print('IMPORTING: ' + char.upper() + ' Face Rig') # Get face rig publish info fRig_info = faceRigPubInfo(char) fRig_idx = fRig_info['idx'] # Import latest version dnPubFuncs.importMOD({'idx': fRig_idx, 'vidx': vidx}, {}) # Return result return fRig_info['vname']
def importConceptSculpts(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 ''' print('IMPORTING: ' + char.upper() + ' Concept Sculpts') # Get concept sculpt publish info concept_info = conceptSculptPubInfo(char) concept_idx = concept_info['idx'] # Import latest version dnPubFuncs.importMOD({'idx': concept_idx, 'vidx': vidx}, {}) # Return result return concept_info['vname']
def importFaceModel(char, vidx=-1): ''' Import a published character face model @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 ''' print('IMPORTING: ' + char.upper() + ' Face Model') # Get model publish info model_info = faceModelPubInfo(char) model_idx = model_info['idx'] # Import latest version dnPubFuncs.importMOD({'idx': model_idx, 'vidx': vidx}, {}) # Return result return model_info['vname']