RhinoMesh

class compas_rhino.conversions.RhinoMesh[source]

Bases: compas_rhino.conversions._geometry.RhinoGeometry

Wrapper for Rhino meshes.

Attributes

facenormals

faces

geometry

vertexcolors

vertexnormals

vertices

Inherited Attributes

guid

name

object

type

Methods

closest_point

Compute the closest point on the mesh to a given point.

closest_points

Compute the closest points on the mesh to a list of input points.

to_compas

Convert a Rhino mesh to a COMPAS mesh.

Inherited Methods

from_geometry

Construct a Rhino object wrapper from an existing Rhino object.

from_guid

Try to construct a RhinoGeometry wrapper from the GUID of an existing Rhino DocObject.

from_object

Construct a Rhino object wrapper from an existing Rhino object.

transform

Transform the Rhino object.