Trim Self Intersecting Pieces of Curve Away?

Hi everyone! 

I am having trouble removing the self intersecting bit of my some curves...

I found the intersection, shatter at those self intersecting points, but then I need to cull these pieces and join the curve back together. Right now I am using a cull pattern, culling away the smallest pieces, which coincidentally are the self intersecting ones. But sometimes a smaller non intersecting piece is trimmed.

Additionally, when other date is inputted, the slider that controls the length to cull is not always in an optimal value, so it needs to be readjusted manually...

Thanks in advance for any help,

Shynn.

  • up

    Joseph Oster

    Here's something...  The yellow group works on just one self-intersecting curve.  I had to put it in the Anemone loop because I couldn't think of another way to determine if 'Srf CP (D)' was zero (less than 0.0001) for any of the 'Shatter' curve midpoints - other than 'Flip/Sort/List Item', which won't work with multiple curves.

    • up

      Vongsawat Wongkijjalerd

      Hmm, here's an alternate solution perhaps; using Shortest Walk?

      If you have complex self-intersections it might not work how you want it to though(or might?)
      But if its simple, ie. the culled intersecting pieces don't themselves overlap, then it should work well enough.

      5