Hi, I need the “sel_bad_object” tool for grashopper.
I want to set up a GH file that highlights problematic lines, so I can repair them in Rhino.
I often need to repair imported Illustrator drawings (AI). These can have 1000 lines in one document. I cannot attach a file, but you can imagine a designers handdrawing with tons of curves.
I do not know why, but Illustrator often produced dublicated lines (that are not recognized by sel dubliyted though). If you join two (almost) dubilicated curves they get closed what causes bad objects in the further process. If I can quickly dispatch them within Grasshopper it will be a great help.
2nd tool: sel_self_intersecting_curve: When a curve makes a loop and ends on itself it is self-intersecting that can cause problems in the further process. Any ides how I can quickly find out that one end of the curve touches itself in the middle?
I can imagine to devide the curves and measure the distance to the end points, but maybe there is ssomething much easier.
Thank you for ideas. Regards, Stefan