Selft Referencing Loops

(Matas) #1

First of all, amazing initiative, already started to experiment with Rhino Compute and it looks really promising.

I guess Self referencing loops will be a problem on some endpoints as I’m now trying to extend Rhino compute to deal with Quaternions and endpoints return this error:

‘Self referencing loop detected for property ‘Conjugate’ with type ‘Rhino.Geometry.Quaternion’. Path ‘Conjugate’.’

It probably arises because of JSON’s limitations in dealing with circular objects. I suppose this will probably happen to other non Quaternion objects of RhinoCommon that have self referencing loops.