Offset curve problem bug?

I’ve got a bit of an odd case to offset but I would have thought it’s not crazy complicated. When I try to offset it only does a part of the curve.


And it creates these triangles in the corner:

200120 Offset doesnt work.3dm (202.0 KB)

Yeah, Rhino really doesn’t like complicated offsets, especially those that double back on themselves (pick side confusion)…

What’s interesting is that if you split that curve at about a third - say 5 modules - and then offset, it appears to hang (here) for a good 15 seconds, then it executes correctly. If you try more than that, it executes instantly but wrong. So at some point the offset function tries valiantly and eventually succeeds, but when it gets more complicated than that it simply gives up immediately and hands you the wrong answer…