Why doesn't a negative Offset work on this curve?

#1

I can offset this curve in both directions in Rhino. Why Can’t I offset it in Grasshopper with a negative value?


190417 Offset curve.gh (8.8 KB)

It seems like flipping the curve solves it (I’d like to avoid flipping the curve though) so I’m wondering if it could be related to this topic:

0 Likes

Offset curve creates more control points on flipped curve. Bug?
(Riccardo Majewski) #2

You need to clean your curve.
Near world 0,0,0 your curve has a segment with almost 0 length.
Remove it and offset works good.

0 Likes

#3

Interesting, good spotted! But then why does it not give problems in Rhino?

0 Likes

(Riccardo Majewski) #4

“why”… no idea.
Anyway those are different funcions.
On rhino you always click one specific point to input the side of the offset and then that point location is also used for the creation of the offset itself.
On grasshopper you just give the value.

0 Likes

(Michael Pryor) #5

Never equate a Rhino command with a Grasshopper one. The name may be similar but the two usually don’t have the same features. Rhino typically has lots of built in checks and fixes. Grasshopper is more deconstructed and it is up to the user to decide how to determine what the fix is, because it is like scripting.

0 Likes

(Wim Dekeyser) #6

Hi Siemen - it doesn’t give you any problems with offset but it might (probably will) cause problems if you start building surfaces from this curve (e.g. exporting an extrusion to DXF). If you ask me, this curve should be flagged as bad by Rhino and I have added this case to bug report RH-51813.
wim

2 Likes