Spaces:
Paused
Paused
Download modules/PartField/partfield/utils.py from omnipart/OmniPart: direct link, hf CLI and curl.
- Browser
- Download file 130 Bytes
-
https://huggingface.co/spaces/omnipart/OmniPart/resolve/main/modules/PartField/partfield/utils.py
- Command line
-
hf download hf://spaces/omnipart/OmniPart/modules/PartField/partfield/utils.py
-
curl -L -o utils.py https://huggingface.co/spaces/omnipart/OmniPart/resolve/main/modules/PartField/partfield/utils.py
130 Bytes
| import trimesh | |
| def load_mesh_util(input_fname): | |
| mesh = trimesh.load(input_fname, force='mesh', process=False) | |
| return mesh |