
400 CHAPTER 9 NURBS
9.2.3 CREATING CURVES
This section covers the creation of NURBS curves.
GENERAL
1. Select File ]New Scene.
2. Create a simple curve by executing the following.
curve -degree 1 -p 0 0 0 -p 1 0 1;
A straight line segment is created because the degree is set to 1. Smoother
curves can be created by using a larger degree. The control vertices are specified
by using the -p flag with the three coordinates of the vertex.
3. An additional point will be added to the curve.
curve -append -p 0 0 1 curve1;
e
An additional control vertex is appended to the curve.
A curve can be totally replaced with another. ...