algorithmic modeling for Rhino
hi to all.
Ican achieve this with the use of hoopsnake?
i know recursive concept but I'm not an expert on scripts and I have difficulty to understand the working of the component, there is someone that can help me with this?
I have attached my file .
Thanks.
Tags:
I managed to write a first approach to the algorithm seems to work but can only in replace esisting mode, I would like to decide the number of iterations (formerly 7) and in particular to maintain the results of previous iterations. Can someone help me understand how to do that?
Thanks
this is my new file.
Here's one that kind of works...path mapper is still need though. Actually, I would like (with your permission and credit of course) to include this example in the ones included with HoopSnake. Let me know:)
Yiannis
There is no problem, I'm happy to give my contribution:). I have some questions for you. I don't understand how pathmapper works in this case (since it consists of two row), and second I would like to understand how hoopsnake manages lists of data:
Why hoopsnake needed branch-{0} in "D" imput?
And-if I can fill in the "S" imput lists with more branches?
Thanks Yiannis for your reply and for your great component.
i add another test I'm trying to build the Tower Art by Arata Isozaki with hoopsnake as an exercise to understand more fully the component, at each recursion needs to change the index of the selection component list item, this index is always changing from 0 to 3 , while for the first entry must be 3, I set a definition but do not know if this is the best solution. Let me know
regards Massimiliano
Hi massimiliano,
Thanks for the contribution first of all.
The way hoosnake handles data trees in the prepend mode is that it shifts the first index of all the input paths by one and then adds the new data at position 0.
The path mapper though is needed just to map the line output from {0,0} to {0}. This is so that after the Hoopsnake output it can be picked by the branch component. If you avoid the grafting during the drawing of the lines this component is not really needed. I attach a simplified version of your file.
The S can accept whatever you want, no problem. But it depends afterwards on your generative logic how these are managed.
In order to figure Hoopsnake out, I tried redoing this example with a slightly different logic. Although powerful, I'm still confused as to the "parametric" aspect of Hoopsnake as it seems like it acts more like a script in that you need to "run" it using the "loop" or "auto-loop all" and then "undo" it (using "reset") before running again. This is exactly the same process I use when scripting (run script, undo script, change value, repeat). In addition, input parameters that you think would change the model have no effect until you reset and rerun hoopsnake. Finally, Hoopsnake seems to have trouble with updating the rhino viewport automatically. I don't see any updates until I zoom, pan, or otherwise interact with the rhino viewport.
Yiannis, is there a way to make it more "live" instead of script-like"? Great work though.
Here's the 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
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by