Grasshopper

algorithmic modeling for Rhino

Hey all!

I have a problem. I would like to use the "CullN"-command, to remove every Nth branch. My problem is that grasshopper starts to remove with the item 1. But at the end I would like to extract the branches 0,2,4,... (also every even number including zero; look at the picture below). If I like to extract all the even number from a list of items. I shift the lift first and then ich use the "CullN"-command. Is there a possibility to shift branches? Or do you konw an other way to solve this problem?

Thanks

Bonobert

Views: 1499

Attachments:

Replies to This Discussion

Hi.

Why don't you use "Cull Pattern" with a boolean pattern in this case<True,False> instead of using "Cull Nth"?

And in your previous posting, ng5 Alex already show you a good answer by using "Split Tree".

Is there any reason not to use the method he proposed?

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