RhinoSurface.from_geometry
- classmethod RhinoSurface.from_geometry(geometry)
Construct a Rhino object wrapper from an existing Rhino object.
- Parameters
geometry (Rhino_DocObjects_RhinoObject) – The Rhino object.
- Returns
compas_rhino.geometry.RhinoGeometry
– The Rhino object wrapper.- Raises
ConversionError – If the geometry cannot be converted to the geometry type of the wrapper.