BUG: Can't Offset Loose with less than 2 units of length

Hello folks,
Well the title says it all. Can’t Offset Loose with less than 2 units of length.
I am using Rhino7 SR36 but this was already reported since Rhino6
It persists on Rhino8.

Already reported 5 years ago but not yet tracked.

cc @dale @DavidRutten @wim


OffsetLoose.gh (8.2 KB)

Same here in R8, the message shows “Don’t know why”, hmm…
OffsetCurve + comes from Flexybility

Thanks for confirm the bug in Rhino8 as well.
This time it can be easily solved with just one line of code.

C.Offset(Plane.WorldXY, D, 0.001, CurveOffsetCornerStyle.Sharp);

My concern is that sometimes it is no longer reliable to use the standard offset components, and apparently they are simple tasks.

For example in this other report about Offset (this time OffsetLoose work as expected, the issue is with the OffsetCurve component and the C# method).

Hi @ThomasE,

I’ve logged the issue - https://mcneel.myjetbrains.com/youtrack/issue/RH-80564

– Dale

1 Like

Well that’s embarrassing. Instead of checking whether the curve control polygon has at least two control points, I check whether the control polygon length is at least two units long. facepalm

3 Likes