parq_blockmodel.mesh.glb

parq_blockmodel.mesh.glb#

GLB (glTF 2.0 binary) support for mesh export.

GLB is a derived format used for external visualization and exchange. It supports optional textures and materials, and carries metadata via the glTF extensions mechanism.

This implementation is a lightweight wrapper that converts TriangleMesh to GLB format without using heavy dependencies. For advanced features (animations, skeletal rigs, etc.), consider using pygltf or trimesh.

References

KhronosGroup/glTF

Functions

write_glb

Write a TriangleMesh to GLB (glTF 2.0 binary) format.