import trimesh def convertgtb2stl(glb_file_path,stl_file_path): mesh = trimesh.load(glb_file_path) mesh.export(stl_file_path)