Grasshopper

algorithmic modeling for Rhino

Dispatch points into two groups while maintaining their order.

I have a group of points that I am dispatching into two groups with the containment tool. The two resulting lists of points have a new order.  For example (1,2,3,4,5,6,7) becomes (1,2,3) and (1,2,3,4).  I am trying to have the two groups to have the same order, for example (2,3,4) and (1,5,6,7).  I am new to grasshopper so I'm not sure if the I've described the problem properly.  Also I am having a problem uploading this question so I'm going to try it without the attached files.

Thanks

David

Views: 816

Replies to This Discussion

Here are the files.

Attachments:
i think sift is supposed to opperate as so although I remember reading it has some bug.

Thanks, I think that command is only in version 9, I'll have to update and give it a try.

yea, sift does it, replacing items not there with null. To keep list order, then you can operate each list separate and bring back together with combine.

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service