一.Blender导入TRF文件
import bpytrf_meshes = []trf_contents = []trf_import_path = 'D:\pt_ladder.trf'trf_export_path = 'D:\pt_ladder_morph_keys.trf'class TrfMesh:def __init__(self):self.mesh_name = ''self.mesh_materials = []self.vertex_cnt = 0self.vertex_fvf_cnt = 0self.morph_key_cnt = 0self.bone_cnt = 0self.face_cnt = 0self.verts = []self.vert_fvfs = []self.face_vert_fvf_indices = []self.face_vert_indices = []self.morph_keys = []self.bones = []self.bone_weights = []class TrfVert:def __init__(self):