Hi,
Say I have a Rhino.Geometry.Polyline
pline and a couple of Rhino.Geometry.Arc
s a1, a2, and a3.
When I do the following to join them into a single curve, I get a Rhino.Geometry.Curve[]
, as specified in the documentation.
import Rhino.Geometry as rg
a = rg.Curve.JoinCurves(
[a1.ToNurbsCurve(), pline.ToPolylineCurve(), a2.ToNurbsCurve(), a3.ToNurbsCurve()], 0.01
)
When piping it through output a of a GHPython component, the latter seems unable to cast the curve array to a curve type that Grasshopper can interpret, and thus no geometry is previewed in Rhino, nor available to work on further.
How do I get a joined curve that I can continue processing in Grasshopper?