generative modeling for Rhino
Can someone please direct or tell me the differences between these different data management systems... I understand the basic concept of the branch data, but don't really understand how to use the sets and strings... please help... Thanks

In the next release the Path logic in Grasshopper is somewhat different. I fixed a number of obscure bugs (hopefully without introducing new fresh bugs) and special cased certain operations to somewhat reduce the speed at which paths grow. This may well break files that rely on a specific tree layout, but I hope the temporary sacrifice will be worth the long-term benefits.
--
David Rutten
david@mcneel.com
Poprad, Slovakia
Permalink Reply by Jason Wheeler on June 21, 2012 at 1:48am David... Thanks so much for the quick reply, I'm sure your a busy person! This deff helps out a lot understanding the differences and how they are used.... but to clarify a bit
1) If a List can contain everything that a Set can what is the benefit from using the Set?
2) As Strings are simple text, is this just as simple as it sounds or is/can it be representational? Ex. A=5 or A=(5,3,9) like in mathematics and programming
Lastly, 3) Can List components be used to control branches or just the specific items in the whole list? I have a group of data (from the SBox component) that I divided, using the subset length n component from Pieter http://www.grasshopper3d.com/xn/detail/2985220:Comment:444534, into separate branches and I am trying to use the Cull Pattern component to cull the different branches to apply a different geometry to this new group(list?) of data.... I have attached the files and a screenshot.
As always, thank you so much for your help!!!

1) If a List can contain everything that a Set can what is the benefit from using the Set?
There is no benefit. Which is why Sets aren't actually a type of storage in Grasshopper. It's just that some components internally treat Lists as Sets. These components look at the value of the items in the Set rather than their position in memory. This is why the [Item Index] component works differently from the [Member Index] component. Both do something useful although you almost always need [Member Index].
2) As Strings are simple text, is this just as simple as it sounds or is/can it be representational? Ex. A=5 or A=(5,3,9) like in mathematics and programming
I don't quite follow. Strings are text. There is no meaning to them beyond that. However some components/parameter may choose to interpret strings. For example if you plug a string with value "0.5 * Pi" into a number parameter, it will attempt to evaluate that expression as a number and it will adopt the number value 1.5707963267948966192313216916398. If you plug a string that does not evaluate to a number into a number parameter you will get a conversion error.
3) Can List components be used to control branches or just the specific items in the whole list?
Define "List components". Are you talking about all the components inside the Sets→List panel? If so, then no. Components in the List panel do not really give access to the path bit of trees. For that you need components from the Sets→Tree panel.
--
David Rutten
david@mcneel.com
Poprad, Slovakia
Permalink Reply by Jason Wheeler on June 21, 2012 at 3:28am I guess what I was getting at with
2) is how can a String obtain the value "0.5 * Pi" if it only contains text?
3) Yes that is exactly what I was asking.. Great this is helps!! But now the question would be which components from the Tree panel should I be looking to use to retrieve a cull pattern of branches from the tree? Ex. I have a list of 17 branches with 8 items in each and I want to only access every other branch. Such as a "true, false" cull pattern.
Thanks again
Permalink Reply by Danny Boyes on June 21, 2012 at 3:47am Hi Jason,
I demonstrated a cull Nth Nth approach in this discussion http://www.grasshopper3d.com/forum/topics/2nd-item-from-every-2nd-r...
which sounds similar to your needs

A string can contain any collection of characters. "0.5 * Pi" is just one of these possible collections. So is "0;5 * Pi", which is a valid string but cannot be evaluated to a number. "0.5 * iP" is another valid string that does not evaluate to a number.
--
David Rutten
david@mcneel.com
Poprad, Slovakia
Permalink Reply by Jason Wheeler on June 21, 2012 at 4:26am Danny, thanks... that helped a bunch.
David, I also realized that I was confusing the "cull" components as being in the List pulldown menu, so that is probably where the confusion on my part was... also, thank you for the help with understanding strings... again I had a confusion here thinking "text" meant "alphabet".... been a long day, sorry
Thanks again for the help guys
Permalink Reply by Michael Pryor on June 21, 2012 at 6:23am
Permalink Reply by Jason Wheeler on June 24, 2012 at 8:02pm I'm guessing this is directed toward David... I think it would be great to put it in FAQ's as that is where I looked first to find the answer, but I don't know how I would be able to put it there.
© 2013 Created by Scott Davidson.
Powered by