********* Structure ********* Splines ======= Splines are a substructure of curves and are the individual elements that make curve objects. A curve object can be composed of several different splines, just like mesh objects can have different discontinuous meshes under the same object. A spline defines the shape of the curve and can be transformed by altering its `Control Points`_. Splines come in three distinct types, which are described in `Spline Types`_. Each spline type has a slightly different algorithm for computing how bends in the spline are represented. Splines have there own separate properties than curves and can be altered by selecting the spline in Edit Mode and using the :doc:`Active Spline ` panel. Control Points -------------- Similar to meshes splines have control points or vertices. Control points connect to other control points to form splines. Control points can be :doc:`selected ` and transformed to alter the resulting shape of the spline. .. seealso:: :doc:`Curve Editing ` Spline Types ============ Poly ---- Poly splines are the most simple spline type as they do not interpolate the shape of the curve between control points. Poly Curves are used when :ref:`converting meshes to curves `. Because they do not interpolate the shape, Poly splines are able to give an accurate representation of the original mesh object. This is the primary use case of splines, most of the time `Bézier`_ or `NURBS`_ splines are used instead; both of which interpolate the shape and give smooth results. .. _curve-bezier: Bézier ------ The main elements used in editing Bézier curves are the control points and handles. A segment (the actual curve) is found between two control points. The handles define the curvature of the segment. In the image below, the control points can be found in the middle of the pink line, while the handles comprise the extensions from the control point. The arrows visualize the normals of the curve, which indicate i.e. the direction and the tilt. .. figure:: /images/modeling_curves_structure_control-points-handles.png :align: center Bézier Curve in Edit Mode. .. _curve-bezier-handle-type: Handle Types ^^^^^^^^^^^^ There are four Bézier curve handle types. They can be accessed by pressing :kbd:`V` and selecting from the list that appears, or by pressing the appropriate hotkey combination. .. figure:: /images/modeling_curves_structure_bezier-handle-types.png :align: right Bézier Curve Handle Types. .. _curve-handle-type-auto: Automatic (yellow handles) This handle has a completely automatic length and direction which is set by Blender to ensure the smoothest result. These handles convert to *Aligned* handles when moved. Vector (green handles) Both parts of a handle always point to the previous handle or the next handle which allows you to create curves or sections thereof made of straight lines or with sharp corners. Vector handles convert to *Free* handles when moved. Aligned (purple handles) These handles always lie in a straight line, and give a continuous curve without sharp angles. Free (black handles) The handles are independent of each other. .. _curve-nurbs: NURBS ----- N.U.R.B.S. is the abbreviation for Non-Uniform Rational B-Splines. One of the major differences between Bézier objects and NURBS objects is that Bézier curves are approximations. For example, a Bézier circle is an *approximation* of a circle, whereas a NURBS circle is an *exact* circle. NURBS theory can be a *very* complicated topic. For an introduction, please consult the `Wikipedia page `__. .. _curves_structure_nurbs_weight: NURBS spline control points are different than other spline types because they have a special weight property. This weight property controls how much influence the control point has on the surface. This weight should not be confused with the :ref:`Goal Weight `, which is used only for soft body simulations. The NURBS control point weight can be adjusted in the *W* number field of the :doc:`Transform panel `. .. note:: If all the control points have the same *Weight* then each effectively cancels each other out. It is the difference in the weights that cause the curve to move towards or away from a control point.