curve_to_compas_polyline

compas_rhino.conversions.curve_to_compas_polyline(curve)[source]

Convert a Rhino curve to a COMPAS polyline.

Parameters

curve (Rhino.Geometry.Curve)

Returns

compas.geometry.Polyline

Raises

ConversionError – If the curve cannot be converted to a polyline.