RhinoSurface

class compas_rhino.conversions.RhinoSurface[source]

Bases: compas_rhino.conversions._geometry.RhinoGeometry

Wrapper for Rhino surfaces.

Attributes

geometry

Inherited Attributes

guid

name

object

type

Methods

closest_point

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

closest_points

to_compas

Convert the surface to a COMPAS surface.

to_compas_mesh

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

to_compas_quadmesh

Convert the surface 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.