generative modeling for Rhino
Hi all!Nice to meet you!
I'm a new member of Grasshopper's comunity!I've already a question for you!Is it possible entwine in the same file hoopsnake and SPM(or hoopsnake and kangaroo)?...
I think the problem is that hoopsnake has a kind of "timer" and Kangaroo or SPM has another kind of timer,so if I swich on both components they go to crash together and the algorithm doesn't work, because they work on different temporal frequencies...
Please help me! :) no one has ever tried this combination?
I'm afraid it's close to impossible to combine Kangaroo with Hoopsnake. It's actually not about timing, but really about completely different approaches to iteration. Hoopsnake makes use of solution end events, while Kangaroo I would suppose does have a timer somewhere, somehow. Not much to do here I'm afraid.
You can combine both, but you have to remove the timer from Kangaroo and directly specify how many sub-iterations you want to use with the Kangaroo Settings.
Attached a quick example file that uses HoopSnake to drive the iterations of Kangaroo.
Note that if the logic of the kangaroo input changes you need to use the boolean toggle to reset the system before you use the 0 & 1 value again. This cannot be done automatically in the loop, but has to be done manually. This prevents the system from becoming very flexible - unfortunately. If anyone knows how to overcome this restriction that would be great!