![]() ![]() (IMPORT_OT_msh.bl_idname, text="Dragon Age 2 Mesh (.msh)")īpy.types.INFO_MT_file_import.append(menu_func)īpy.types.INFO_MT_file_import.remove(menu_func) # to the class instance from the operator settings before calling.įilepath = StringProperty(name="File Path", description="Filepath used for importing the OBJ file", maxlen= 1024, default= "") # List of operator properties, the attributes will be assigned Raise (IOError, "The selected input file is not a *.msh file") Obmesh = (basename,me_ob)Ĭhecktype = filename.split('\\').split('.') # me_ob.uv_textures.foreach_set("co", unpack_list(uvArray)) # uvtex.foreach_set("co", unpack_list(uvArray)) # me_ob.uv_textures.new(basename + "_uv_" + str(i)) #add material to the mesh list of materials Uvtex = me_ob.uv_textures.new() #add one uv textureīlender_tface.uv1 = faceUVArray #uv = (0,0)īlender_tface.uv2 = faceUVArray #uv = (0,0)īlender_tface.uv3 = faceUVArray #uv = (0,0) This version is based on the script posted with this timestampĪll credit to chrrox for figuring the format out.Į = int((h > 10) & 0x0000001f) # exponent This is a straight port of the 3DS Max Script from this forum ![]() "description": "Import Dragon Age 2 Mes (.msh)", "name": "Import Dragon Age 2 Mesh files (.msh)", ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |