GLTFContent.add_mesh

GLTFContent.add_mesh(mesh)[source]

Creates a compas.files.GLTFMesh object from a compas mesh, and adds this to the content.

Parameters

mesh (compas.datastructures.Mesh)

Returns

compas.files.GLTFMesh