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?
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.
This is a very useful tool I downloaded it but what if the curves lie on each other but are different lengths, this tool doesn’t seem to work for that.
Any suggestion appreciated.
Thanks
Joe v.
This is an awesome script, it performs as promised! However, it goes a little further too, it completely eliminates all duplicates (including any original curves it compares the duplicates to), to the point that none are left from those I am trying to remove only the duplicates. I am trying to retain only one version of the curves representing the edges of all boxes. See image.
When the input curves come in as tree (instead of flatten), is it possible to have CurveGroups output maintain its original data structure? Like the attach images shown, I put in a collection of curves and the eliminate result went wrong.
Likewise for indices, maintain data structure of those can be used for culling purpose.
Well, in that case, you may raplace that part with curve middle, but that component does not always work.
Actually, when I started to write this code, I used curve middle, but sometimes even if the same coordinates are displayed, they cannot be classified into the same category.