algorithmic modeling for Rhino
I have this as an example:
1. LIST A: list with 200 lines "base" list
2. LIST B: list with 100 lines, 50 of the lines overlap with LIST A, the others don't
I'm trying to clean up LIST B so that it only has unique lines and remove all the other lines that overlap with LIST A (so I end up with 50 unique lines)
Is there a way to achieve this? Thank you very much!!
Tags:
Hello
you try this using the remove duplicate lines (only lines not curves) component found in kangaroo plugin
http://www.grasshopper3d.com/group/kangaroo
cheers
alex
remove duplicate lines keeps data structure so list A output from split list component is the list you inputed first to the remove duplicate lines component.
Hiya ng5,
thanks for your reply! however, with your solution, the list is structured to remove duplicate lines in either list A or list B, and sometimes the line in "LIST A" is removed as the duplicate, so not all duplicate lines are removed in "LIST B". I want to remove all the duplicate/overlapping lines in "LIST B" by screening with "LIST A"?
hello again
without a definition i cant tell what happening, so i cant help you. please upload a definition to see whats happening.
Hi there! Please see attached.
Basically I want to extract little connections between the thickness of the mesh so that I can use them for inflation ties. So I want to only have lines in between the mesh, but not on the mesh itself. So far using something similar to this method I am only able to remove some duplicate lines, but like I said in the previous reply, sometimes the duplicate lines command doesn't remove all the lines because it is actually removing the lines from the original list I compare it to.
hello
i don't have karamba installed, that's why i suggested the kangaroo remove duplicate lines.
check file, it does what you are after, removes the duplicates.
ps.i cant tell for sure what is wrong with your definition, because i don't have karamba, but i do not understand what you were testing against, with larger than, with the list length as input.
Welcome to
Grasshopper
© 2025 Created by Scott Davidson.
Powered by