Grasshopper

algorithmic modeling for Rhino

Hi,

i' ve a list oft points (x,y,z). I know, that always 2 values are the same:

index value (point coordinates)

0   A

1   B

2   A

3   C

4   B

5   E

6   C

...

I just need to select this pairs of values, but i have no idea how.... could anyone help me please?

Views: 2611

Replies to This Discussion

What do you mean exactly by "select"? Do you want to create a list where the duplicates have been removed? If so, you can use the [Create Set] component.

--

David Rutten

david@mcneel.com

Poprad, Slovakia

David,

How would you collect the duplicated points only?

R.

When you say same values does that mean all (x,y,z) coordinates of a point? or is it just one of the coordinate of two different points are same? 

If you are pairing to remove duplicate points, i would suggest using component from kangaroo named "removeduplicatepoints"

If you want to use these overlapping points instead of deleting them, then sort the points and group them into tree branches...

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