Grasshopper

algorithmic modeling for Rhino

Hey guys,

a newbie question here...

I'm struggling selecting the points as described in the image above.


Cull Pattern works partially (along X axis), but I want to select and use the points row by row. Any ideas?

Views: 1065

Attachments:

Replies to This Discussion

Hi.

You'll need to organize your points with appropriate data structure.

Attachments:

Hi, you can use 2 "cull pattern" component to do it. here is the definition:  

As you can see, It will work with different number of rows and columns:

Attachments:

Thanks a bunch for your replies to both of you.

I'll have to investigate further the logic behind this. In theory, that's what I was thinking about and it seems that there are several ways to do so, that I'm not aware of yet.

Cheers
-Dimitris

here is a third one

best

alex

Alex, thanks for the reply. I recreated it and understood your way of thinking.
I just don't get the Boolean Toggle (true-false state). What is this one for? As I see, it shows-hides the 2nd column of drawn circles which is not needed. How were these circles created and why?

wrap is an option to have the list working in cycle.

lets say you have a list with n=5 items. If you use list item with an i input 6, if wrap is false you will get a flag stating supplied index to high. if set to true then the indices cycle and the output would be the second item of the initial list.

here is set to false because series produces more integers than needed for the selection. having it true would result in double points selection.

Ok, got it! Thanks for the useful info.

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service