Grasshopper

algorithmic modeling for Rhino

Hi,

I have two ordered lists that correspond to each other:
- point list with 163 pts (should be 153)
- integer list with 163 integers (should be 153 like the point list)

The point list has 10 duplicate points, which I'm able to remove with the cullPt component (average, tolerance 0.01).
However the exact same indices have to be removed from the integer list for both lists to still have the right parallel order.

Does anybody know how I could achieve this?
CullPt doesn't seem to return the indices of the removed points.

Thanks.

Views: 447

Replies to This Discussion

CullPt will both remove and insert points if you choose the average option. So in that case it's a lot harder to modify the integer list accordingly. If you choose the leave one option you can use the index map output.

--

David Rutten

david@mcneel.com

Thanks, but it doesn't really work. CullIndex leaves 163 Values, which doesn't correspond to the 153 points that the cullPt leaves.

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service