Dear McNeal,
I am currently working on upgrading a plugin from Rhino 5.0 to Rhino 6.0 which is a bit of a pain in the ass since there is no changelog for the API (or am I missing something… ).
Just to illustrate:
I spend about 3h looking for the error when unrolling a surface:
In Rhino 5 this code worked fine:
Unroller unroll = new Unroller(Inspiral3d.getSurface);
unroll.AddFollowingGeometry(Inspiral3d.getRail);
unroll.AddFollowingGeometry(Inspiral3d.getGuideLinesCurve);
Curve[] _C2D;
Point3d[] _P2D;
TextDot[] _TD2D;
Brep[] _S2D = unroll.PerformUnroll(out _C2D,out _P2D,out _TD2D);
this.Rail = _C2D[0].ToNurbsCurve();
Now in Rhino 6 I have to do the same thing this:
Unroller unroll = new Unroller(Inspiral3d.getSurface);
unroll.AddFollowingGeometry(Inspiral3d.getGuideLinesCurve);
unroll.AddFollowingGeometry(Inspiral3d.getRail);
Curve[] _C2D;
Point3d[] _P2D;
TextDot[] _TD2D;
Brep[] _S2D = unroll.PerformUnroll(out _C2D,out _P2D,out _TD2D);
this.Rail = _C2D[0].ToNurbsCurve();
Noticed the difference?
Since the function AddFollowingGeometry is a bit of a blackbox, my guess is that in Rhino 5 it added the curves at the end of the list, now it adds it at the beginning of the list.
Is there any chance a ChangeLog for the API is released, and yes I know there is Unroller.FollowingGeometryIndex but come on a stable sorting would be expected…