Grasshopper

algorithmic modeling for Rhino

Hi! 

I have a list of points within a tree structure and I would like to modify the order in which the branches appear (and therefore the points). Say the original order of the branches is {0;0},{0;1},{0;2},{0;3},{0;4},{0;5}... and I want to get {0;0},{1;0},{2;0},{3;0},{0;1},{1;1}... I already have these latest values within another list (see JPG attached). 

THX!!

Views: 1889

Attachments:

Replies to This Discussion

Hi owe,

the order of branches is determined by their sorting order. You cannot change it without also changing the branch paths.

You'll have to modify your branch paths to enforce this new sorting:

You can achieve this with [Path Mapper] (as shown above) or with [Replace Paths].

--

David Rutten

david@mcneel.com

Tirol, Austria

got it. thanks!

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service