I'm new in using Hoopsnake but already trying to integrate several loops into one. In my example below I try to run through a collection of points in the xy-plane (10 x 10 pnts). The first HS component creates a translation along the x-axis, the second one a translation along the y-axis. After each 10 y-translations (for example {0;0} to {0;10}), I want the point to retrieve at {1;0}, and do the same amount of iterations, but for the new starting point.
For now, the 2 loops don't seem to work together properly. An array component however is not an alternative. I want to integrate this example into a larger script, where it is important to create the different points one at the time. Anyone an idea?
Hoopsnake
566 members
Description
Update:
Hoopsnake is now Open Source!
Check out the repo in Github!
Fork it and fix it :)
Hoopsnake is a component that allows feedback loops within Grasshopper.
Double Loop
by helmut verschooren
Jan 29, 2012
Hi guys,
I'm new in using Hoopsnake but already trying to integrate several loops into one. In my example below I try to run through a collection of points in the xy-plane (10 x 10 pnts). The first HS component creates a translation along the x-axis, the second one a translation along the y-axis. After each 10 y-translations (for example {0;0} to {0;10}), I want the point to retrieve at {1;0}, and do the same amount of iterations, but for the new starting point.
For now, the 2 loops don't seem to work together properly. An array component however is not an alternative. I want to integrate this example into a larger script, where it is important to create the different points one at the time. Anyone an idea?
Helmut