RhinoMesh

class compas_rhino.conversions.RhinoMesh[source]

Bases: compas_rhino.conversions._geometry.RhinoGeometry

Wrapper for Rhino meshes.

Methods

closest_point(point[, maxdist])

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

closest_points(points[, maxdist])

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

from_geometry(geometry)

Construct a Rhino object wrapper from an existing Rhino object.

from_guid(guid)

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

from_object(obj)

Construct a Rhino object wrapper from an existing Rhino object.

to_compas([cls])

Convert a Rhino mesh to a COMPAS mesh.

transform(T)

Transform the Rhino object.