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
thank you very much for your reply pieter,I'm wondering if there were more than 3 expressions how will it be?I mean if it was X, X+12, X+24, X+36 and more...and that depended on a slider.
ed list of arcs which have different radiuses. In other words, if I have a group of NURBS cuves, I want to be able to split them up with a series of arcs that have families of radiuses, say every meter.
This means that I could rebuild my NURBS curves in the following way:
NURBS 1: [rebuild with 5 arcs] :
Arc 1 (25m radius) + Arc 2 (17m radius) + Arc 3 (44m radius) + Arc 4 (33m radius) + Arc 5 (12m radius)
NURBS 2: [rebuild with 3 arcs] :
Arc 1 (25m radius) + Arc 2 (17m radius) + Arc 3 (12m radius)
Ect...
In this example there are 2 instances of 25 m radius arcs, 2 instances of 17 m radius and 2 instances of 12 m radius.
These would be fitting to best rebuild the NURBS curves with a tolerance.
I have started by trying to group similar points of curvature along the NURBS curve, but not sure is a good way to proceed.
Not sure if its clear what I want to achieve, but any advice would be great!
Thanks
dan…
rve
10 curve
11 curve
12 curve
13 curve
...and I'd like to rearrange the order in which the curve are listed, to something like this:
{0,0,0}
0 curve
1 curve
8 curve
9 curve
10 curve
11 curve
2 curve
3 curve
4 curve
5 curve
12 curve
13 curve
6 curve
7 curve
I hope this makes sense.
Thank in advance for any advice,
John…
bers of point) index
and I called the last point as indexMax
that what I wrote I am sure that I made some mistakes- so if one of you can help me I will be more then glad
If abc(sin(3 * pi() * ptList / ptLast)) < 0.5 Then harmony = 3 = z, 2 = x, 1 = y
A = 0
Else
A = 1
n = 0
For n < ptLast
If A(n) = A(n + 1) Then
Zf(n) = Z(n) + 12 * A(n)
n = n + 1
End If
(n + 4) < ptLast Then
Zf(n) = Z(n) + 12 * A(n)
Zf(n + 4) = Z(n + 4) + 12 * A(n + 4)
Zf(n + 2) = Z(n + 2) + 6
Zf(n + 1) = Z(n + 1) + 6 - 3 * (A(n + 4) - A(n))
Zf(n + 3) = Z(n + 1) + 6 + 3 * (A(n + 4) - A(n))
n = n + 5
End If
Else M = ptLast - n
For n<ptLast
Zf(n) = (ptLast - n) / M * 12 * A(ptLast - M) + Z(n)
n = n + 1
End
Zf(ptLast) = Z(ptLast)
…
vector * number
8. number * point
9. point * number
10. complex * complex
11. colour * colour
12. colour * number
13. number * colour
--
David Rutten
david@mcneel.com
Seattle, WA…
Added by David Rutten at 10:39pm on November 12, 2010
ists composed of 3 numbers to loft them separately. The value of 12 is an exemple to simplify my question but this value is not static and can increase to 15,18...
I didn't find a solution to extract my values dynamically, does someone have a solution?
tanks in advance…
was stopped and the solver returned 3 options with the highest fitness score.
(Details are here: http://dimak1999.blogspot.com/2011/02/i-have-not-had-chance-to-use-galapagos.html)…