RhinoSurface

class compas_rhino.conversions.RhinoSurface[source]

Bases: compas_rhino.conversions._geometry.RhinoGeometry

Wrapper for Rhino surfaces.

Methods

closest_point(xyz)

Return the XYZ coordinates of the closest point on the surface from input XYZ-coordinates.

closest_points(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()

to_compas_mesh([cls, facefilter, cleanup])

Convert the surface b-rep loops to a COMPAS mesh.

to_compas_quadmesh(nu[, nv, weld, ...])

Convert the surface to a COMPAS mesh.

transform(T)

Transform the Rhino object.