generative modeling for Rhino
Hi all:
I´ve been working on this proyect, and i had to spend a couple hours in order to arrange my data structure.
I was able to fix it but i think is really really messy.
Could one of you guys show me a cleaner, faster and more elegant way?
So first i had this 2 data structures:
0,0,0
0,0,0,0,0,0
I used a bunch of graft tree components to make both
0,0,0,0,0,0,0,0,0
Im sure im missing something, i dont think i have to use so many graft tree components
There must be another component that achives this
Finally i used the path mapper since the structure was line this
0,0,0,1,0,0,0,0,0
0,0,0,0,0,0,0,0,1
so
A,B,C,D,E,F,G,H,T _____A,B,C,E,F,G,H,I,D
Thanks for your help
Regars
Mario
Tags:
Permalink Reply by Luis Fraguada on June 14, 2012 at 11:35am Do you not have the option to simplify the paths?
Permalink Reply by Michael Pryor on June 14, 2012 at 11:42am 
Hi Michael,
the path mapper operates on placeholder variables. Numbers are just evaluated as numbers. Try using 'A', 'B', 'C', 'D' etc. instead of '0'
--
David Rutten
david@mcneel.com
Poprad, Slovakia
Permalink Reply by Michael Pryor on June 14, 2012 at 1:31pm yes I know, I just typed this in on a whim that it might work and I thought it did in this situation for adding paths of just 0, did it not? Although, I personally would just use simplify rather than increasing the path count.
Permalink Reply by Danny Boyes on June 14, 2012 at 11:44am also flatten the outputs and then graft the input to loft would also get the results for this case. but if you are happy to use a path mapper for one set why not do it for both.
list 1
{A;B;C}(i) --> {i}
list 2
{A;B;C;D;E;F}(i) --> (i)
both of these actions reduces the list down to one branch per item at the highest level.
Permalink Reply by MARIO VERGARA on June 14, 2012 at 2:40pm Thanks so much to all of you guys for all your help
i used simply tree ....it really makes a good job!
Regards
Permalink Reply by Michael Pryor on June 14, 2012 at 2:50pm also, in case you do not know already besides the component simplify is also an input/output option. It was added with graft, flatten, and reverse.
Permalink Reply by MARIO VERGARA on June 14, 2012 at 2:51pm testing_
sweet....thanks michael!!!
© 2013 Created by Scott Davidson.
Powered by