Using Python 3.7
Reading a file like this
rhFile = rhino3dm.File3dm.Read("TestCurves.3dm")
Then using a compute function with the multiple argument set to true, produces the above mentioned error
curves = [item.Geometry for item in rhFile.Objects if item.Geometry.ObjectType == rhino3dm.ObjectType.Curve] proj_plane = rhino3dm.Plane.WorldXY() curves = compute_rhino3d.Curve.ProjectToPlane(curves, [proj_plane for i in range(len(curves))], True)
This seems to be resolved if in the source file compute_rhino3d\Curve.py
if multiple: args = zip(curve, plane)
is changed to if multiple:
args = list(zip(curve, plane))
This needs to be changed all over for compatibility with python 3.7?!
Also solving this error this way, throws another error
TypeError: Object of type Plane is not JSON serializable
but this is a problem for
rhino3dm I believe, it would be great if you could help with this / take a look @stevebaer ?