mesh_to_compas

compas_rhino.conversions.mesh_to_compas(rhinomesh, cls=None)[source]

Convert a Rhino mesh object to a COMPAS mesh.

Parameters:
rhinomeshRhino.Geometry.Mesh

A Rhino mesh object.

cls: :class:`compas.datastructures.Mesh`, optional

The mesh type.

Returns:
compas.datastructures.Mesh

A COMPAS mesh.