algorithmic modeling for Rhino
hi all
I have a question, I've been trying to do a weave with the branches of two trees, ie the two trees has 7 branches and want toconvert a single tree of 14 branches, but inserting the branch 1 of the first tree to the branch 1 ofthe second, then the branch 2 of the first tree to the branch 2 ofthe second,and so on ...
good if someone thinks something I appreciate in advance ...
Thanks for your interest
hola a todos
tengo una pregunta, he estado tratando de hacer un weave con las ramas de dos arboles, es decir, los dos arboles tienen 7 ramas y los quiero convertir en un solo arbol de 14 ramas, pero intercalando la rama 1 del primer arbol con la rama 1 del segundo, luego la rama 2 del primer arbol con la rama 2 del segundo, y asi sucesivamente...bueno si a alguien se le ocurre algo se lo agradezco de antemano...
gracias por su interes
Tags:
hello Danny
thanks a lot for your help.
i try to use your solution whit merge but it don´t work for my problem. i attach the definition and one image to show you the real problem.
My method is to use 'path mapper'. If 2 trees have different structures, e.g. one is like {0;1};another like {0;0;1} then just simply use 'merge'. However if same structures, you have to differentiate them via 'path mapper', for instance {A;B} (i) to {A;B;0} (i) then 'merge' them.
Your different paths theory is flawed. The Merge Component will not weave like you suggest as it will look at the data paths to get their placement in the new tree. See Below.
However, your path mapper theory will work because it is putting a zero after the significant branch level so weaving will happen in the Merge Component.
Danny, you are right. Only under second condition it will work. so the different structures sometimes still need to be sorted out into condition 2.
Thanks for reminder. You are absolutely master of data processing.
hey guys thanks a lot for your help
i already fix my problem using the commets of both of you, Danny i undestand now becouse my first merge don´t work, the pahts are the same and the component merge both in only one branche.
the image show my solution
thanks guys again
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
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by