Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
ac5113
/
DECO
like
2
Sleeping
App
Files
Files
Community
1
0853d1a
DECO
/
utils
/
mesh_utils.py
ac5113
added files
99a05f0
about 1 year ago
raw
Copy download link
history
blame
Safe
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}
'
)