Grasshopper

algorithmic modeling for Rhino

Hi, 

I have a number of surfaces.

Then I analyse them to get to know how much edge curves they have.

Then I would like to split this surface list in this order:

If the list has less 6 curves then put it into surface battery1;

If the list has less 5 curves then put it into surface battery2;

If the list has less 4 curves then put it into surface battery3;

I know that i will have to use cull, but how to split the list I have no idea.

Could you help me please;

I added the print-screen.

Thanks:)

Views: 1787

Attachments:

Replies to This Discussion

This solution uses tree sloth...the "unweave" component lets you distribute a list into multiple lists using an index pattern.  Here you build the index pattern using nested if/then statements in an expression.

Attachments:

Thank you:)

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