Grasshopper

algorithmic modeling for Rhino

Hello

I have data structured as {A,B}(i), where the numbers of B branches can vary from A0 to An.

I simply wants to flatten the B branches without loosing any item.

 I tried with some tree commands but I can't find the way!

I worked around playing with list lengths, flatten and split, but it is time consuming.

Any help appreciated!

Views: 2242

Attachments:

Replies to This Discussion

I think you're looking for the "Trim Tree" component. (It's a partial flatten that throws away the last n digits of the path).

Oh yes!!! Thank you! I never noticed it.. sorry!

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

© 2023   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service