Grasshopper

algorithmic modeling for Rhino

Hello,

i need help to repeat my datatree, but with the same branches. I found the "Repeat Data" function, but it doesn´t work the way i need.

What i´m looking for:

Datatree before:

{0}

0:Text

{1}

0:Text

1:Text

{2}

0:Text

1:Text

2:Text

Datatree after repeat:

{0}

0:Text

{1}

0:Text

1:Text

{2}

0:Text

1:Text

2:Text

{3}

0:Text

{4}

0:Text

1:Text

{5}

0:Text

1:Text

2:Text

...

Thank you for help

Views: 1811

Replies to This Discussion

The component to use is actually [Tree Branch] which is a bit non-intuitive
While normally used for retrieving tree branches, duplicating the Paths 'P' means that it 'retrieves' multiple times, effectively duplicating it.

Right-click the [Tree Branch] component and turn off Maintain Paths means that, after retrieving the path, it will proceed to ignore the branch path and Renumber them in to {0},{1},{2],etc.

So initial branch path information is lost, but the grouping is kept.

Attachments:

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service