algorithmic modeling for Rhino
Hi,
I should draw lines between 2 data trees of points which are:
treeA
{0;0} N=3
{0;1} N=3
treeB
{0;0;0} N=9
{0;0;1} N=9
{0;0;2} N=9
This way:
line between: item 0 {0;0} treeA and {0;0;0} treeB
line between: item 1 {0;0} treeA and {0;0;1} treeB
line between: item 2 {0;0} treeA and {0;0;2} treeB
line between: item 0 {0;1} treeA and {0;0;0} treeB
line between: item 1 {0;1} treeA and {0;0;1} treeB
line between: item 2 {0;1} treeA and {0;0;2} treeB
I solved the problem in a static way: I banged and grafted every branch of the treeA. Then I put two line components to draw two lines groups between the treeA branches and the treeB.
That's not what I'm looking for.
What I need is that if in the treeA the branches number changes then the algorithm draws lines automatically.
I attached the gha. file.
Thanks for your help.
Tags:
Hi Nikos,
thanks for your reply.
I already tried your solution, It works but all the data are mixed. I need each group of 9 lines in n separate branches.
You can re-partition the branches after the cross-reference. see attached file.
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