a follow up question... how do I wrap a list onto itself at a certain frequency?
i.e. I want the list {1;2;3;4;5;6;7;8;9}
to become {1,4,7; 2,6,8; 3,6,9} wrapped every 3rd item
Added by Joshua Jordan at 5:30pm on November 17, 2012
Hi,
I want to divide curve with distance between points so it will be like this:
1--2---3----4-----5------6-------7-----, ...
with values in range 1 to 50, must be simple but im stuck..
tnx
13 5 15 6 17 7 ... …
But it seems I have not been clear:
the input values (3,5,7,9,11,13) should be presented in the way of "number slider" parameter. So by increasing the value of the slider from minimum 3, to 5, 7, 9, 13, 15, 17... I should get an output numbers of 0,1,3,4,5,6,7...
So I if choose value 3 on the input "number slider", on the other end, I want 0 as an output.
Or if I choose value 5 on the input "number slider", I want 1 as an output, and so on.
Is this possible?…
.#...
In parameter viewers, we see the number inside the branches remains while going through components (a list of 4 branches of points like {1},{3},{4},{7) put into a polyline component returns an output of polylines with branches {1},{3},{4},{7}).
This was easy to handle, straightforward.
pic2. Grasshopper 0.9.#...
passing through certain components the input branches {1},{3},{4},{7} get "reset" as follow:
{1} becomes {0}, {3} becomes {1}, {4} becomes {2}, {7} becomes {3} etc...
So far the way around this that I know is to replace branches afterwards, but in a real-life GH definition it soon gets extremely fastidious. Not talking about fixing older GH files that get messed up when opened with GH 0.9.#...
Must be a smarter way I'm missing on.
Is there somewhere a setting to get back to the more user friendly GH0.8 way. And some solid reason behind this change?
Thanks.…