Hello Paul,
There are a number of ways to do this, for example you can use duplicate data; the order toggle will alternate between:
1 2 3 1 2 3 1 2 3 and 1 1 1 2 2 2 3 3 3
Hope this helps
Andrei
- False
{0;2}
0 - False
1 - False
2 - True
3 - False
{0;3}
0 - False
1 - False
2 - False
3 - False
Is there anyway I can get a GATE OR result from this list, where the GATE OR is applied between all the corresponding list items. So the end result will be;
{0;0;0} ??
0 - True
1 - True
2 - True
3 - False…
Added by Andrew Butler at 11:26am on November 6, 2010
ok, very similar to what i am looking for, but the thing is i have a list not just like (0,n), its like (0;0)...(0;3),(1;0)...(1;3), (2;0)...(2;3), etc
and says "repeat every Nth element", meaning say if N was 3, I would get A B C C D E F F G H. I would also like to be able to then insert a list of 3 elements in between each of the repeats. For example, I wanted to insert: 1. 1
2. 2
3. 3 into the list, I would get A B C 1 2 3 C D E F 1 2 3 F G H. It seems like an easy task, but I cannot for the life of me figure out how to do it, I must be making a very basic mistake. I am new to grasshopper, so any and all help I could get would be GREATLY appreciated!…
53 → 53 → 63 → 74 → 74 → 84 → 9
As you can see from the above list the connection sequence comes in waves of three, where each group of similar indices on the left is associated with a group of three incrementing indices on the right.
Some combination of Series components will probably generate this list, but it'll only work for the first ring, the second one will need a different connection pattern. It is perhaps better to just encode the integer pairs by hand. But then you cannot change your mind about the number of sides later.…
Added by David Rutten at 10:39am on October 21, 2015