GLTFMesh.from_mesh
-
classmethod
GLTFMesh.
from_mesh
(context, mesh)[source] Construct a
compas.files.GLTFMesh
object from a compas mesh.- Parameters
context (
compas.files.GLTFContent
)mesh (
compas.datastructures.Mesh
)
- Returns
GLTFMesh.
from_mesh
(context, mesh)[source]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-2020 compas-dev