Hugging Face
Models
Datasets
Spaces
Buckets
new
Docs
Enterprise
Pricing
Website
Tasks
HuggingChat
Collections
Languages
Organizations
Community
Blog
Posts
Daily Papers
Hardware
Learn
Discord
Forum
GitHub
Solutions
Team & Enterprise
Hugging Face PRO
Enterprise Support
Inference Providers
Inference Endpoints
Storage Buckets
Log In
Sign Up
Spaces:
ac5113
/
DECO
like
4
Sleeping
App
Files
Files
Community
1
Fetching metadata from the HF Docker repository...
main
DECO
/
utils
/
mesh_utils.py
ac5113
added missing files
b807ddb
almost 3 years ago
Raw
Download with hf CLI
Copy download link
History
Blame
Contribute
Delete
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}
'
)