Offset Curve: inside corners, strange behavior

I’ve observed some strange offset behavior for curves when it comes to inside corners. The issue isn’t a huge deal, mostly just annoying; but I’m wondering if anyone else has run into the same problem and found a solution. (other than just drawing the line different so the issue goes away)

Basically, when I’m offsetting a curve to a distance larger than the last line segment, Rhino doesn’t appear to know what to do with that last control point and so makes some funny shapes at the end. Also, sometimes the line won’t offset properly depending on where I click.


OffsetCurve-InsideCorner.3dm (68.8 KB)

Hello - I see that, thanks - it makes the flip at 500 units, which happens to be the length of that short segment your arrow calls out…
https://mcneel.myjetbrains.com/youtrack/issue/RH-49076
-Pascal