I am a freshman of GH. Nice to meet you!
Here I met a problem of python coding in GH.
Here is my code
My goal here is to make a loft over the circles that have been inserted. X is a list of XYZ coordinates, so spot is an item in that list. What I am trying to do is get a curve from the circles I am creating, and then from that curve, I would like to make a loft over everything.
The problem here is that I get the error “1. Solution exception:unsupported operand type(s) for -: ‘Vector3d’ and ‘tuple’” on the line of “point = rs.PointAdd(spot - (0,scaleList[i], 0)).”
–The purpose of that line is to get a point on the circle and then eventually add it to a curve.
If someone could give me advice on what to do (because I am sure that this isn’t the most efficient way to make a loft) that would be great!