GLTFMesh.from_mesh
- classmethod GLTFMesh.from_mesh(context, mesh)
Construct a
compas.files.GLTFMesh
object from a compas mesh.- Parameters
context (
compas.files.GLTFContent
)mesh (
compas.datastructures.Mesh
)
- Returns
Construct a compas.files.GLTFMesh
object from a compas mesh.
context (compas.files.GLTFContent
)
mesh (compas.datastructures.Mesh
)
A computational framework for collaboration and research in Architecture, Engineering, Fabrication, and Construction.
Copyright © 2017-2021 compas-dev