Grasshopper

algorithmic modeling for Rhino

If I have data set of ...

{1;0} >>>> {0}

{1;1} >>>> {1}

{1;2} >>>> {2}

{1;3} >>>> {3}

{1;4} >>>> {4}

{2;5} >>>> {0}

{2;6} >>>> {1}

{2;7} >>>> {2}

{2;8} >>>> {3}

{2;9} >>>> {4}

{3;10} >>>> {0}

{3;11} >>>> {1}

{3;12} >>>> {2}

{3;13} >>>> {3}

{3;14} >>>> {4}

How to do that !?

Thanks in advance :D

Views: 581

Replies to This Discussion

You'll probably need to generate the columns separately. Ie. {1,1,1,1,1,2,2,2,2,2,3,...} and {0,1,2,3,4,5,...}. You can use Series and Duplicate for this. Once you have these lists, you need to combine them. Either use the Path component (looks like a branch with leaves) to create paths directly from integers, or use the Format component (which looks like {0}) to create text that can be interpreted as paths.

Once you have your paths, then either build a tree from scratch, or modify an existing tree using Path Replace.

some metahopper tricks can make this possible without explicitly constructing your paths: 

Attachments:

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service