ToNURBS of toroidal RevSurface creates invalid brep

_ToNURBS on the brep in ToNURBS_creates_InvalidBrep.3dm (36.3 KB) will create an invalid brep.

I guess this may be related to RhinoCommon’s Surface.ToNurbsSurface returning 2 for the accuracy parameter when the underlying RevSurface is passed to it.

Hi @spb,

Thanks for reporting. I’ve logged the issue:

Did you make this model in Rhino? Why the tight tolerance?


– Dale

It was imported from a STEP file. The units are inches, so the 0.0004 tolerance is about 0.01 mm.