I want to make and loft arbitrarily selected curves from the data tree.
But my Grasshopper ＆ GHPython is showing two errors.
This is GH data.
loft_sample.gh (12.9 KB)
1. I don’t understand Runtime error
Putting curves in the list doesn’t work.
import rhinoscriptsyntax as rs
from Grasshopper.Kernel.Data import GH_Path
c1 = _curve.Branch(GH_Path(0, 7))
c2 = _curve.Branch(GH_Path(0, 5))
srf = rs.AddLoftSrf(curves)
result = srf
2. I don’t understand ’ Data conversion failed from Goo to Curve '
I cannot store listed curves.
Please your advice …