Grasshopper

algorithmic modeling for Rhino

is there a way to create new branches from their values?

Hi,
I have a tree that has 20 branches and each branch has 16 values
{0;0;0} (N=16) ....{0;0;19} (N=16)
is there a way to create 16 branches with 20 values?

New branch {0;0;0} (N=20) will contain every first values from the previous branches ...... new branch {0;0;15} (N=20) will contain every last values.

Thanks!

Views: 413

Replies to This Discussion

Hi Andrea

See this post where Sameer Kumar has explained the Path mapper component which is one way tor re-sort the lists. Path Mappper is the little Red Cube that can be found at Logic > Tree > Path Mapper.

http://www.grasshopper3d.com/forum/topics/path-mapper-component-what

Matt
for this particular case you could the following:

use a path mapper with mask {0;0;A}(i) > {0;0;i}(A)
Thanks!!

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service