ng its top is 5/6 so I guess there is a pattern developing here.
Cube missing 1 face (6-1)/6 = 5/6
Cube missing 2 faces (6-2)/6 = 4/6 (2/3)
Cube missing 3 faces (6-3)/6 = 3/6 (1/2)
cube missing 4 faces (6-4)/6 = 2/6 (1/3)
…
etc...}
the function just output numbers in the necessary syntax for the replace component.
in the image, there is a duplicate component so i think that the output function is:
{0} five times, {1} five times, {2} five times, {etc...}
The S input in the replace component its a series of integers (i think 0 to 35 in the image, 36 elements = the length of the list):
0, 1, 2, 3, 4, 5, ..., 35
Also R input its exactly 36 elements.
The replace component re-order the branches like this:
take the s={0} element and put it on r={0}, then
take the s={1} element and put it on r={0}, then
take the s={2} element and put it on r={0}, then
take the s={3} element and put it on r={0}, then
take the s={4} element and put it on r={0}, then
take the s={5} element and put it on r={1}, then
take the s={6} element and put it on r={1}, and so on...
i hope it helps...…
se the cull pattern, so I wanted to make the pattern using a function component. x=y. x= the original list and y= the interval i wanted to remove. So the pattern should be:
0: false
1:false
2:false
3:false
4:true
5:true
6:true
7:true
8:false
9:false
10:false
etc...…
Added by Rasmus Holst at 3:32am on November 17, 2009
trude component as at present it is to short to boolean all of the edges of so you solid difference output is giving you 3 surfaces and not just the middle 1. Best way to do this is just click on D of the extrude then manage vector lenght and increase the number to 4 say (thats what i did)
hope this helps
matt…
Added by Matt Gaydon at 1:33am on February 2, 2010
ork out from the path Structure which the sections are by the branch address.
If your planes start on the left then you would have seen
{0} (N = 3) <-- these are your first 3 planes missing the bar
{0;3} (N = 1)
{0;4} (N = 1)
{0;5} (N = 1)
{0;6} (N = 1)
Like I said there is a bug which will be resolved when GH 0.9+ will be released and each plane will have its own branch regardless of a Null value or not…
of the intersection points is giving me some problem.
Here is the process i've done to come up with the grid (best viewing the image!):
1. create a base rectangular polygon;
2. find the diagonals and subdivide these, let's say in 10 points;
3. connect the points of one diagonal to the adjacent one in this order:
1 to 9
2 to 8
3 to 7
4 to 6
5 to 5
6 to 4
7 to 3
8 to 2
9 to 1
4. find the intersection points on every line drawn.
Now I would like to create individual surfaces connecting all the points that form the vertices of the polygons, but I cannot find out how...
Can somebody help me?
Thanks so much!…
Integer = 0 To 9
val *= 2
lst.Add(val)
Next
Since val is a ValueType, when we assign it to the list we actually put a copy of val into the list. Thus, the list contains the following memory layout:
[0] = 2
[1] = 4
[2] = 8
[3] = 16
[4] = 32
[5] = 64
[6] = 128
[7] = 256
[8] = 512
[9] = 1024
Now let's assume we do the same, but with OnLines:
Dim ln As New OnLine(A, B)
Dim lst As New List(Of OnLine)
For i As Integer = 0 To 9
ln.Transform(xform)
lst.Add(ln)
Next
When we declare ln on line 1, it is assigned an address in memory, say "24 Bell Ave." Then we modify that one line over and over, and keep on adding the same address to lst. Thus, the memory layout of lst is now:
[0] = "24 Bell Ave."
[1] = "24 Bell Ave."
[2] = "24 Bell Ave."
[3] = "24 Bell Ave."
[4] = "24 Bell Ave."
[5] = "24 Bell Ave."
[6] = "24 Bell Ave."
[7] = "24 Bell Ave."
[8] = "24 Bell Ave."
[9] = "24 Bell Ave."
To do this properly, we need to create a unique line for every element in lst:
Dim lst As New List(Of OnLine)
For i As Integer = 0 To 9
Dim ln As New OnLine(A, B)
ln.Transform(xform)
lst.Add(ln)
Next
Now, ln is constructed not just once, but whenever the loop runs. And every time it is constructed, a new piece of memory is reserved for it and a new address is created. So now the list memory layout is:
[0] = "24 Bell Ave."
[1] = "12 Pike St."
[2] = "377 The Pines"
[3] = "3670 Woodland Park Ave."
[4] = "99 Zoo Ln."
[5] = "13a District Rd."
[6] = "2 Penny Lane"
[7] = "10 Broadway"
[8] = "225 Franklin Ave."
[9] = "420 Paper St."
--
David Rutten
david@mcneel.com
Poprad, Slovakia…
Added by David Rutten at 6:26am on September 9, 2010