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!…
g definition but in diva for grasshopper in material it just appear dusty_med and not metal_railings and metal_treads. How I should write the correct definition?
void brightfunc dusty_med4 dirt dirt.cal -s 101 .25
dusty_med metal metal_railings005 .7 .7 .7 .3 .2
dusty_med metal metal_treads005 .5 .5 .5 .3 .2…
Hello,
I am trying to divide surface with 5 or/and more edges into two or more (as much as needed to achieve goal) surfaces with 3 and 4 edges at the same time.
Any ideas how to do that?
Added by Otto Pile at 12:29pm on December 26, 2012
one list by -1 while disabling index wrapping. Essentially, this removes the first item from one list and the last item from the other list. Conceptually, these are your lists:
Source List: [0, 1, 2, 3, 4, 5]
Shift List 1: [0, 1, 2, 3, 4]
Shift List 2: [1, 2, 3, 4, 5]
If you input these lists into a Line component, you will connect each respective list item with the other, essentially 0-1, 1-2, 2-3, etc.
…