owing:
{0}0. d1. e2. f
3. g4. h5. i
{1}0. a1. b2. c
3. g4. h5. i
{2}0. a1. b2. c
3. e
4. f
5. g
Thought maybe I could use relative Item but I cant figure out how to do an offset that includes multiples.
…
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!…
e possible to change the component definition making possible to customize the number of outputs.Now Dispatch moves "true" values to A and "False" values to B
INPUT:
L (List to work on) -> 1, 2, 3, 4, 5, 6, 7, 8
D (Dispatch Pattern) -> True, False
OUTPUT:
A (List) -> 1, 3, 5, 7
B (List) -> 2, 4, 6, 8
Could it be possible/useful to modify it so it could dispatch items to several outputs, like:
INPUT:
L (List to work on) -> 1, 2, 3, 4, 5, 6, 7, 8, 9, 0
D (Dispatch Pattern) -> A, B, C
OUTPUT:
A (List) -> 1, 4, 7, 0
B (List) -> 2, 5, 8
C (List) -> 3, 6, 9
maybe I'm missing something and there's already a component with this function... I have been searching on the forum for half afternoon, but can't find anything about it!
Thank you!…
t.
I tried to convert the tlb to a dll with tlbexp but that says:
TlbImp : error TI1029 : Type library was exported from a CLR assembly and cannot be re-imported as a CLR assembly.
The tlb can be used in VBA/Excel but I want to access it directly from GH.
Is there a way?
Thanks…
Added by Mihai Pruna at 4:53pm on December 5, 2013
actually in position 3)
Weave is useful when you have two lists with several objects in each, and you want to combine them into one list, in a particular order (that order being the "Pattern")
So if you have a list with letters: A, B, C, D, E, F... into input 1
And a list of numbers: 1, 2, 3, 4, 5... into input 2
With the pattern: 1, 1, 2
The output of the weave would be A, B, 1, C, D, 2, E, F, 3...
Until it runs out of list.
Hope that helped!
john…
this doesn't make any sense... but the Data Log component for Firefly does essentially what the Data Recorder now does (although the Data Recorder is much more compact)... The only difference is that there is a Wrap input which would create the list as above.…