How to remove Duplicate Curves in Grasshopper


(Mahanmotamedi1991) #1

Hello everyone.

Today I was trying to Project bunch of curves onto the other list of them and I faced with some duplicate lines as result.
I know that kangaroo has a component which removes duplicate lines (Not curve). Does anyone have a solution for Removing duplicate curves?2018-04-16%2013_30_54-Grasshopper%20-%20unnamed


Visit here.

(Radovan Grmusa) #3

Here is code that is doing this with curves (uses RhinoCommon for Rhino 5). (712.5 KB)

If you use Rhino 6, then there is method in RhonoCommon, GeometryEquals which may help you to write your own component for checking curves (generally any geometry) for equality.

(Mahanmotamedi1991) #4

Thanks .That is very helpful.