Grasshopper

algorithmic modeling for Rhino

Hello,

I have a problem with removing all the duplicate lines. I want to delete all the lines with the same length compared from two lists (see attached image):

List1:                           List2:

Line (4.875 mm)           Line (2.9 mm)    

Line (4.875 mm)           Line (2.9 mm)

Line (4.875 mm)           Line (2.9 mm)

Line (4.875 mm)

Line (2.9 mm)

Line (2.9 mm)

Line (2.9 mm)

I want to subtract list2 from list1, meaning that only the 4 lines with length 4.875 mm will remain in list1. I wish not to use the Kangaroo components

Thanks in advance

Views: 740

Attachments:

Replies to This Discussion

Hi Roman,

Can't you do it with the dispatch component using a true/false pattern comparing length of curves in both lists ?

First of all thanks for your quick reply.

And yes it works, the dispatch component and comparing the length of curves in combination with a cull pattern. 

Thanks a lot Ibrahim 

Attachments:

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service