Offset on self intersect curve


#1

offset loop.gh (11.0 KB)
offset%20loop

Hello
Please find the image and grasshopper file. Hope its simple task. I am trying to offset both sides of self-intersect curve. Could anyone help me with this

Thankyou
Ezhil


(Ethan Gross) #2

The Offset component in the Clipper plugin will do just what you are looking for.


#3

offset loop.gh (11.3 KB)
Hello Ethan,
Thankyou for your response. I did try Clipper, for some reason I was facing some bug of uneven offset.
Is it some tolerance issue?

E


#4

Using Clipper plugin:


offset_loop_2018Mar12a.gh (13.1 KB)


(Ethan Gross) #5

I got the same strange result as you, with both Clipper and the offset component from Pufferfish. Using the Pufferfish component however, I was able to come up with a highly unsatisfying workaround by shattering the self-intersecting curve. I also took the liberty of moving your curves back into normal spacetime from where they resided. (I don’t know why people post here with data so far from the origin!?)

offset loop2.gh (23.9 KB)


#6

I guess shatter is the way in this curve shape. Thank you, both Ethan and Joseph.


(Laurent Delrieu) #7

It is also good to transform by yourself the curve in polyline before feeding offset polyline. The component surely use rhino tolerance.