I’m trying to use the Unroller class to unroll a few curves and it seems like the unroller splits up 1 of the curves in 2 pieces after unrolling. Joining them afterwards works fine so they are within tolerance of each other. Is there something I’m overseeing or does this just happen sometimes?
The code I’m using to go from the black to the green line:
Unroller unroll = new Unroller(brepToUseForEnrolling); unroll.AddFollowingGeometry(curvesToUnroll); unroll.AbsoluteTolerance = doc.ModelAbsoluteTolerance; unroll.PerformUnroll(out Curve unrolledcurves, out Point3d unrolledpoints, out TextDot unrolleddots);
I tried both with setting the AbsoluteTolerance and without setting that to the modelabsolutetolerance.
And if this is just the way the unroller sometimes work: if I try to join the list of curves, will it mess up the order of the list?