https://github.com/dave3d/meshconvert
https://github.com/dave3d/meshconvert
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/dave3d/meshconvert
- Owner: dave3d
- License: apache-2.0
- Created: 2020-07-29T18:24:12.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2025-01-13T19:01:31.000Z (4 months ago)
- Last Synced: 2025-03-19T08:37:17.452Z (2 months ago)
- Language: Python
- Size: 1.16 MB
- Stars: 14
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# mesh-convert

Try mesh to GLB conversion in Google Colab[](https://colab.research.google.com/github/dave3d/meshconvert/blob/master/mesh2glb.ipynb)
Mesh conversion pipelines for use in NIH 3D workflows. NIH 3D uses GLB as its main format.
This repo provides a script to go from meshes to GLB, and another to go from GLB to other mesh
formats. The other mesh formats include STL, PLY, OBJ, WRL and X3D. Basically whatever
formats Trimesh or PyMeshLab support.X3D and WRL are the two formats that PyMeshLab are used for, since Trimesh does not
support them. Going between PyMeshLab and Trimesh, PLY is used as an intermediary format.
Because PLY is a relatively simple format, many features could be lost in translation. In
particular any scene graph hierarchy, lighting or viewing parameters, or animation will not
be retained.The GLB thumbnail creation example (work-in-progress):
[](https://colab.research.google.com/github/dave3d/meshconvert/blob/master/thumbnail-example.ipynb)