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!…
Pérez Albà McNeel Europe presents Rhino 5.0, Matus Nedecký (flying architecture) and Fabio Palvelli (3D Dreaming) show VRAY for Rhino and rendering services for architecture. We also show the new Wacom Cintiq 22 HD touch.
There are 2 events, the first at 15:00 and the second at 18:30. Places are limited to 30 people each.
As a special event you can switch between the events at a basic coffee seminar "Coffee - from the plant to the cup" part. Coffee Museum in Austrian society and economy museum was founded by Edmund Mayr, who injected together with Arch Wilhelm Holzbauer, the increase of the flak tower in Esterhazy Park. His passion for collecting are also due to the many exhibits that he has collected from all over the world. Additionally Mag. Just shows a quick roundup of "100 Years of Life and Living in Vienna" and how the inventions of Dr. Carl Auer von Welsbach changed the world significantly.
program: 15:00 to 15:45 Presentation software Autodesk Maya 2014 (group 1)
15:45 -. 16:00 Tour "100 years of life and living in Vienna / Dr Carl Auer von Welsbach in the Agricultural Museum (Group 1)
16:00 to 16:45 Presentation software Rhino 5.0 and VRAY (group 1)
5:00 p.m. to 6:15 p.m. basic coffee seminar "Coffee - from the plant to the cup" with Mr Edmund Mayr
18:30 to 19:15 Presentation software Autodesk Maya 2014 (Group 2)
19:15 -. 19:30 Tour "100 years of life and living in Vienna / Dr Carl Auer von Welsbach in the Agricultural Museum (Group 1)
19:30 to 20:15 Presentation software Rhino 5.0 and VRAY (Group 2)
20:15 finger found, drinks and "Come Together"
22:00 End of the event
Participation is FREE, due to the limited number of places but registration is required. To register for the event, we ask you to select the following options:
Online Registration 15:00 http://www.kkkc.at/component/seminar/?task=3&cid=5
Online Registration 18:30 http://www.kkkc.at/component/seminar/?task=3&cid=6
or by email: office@kkkc.at
or Tel: 01-545 78 25…
cture, Rhino treats them as a single flat list. For example a surface can have 10 rows and 6 columns of control-points, resulting in a list of 60 points.
But 10 times 6 isn't the only way to get to 60. If you want to make a surface out of a list of 60 points, you'll also have to tell Rhino how those 60 points should be interpreted in terms of a grid. It could be 2*30, 3*20, 4*15, 5*12, 6*10, and all of the aforementioned products the other way around.
Sometimes there's only one way for a number of points to fit into a rectangular grid. For example if you provide 49 points, then 7*7 is the only way to make it work, but these cases are rare so we always demand you give us all the information required to actually make a rectangular grid of control-points from a linear collection.
As for "Why is it, sometimes we need to attach additional value into it?", this is usually because when you divide a domain or a curve into N segments, you end up with N+1 points. For example take the domain {0 to 5}, and divide it into 5 equal subdomains. You end up with {0 to 1}, {1 to 2}, {2 to 3}, {3 to 4} and {4 to 5}. However there are six numbers that mark the transitions between these domains 0, 1, 2, 3, 4 and 5. This is why you often have to add 1 to the UCount, because the number that controls the UCount often results in N+1 actual points.…
Added by David Rutten at 8:30am on December 25, 2014
t, let's talk about randomness. Randomness is a problem in computing because digital computers are deterministic. If you give them the exact same instructions they always end up with the exact same result. It turns out to be mathematically impossible to generate true random numbers using a digital computer, but it is fairly easy to generate pseudo-random numbers. This is actually not bad news as pseudo-random numbers -unlike real random numbers- can be generated again and again and you'll end up with the same random numbers every time. Being able to get the same random numbers on demand increases the reliability of these number sequences which in turn makes them easier to use.
Pseudo-random numbers are numbers that have certain characteristics. Note that when we talk about random numbers we are really talking about numbers. Plural. It's easy to generate only a single one, as xkcd so eloquently put it:
So what are these characteristics that define pseudo-randomness? Without being actually correct, I can sum them up as follows:
The sequence of generated numbers should never repeat itself*
The numbers in the sequence ought to be spread evenly across the numeric domain**
There are a lot of different algorithms out there, some better than others, some faster than others, some solving very specific problems while others are more generic. The generator used in Grasshopper is the standard Microsoft .NET Random, based on Donald Knuth's subtractive algorithm.
So let's imagine we want random integers between 0 and 10. What would a bad random sequence look like?
3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 (about as bad as it gets)
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 (not random at all)
1 3 2 5 3 9 1 2 4 2 5 1 1 2 8 1 5 2 3 4 (too many low numbers)
2 8 4 6 0 9 8 2 4 8 6 4 2 2 5 1 4 8 6 2 (too many even numbers)
So what about good sequences? Well, here's a few:
6 9 1 2 0 4 2 8 5 7 2 9 1 9 2 5 3 1 9 2 (sure, why not)
6 2 5 3 4 1 9 7 8 0 2 1 6 4 5 8 9 5 0 9 (looks about right)
1 8 5 2 3 4 5 7 9 5 2 1 0 2 1 0 9 7 6 4 (I suppose)
9 0 6 4 8 3 1 5 2 7 6 1 4 6 0 1 9 7 5 6 (whatever)
There are a lot of valid pseudo-random sequences. (Seriously, loads). So even if we have a good pseudo-random generator we may be given a random sequence that isn't entirely to our liking. The shorter the sequence we need, the more likely it is that statistical aberrations invalidate that particular sequence for us. What we need is some control over the generator so we don't just get a repeatable sequence, but a repeatable sequence we actually like.
Enter seed values. The random generator requires a seed value before it can generate a random sequence. These seed values are always integers, and they can be any valid 32-bit integer. Every unique seed value results in the same sequence. Every time.
Unfortunately there is no clear relationship between seeds and sequences. Changing the seed value from 5 to 6 will result in a completely difference random sequence, and two sequences that are very similar may well have to wildly different seeds. There is therefore no way to guess a good seed value, it is completely trial-and-error. Also because of this extremely discontinuous nature, you cannot use tools like Galapagos to optimize a seed value.
If you are looking for a pseudo-random sequence which has custom characteristics, you may well end up having to write your own generator algorithm. Ask questions about this on the Grasshopper main forum or the VB/C# forum.
Conclusion: Seed values are integers that define the exact sequence of pseudo-random numbers, but there's no way of knowing ahead of time what sequence it will be and there's no way of tweaking a sequence by slightly changing the seed. Even the tiniest change in seed value will result in a radically different random sequence.
--
David Rutten
david@mcneel.com
Poprad, Slovakia
* This is not actually possible. A finite amount of numbers always repeats itself eventually.
** This should only be true for long enough sequences, short sequences are allowed to cluster their values somewhat.
Interesting links for further reading:
Coding Horror: Computers are Louse Random Number Generators
StackOverflow: When do random numbers start repeating?…
Added by David Rutten at 9:52am on October 20, 2012
une 7 at Madison Square Garden. Promoted by Miguel Cotto Promotions, Top Rank®, DiBella Entertainment and Sampson Boxing, in association with Maravilla Box, Tecate and Madison Square Garden.Fight Tickets and PPV InfoCotto vs Martinez tickets are now available for purchase online at Ticketnetwork. To charge by phone with a major credit card, call Buy Tickets Center at (855) 859-4045. The fight will be produced and distributed live by HBO Pay-Per-View®, beginning at 9:00 p.m. ET/6:00 p.m. PT.Hall of Fame trainer Freddie Roach is devising a cunning and effective strategy to, badger, outfox, and hound WBC middleweight champion Sergio “Maravilla” Martinez (51-2-2, 28KOs) into a brush with defeat, on June 7th at Madison Square Garden. Roach is training former three division world champion Miguel Cotto (38-4, 31KOs) for the match.“We have seen Martinez fights. I observed him closely when I was in Julio Cesar Chavez Jr’s corner, and he’s very fast. But…like all opponents he can be outboxed. If Miguel focuses on his body, Martinez will loose his speed and that’s when we will knock him out,” Roach mused.Cotto (38-4, 31 KO) and Martinez (51-2-2, 28 KO) will meet for Martinez’s WBC middleweight title and The Ring Magazine championship at Madison Square Garden, promoted by Top Rank, DiBella Entertainment, and Miguel Cotto Promotions.“Face Off” will premiere on Saturday, May 24 at Midnight EDT (so technically, the first minutes of Sunday, May 25, technically), after the May 24 HBO Boxing After Dark card, featuring Bryant Jennings vs Mike Perez, Daniel Geale vs Matthew Macklin, and Edwin Rodriguez vs Marcus Johnson.Other air times:HBO air times include: May 24 (12:00 a.m.), 25 (10:00 a.m.), 27 (3:15 p.m. & 2:30 a.m.), 28 (12:30 a.m.), 29 (5:30 p.m.), 30 (10:30 a.m.), 31 (7:00 p.m.) and June 3 (12:30 p.m. & 3:30 a.m.), 5 (1:15 a.m.), 6 (6:45 p.m.) and 7 (10:45 a.m.).HBO2 air times include: May 25 (5:30 p.m.), 26 (10:45 a.m. & 3:30 a.m.) 30 (4:00 p.m.) and 31 (11:30 p.m.).…
une 7 at Madison Square Garden. Promoted by Miguel Cotto Promotions, Top Rank®, DiBella Entertainment and Sampson Boxing, in association with Maravilla Box, Tecate and Madison Square Garden.Fight Tickets and PPV InfoCotto vs Martinez tickets are now available for purchase online at Ticketnetwork. To charge by phone with a major credit card, call Buy Tickets Center at (855) 859-4045. The fight will be produced and distributed live by HBO Pay-Per-View®, beginning at 9:00 p.m. ET/6:00 p.m. PT.Hall of Fame trainer Freddie Roach is devising a cunning and effective strategy to, badger, outfox, and hound WBC middleweight champion Sergio “Maravilla” Martinez (51-2-2, 28KOs) into a brush with defeat, on June 7th at Madison Square Garden. Roach is training former three division world champion Miguel Cotto (38-4, 31KOs) for the match.“We have seen Martinez fights. I observed him closely when I was in Julio Cesar Chavez Jr’s corner, and he’s very fast. But…like all opponents he can be outboxed. If Miguel focuses on his body, Martinez will loose his speed and that’s when we will knock him out,” Roach mused.Cotto (38-4, 31 KO) and Martinez (51-2-2, 28 KO) will meet for Martinez’s WBC middleweight title and The Ring Magazine championship at Madison Square Garden, promoted by Top Rank, DiBella Entertainment, and Miguel Cotto Promotions.“Face Off” will premiere on Saturday, May 24 at Midnight EDT (so technically, the first minutes of Sunday, May 25, technically), after the May 24 HBO Boxing After Dark card, featuring Bryant Jennings vs Mike Perez, Daniel Geale vs Matthew Macklin, and Edwin Rodriguez vs Marcus Johnson.Other air times:HBO air times include: May 24 (12:00 a.m.), 25 (10:00 a.m.), 27 (3:15 p.m. & 2:30 a.m.), 28 (12:30 a.m.), 29 (5:30 p.m.), 30 (10:30 a.m.), 31 (7:00 p.m.) and June 3 (12:30 p.m. & 3:30 a.m.), 5 (1:15 a.m.), 6 (6:45 p.m.) and 7 (10:45 a.m.).HBO2 air times include: May 25 (5:30 p.m.), 26 (10:45 a.m. & 3:30 a.m.) 30 (4:00 p.m.) and 31 (11:30 p.m.).…
une 7 at Madison Square Garden. Promoted by Miguel Cotto Promotions, Top Rank®, DiBella Entertainment and Sampson Boxing, in association with Maravilla Box, Tecate and Madison Square Garden.Fight Tickets and PPV InfoCotto vs Martinez tickets are now available for purchase online at Ticketnetwork. To charge by phone with a major credit card, call Buy Tickets Center at (855) 859-4045. The fight will be produced and distributed live by HBO Pay-Per-View®, beginning at 9:00 p.m. ET/6:00 p.m. PT.Hall of Fame trainer Freddie Roach is devising a cunning and effective strategy to, badger, outfox, and hound WBC middleweight champion Sergio “Maravilla” Martinez (51-2-2, 28KOs) into a brush with defeat, on June 7th at Madison Square Garden. Roach is training former three division world champion Miguel Cotto (38-4, 31KOs) for the match.“We have seen Martinez fights. I observed him closely when I was in Julio Cesar Chavez Jr’s corner, and he’s very fast. But…like all opponents he can be outboxed. If Miguel focuses on his body, Martinez will loose his speed and that’s when we will knock him out,” Roach mused.Cotto (38-4, 31 KO) and Martinez (51-2-2, 28 KO) will meet for Martinez’s WBC middleweight title and The Ring Magazine championship at Madison Square Garden, promoted by Top Rank, DiBella Entertainment, and Miguel Cotto Promotions.“Face Off” will premiere on Saturday, May 24 at Midnight EDT (so technically, the first minutes of Sunday, May 25, technically), after the May 24 HBO Boxing After Dark card, featuring Bryant Jennings vs Mike Perez, Daniel Geale vs Matthew Macklin, and Edwin Rodriguez vs Marcus Johnson.Other air times:HBO air times include: May 24 (12:00 a.m.), 25 (10:00 a.m.), 27 (3:15 p.m. & 2:30 a.m.), 28 (12:30 a.m.), 29 (5:30 p.m.), 30 (10:30 a.m.), 31 (7:00 p.m.) and June 3 (12:30 p.m. & 3:30 a.m.), 5 (1:15 a.m.), 6 (6:45 p.m.) and 7 (10:45 a.m.).HBO2 air times include: May 25 (5:30 p.m.), 26 (10:45 a.m. & 3:30 a.m.) 30 (4:00 p.m.) and 31 (11:30 p.m.).…