y, I'm trying to create a definition that will allow me to move a series of planes different amounts in the x or y direction, based on there heights [z].So for example if the plane is 3' high or less it will move only 1' in the x and/or y directionif the plane is between 3'-5' then it will move 2' in the x and/or y directionif the plane is between 5'-10' it will move 3' in the x and/or y directionthoughts?…
ee 3)
{5}
0 15
{6}
0 16
And I want to place points at every possible combination of these coordinates, treating Tree 1 as X coordinates, Tree 2 as Y coordinates, and Tree 3 as Z coordinates. Also, I would like the list of points to be a tree with paths corresponding to the coordinates. Wouldn't it be nice if I could plug these trees into a Point XYZ, with a new "branch cross reference" method, and get the following result?
{0:3:5}
0 {10.0, 13.0, 15.0}
{0:3:6}
0 {10.0, 13.0, 16.0}
{0:4:5}
0 {10.0, 14.0, 15.0}
{0:4:6}
0 {10.0, 14.0, 16.0}
{1:3:5}
0 {11.0, 13.0, 15.0}
{1:3:6}
0 {11.0, 13.0, 16.0}
{1:4:5}
0 {11.0, 14.0, 15.0}
{1:4:6}
0 {11.0, 14.0, 16.0}
{2:3:5}
0 {12.0, 13.0, 15.0}
{2:3:6}
0 {12.0, 13.0, 16.0}
{2:4:5}
0 {12.0, 14.0, 15.0}
{2:4:6}
0 {12.0, 14.0, 16.0}
In this form of cross referencing, every combination of individual branches from the different lists is used as separate input, and the output for each combination is put onto a branch in the result whose path is the concatenation of the input branch paths used.…
Added by Andy Edwards at 7:03pm on November 3, 2009
z ^ 2) + 4 * x * y * z - .5, -1)
When I run the VB script, I get an error. When I reopen the VB editor the math expression has changed itself to the following:
A = -(x ^ 2 + y ^ 2 + z ^ 2) * If((Math.Abs(x) < 1) & (Math.Abs(y) < 1) & (Math.Abs(z) < 1), (.5 ) 0.7 ) 0.7 ) 5, -1)
any ideas why this is happening?…
e a list of coordinates which I need to sort in groups as per a series of numbers in another list. Both are txt files which I'm reading to bring a series of points in but those points are generated with a corresponding index.
Of course the lists are not sorted in any way, but the numbers are corresponding so it looks like a series of 9, 6, 7, 2, 8, 0, 9, 5, 6, 4, 2, 3, 8, 5, 5, 6, 9, 4 in one file( and series of (X, Y, Z) coordinates in the other.
The question is how can I make it to sort the list and then split it per index... if it is possible... or should I just do this in excel and bring clean lists in?
My idea, if it works, is use the series of points to generate paths and work with them.
I'll attach the lists just if it helps making a clear idea.
Any advice will be very welcome.…
ow should the new curve be? Should it have a Z=3, a Z=2, a Z=5(2+3) or a startZ=3 and endZ=2?
There would also be a problem if 2 curves intersect somewhere in between their endpoints... How should this point's movement affect the curves?
Maybe you should rethink your approach. If your end goal is to move the curves maybe it would be more efficient to get the endpoints of each curve instead of the intersection points...
Take a look at the attached example file. Can you draw in rhino the final curves (after move)? It would help explain what you want :)…