Grasshopper

algorithmic modeling for Rhino

Hey All

Hopefully this isn't too complicated, branches are unfortunately my biggest gh weakness. How would i go about changing branches from:

{0;1}

{0;2}

{0;3}

{1;1}

{1;2}

{1;3}

{2;1}

{2;2}

{2;3}

to

{0;1}

{0;2}

{0;3}

{0;4}

{0;5}

{0;6}

{0;7}

{0;8}

{0;9}

Thanks in advance

Views: 424

Replies to This Discussion

{A;B} -> {0;path_index} 

as a mapping in the Path Mapper.

--

David Rutten

david@mcneel.com

Poprad, Slovakia

what would you call this operation? I can never think of a good name for it.

repath?

I like to call it peel tree. Its like your grabbing each of those ends and peeling them apart. Like this :D

educational! thanks guys, i like the 'peel', think it will make it easier to remember

It's called RenumberBranches in the GH SDK.

--

David Rutten

david@mcneel.com

Poprad, Slovakia

here is a way

So elegant and simple.  Branches are one of the weakests part of my game as well.  I've stumbled over trying to do this before.  Thanks for the heads up.

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service