ill allow you to input a collection of data with the same value occurring more than once.
Basically the Set component allow you to perform operations on collections of data, rather than individual elements. So, whereas the subtraction component takes one number and subtracts another number from it, giving you a third number, resulting in something like:
10 - 6 = 4
The Set subtraction (officially called Set Difference) operates on collections. It leaves the values untouched, but returns a new collection containing zero or more of the elements that were present in the input collections:
{A;B;C;D;E;F} - {B;E;F} = {A;C;D}
where A, B, C etc. could be any value of the types mentioned above. For example:
{4;6;8;"hello";"world";True} - {6;"world";True} = {4;8;"hello"}
Set components are quite useful, but be careful when using data types with floating point numbers, as they have to be exactly the same or Sets will treat them as two different members. I.e. 1.0 is not the same as 1.00000000000000000002
--
David Rutten
david@mcneel.com
Poprad, Slovakia…
Added by David Rutten at 12:00pm on April 27, 2012
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…
I have a problem:
although it looks quite simple something's not working here.
may i kindly aks you to send me this ghx file? to:
a l l 4 p o f f AT g m x . n e t
Thanx so much!
ace Surf = NurbsSurface.CreateNetworkSurface((C), 1, RhinoDoc.ActiveDoc.ModelAbsoluteTolerance, RhinoDoc.ActiveDoc.ModelAbsoluteTolerance, RhinoDoc.ActiveDoc.ModelAngleToleranceDegrees, out error);
S = Surf; switch (error) { case 1: E = "Curve sorter failed"; break; case 2: E = "Network initializing failed"; break; case 3: E = "Failed to build surface"; break; case 4: E = "Network surface is not valid"; break; default: E = ":)"; break; } }
…
It could look like this in a panel
{0}
0 - A
1 - B
{1}
0 - C
1 - D
{2}
0 - E
1 - F
question: can you operate on elements between branches?
By default, when you apply polyline, it will connect the elements inside their branch. But how do we connect '{0} 0 - A' with '{1} 0 - B' and '{2} 0 - C'?
2)If we have 6 elements (A,B,C,D,E,F) at the same level or issued from a flatten operation, how do we create a tree like this one:
{0}
0 - A
1 - B
{1}
0 - C
1 - D
{2}
0 - E
1 - F
?
3) a work around would be to reverse the branch:
as the following transformation:
from this list:
{0}
0 - A
1 - B
{1}
0 - C
1 - D
{2}
0 - E
1 - F
that would transform in this one
{0}
0 - A
1 - C
2 - E
{1}
0 - B
1 - D
2 - F
?
4) Can we do such operation:
from this list:
{0;0}
0 - A
{0;1}
0 - B
{1;0}
0 - C
{1;1}
0 - D
{2;0}
0 - E
{2;1}
0 - F
to
{0}
0 - A
1 - B
{1}
0 - C
1 - D
{2}
0 - E
1 - F
5) I saw in a previous discussion in the VB# corner (about grid) that David was suggesting using some methods but I don't know how to use the "GH_Path" and the "Grasshopper.DataTree" object? is there other methods which are not mention either in SDK doc and Primer Grasshopper hand book?
Many thanks…
oblete (Tools ID), Sebastián Pulgar (Rhinoceros Chile) y este servidor, para el seminario: ” Diseño y Fabricación de Productos con Rhinoceros“
El programa es el siguiente:
10:00 Bienvenida: David Torreblanca Coordinador Centro Tecnológico de Diseño DuocUC
10:15 Conferencia Rhinoceros: Diseño, Academia e Industria (René Medel)
11:15 Charlas Diseño y fabricación de Productos con Rhino en Chile (Guillermo Parada + Alvaro Poblete)
12:15 Workshop Modelamiento Generativo Paramétrico con Grasshopper (Sebastián Pulgar + René Medel)
13:00 Lanzamiento Concurso de Modelamiento 3D DuocUC con Rhinoceros
13:15 Cierre:preguntas, opiniones y comentarios del público
Los esperamos cordialmente a todos los que quieran asistir. La entrada es liberada. (Av. Vespucio 1501, Cerrillos. Duoc Plaza Oeste)…
ce as "{95CD20AA-AD72-11D3-B086-0010A4F5C335}" to the IID connection failed due to the following error: do not support this interface (exception from HRESULT:0x80004002 (E_NOINTERFACE)).
…