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
)