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