Grasshopper

algorithmic modeling for Rhino

I have a list of indexes

0,1,3,4,16

and i need to select these branches

{0,0,0,0,x}

{0,0,0,1,x}

{0,0,0,3,x}

{0,0,0,4,x}

{0,0,0,16,x}

from a general data list

Can I convert integers into paths, or select paths based on these indexes?

much appreciated

-oliver

Views: 357

Replies to This Discussion

Hi Oliver,

both of those things are possible. Do you hand-pick these indices or are they the result of some other calculation? Depending on which it is you'll want to approach this from different directions.

--

David Rutten

david@mcneel.com

Anyway, assuming the numbers come out of some logic, then you can do this:

Basically use the Text Replace component to generate a bunch of splitting masks.

--

David Rutten

david@mcneel.com

Attachments:

thanks!

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