I’m often puzzled about basic curves. How does a degree 2 curve have 4 points? This was joined to the degree 2 curve to the right of it, and I exploded it, and got this.
This… it… maybe attach a file, so forum users can replicate what you did with what you have. Your degree 2 curve must have a knot too many, hence it has 4 CPs. You can use InsertKnot on the curve so you can see where that knot is.
The curve has two spans with an internal knot.
Rhino curves are Non Uniform Rational B Spline curves. The spline part means the curves have multiple spans. Each span corresponds to a single span curve / Bezier curve. A basic multi-span curve of degree K will have CK-1 continuity between spans. So between the spans of degree 2 NURBS curve there will be C1 (tangent) continuity, unless there are multi-knots.
Only “a knot too many” if the user needs a single span curve.
Kaskel Arching Curves (594456).3dm (137.3 KB)
Here’s one curve extracted from the drawing. If one explodes it, it will become 4 point and 3 point degree 2 curves
I’m going to do some reading on it to hopefully explain it.
Now I’m more curious about “the black box”
I drew an arc, and then used the control points from the arc to draw a curve.
They appear identical, but “What” shows 2 different things going on
Here’s the arc:
and here’s the NURBS curve:
So, I am curious :
- how “the black box” knows,
2.if I should even care, and
3.if there is an advantage to one over the other , NURBS vs arc?
Look closer they are not identical.
CurvatureGraph command may help with seeing the difference.
The R in NURBS stands for Rational. Each control point in a NURBS curve has an associated weight. The default weights are all 1 except for some special types of curves. When all of the weights of a curve are exactly 1 the curve is said to be “non-rational”. Look at the results of What for the degree 2 curve you created. It reports the curve as "non-rational. (The terminology can be a bit confusing with both “rational” and “non-rational” NURBS curves when the R is short Rational. But that is the standard terminology.)
Certain types of curves such as arcs, circles, ellipese and hyperbolas, exactly by a non-rational NURBS curve with all weights exactly 1. However they can be represented exactly by a NURBS curve with suitable choices of weights, some of which are not exactly 1. So these curves are “rational”. Use the Weight command to examine the weight associated with a control point.
The arc is rational with some of the weights not 1. The degree 2 curve you created using the same control point locations have weights exactly 1. Therefore the curves have different shapes as mentioned by Jim.
In addition to using CurvatureGraph to compare the curvature of the curves, you can check the maximum deviation using CrvDeviation.
You use the Weight command to change the weights of control points. In general this is not recommended because it may cause problems.
If you need an exact arc use the Arc command to create it. Then various Rhino operations will recognize as an arc which can be helpful in certain situations. Same for circles.
Otherwise use NURBS curves and leave the weights set to the default 1, unless you have a good reason to change the weights.
To avoid possible confusion “edit points” is used in Rhino to refer to a special set of points, also known as Greville points, which sometimes but not always coincide with internal knots. (Internal knots are at the divisions between spans.) This may differ from how the term “edit points” is used in other software.
For curves with odd degrees and uniform knots then some of the the edit points coincide with internal knots. For other curves the edit ppints geneally internal knots do not coincide with internal knots.
Degree 2, uniform, 2 spans, 4 control points.
Control points
Edit points
Knots
Degree 3, uniform, 2 spans, 5 control points
Control points
Edit points
Knots
Degree 3, non-uniform, 2 spans, 5 control points
Control points
Edit points
Knots













