algorithmic modeling for Rhino
Hello Dear Grasshopper Users;
I have a TREE problem.
I have a tree it is such..
0;0
0;1
.
.
.
0;21000
.
.
.
4;21000
I have to simplify the tree in form of 0;1;2;3 and 4 so that I can evaluate each path independently. Pathmapper doesnt seem quite applicable. It looks like that soon i can meet more giant and dinamcal trees.
Can someone help me to deal with it?
Note: It would be appreciated, If simplification step is user defined.
Thanks & Regards
Tags:
PathMapper should be perfectly fine but is quite inflexible once you change the tree struchture. From the looks of it, you are trying to flatten the last branching level? If so, use ShiftPath.
Thank you Hannes. Can you simply confirm if I assign 0 for "O" then I always separate as I meant above? even if the major number goes like 1, 2 , 4, ...100?
If you want to remove the last part of each branch (i.e. merge all items starting with {0; then a mapping like:
{A;B} -> {A}
is going to work. However that mapping does rely on there being two elements to each path which -as Hannes- pointed out is not very transferable. Shift Paths will work on any path layout.
--
David Rutten
david@mcneel.com
Poprad, Slovakia
Offset("O") needs to be -1 in order to collapse the last branching level.
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by