DECO / utils /mesh_utils.py
ac5113's picture
added files
99a05f0
raw
history blame
185 Bytes
import trimesh
def save_results_mesh(vertices, faces, filename):
mesh = trimesh.Trimesh(vertices, faces, process=False)
mesh.export(filename)
print(f'save results to {filename}')