Help Open SchoolCAD

Help Sketching

Spline

Draw a smooth, flowing curve through points you click, then reshape it by dragging the points.

  • Equation curveSketch toolbar: under the ▾ next to Spline
  • Spline SSketch toolbar
What other CAD programs call it
SchoolCADOnshapeFusionSOLIDWORKS
Equation curveEquation curve (custom feature)Equation curve (add-in)Equation Driven Curve
SplineSplineFit Point SplineSpline

A spline is a smooth, flowing curve that passes through the points you click. Use it for shapes that are not made of straight lines and circles: the outline of a surf handplane, a guitar body, a curved chair back, a leaf-shaped tray.

How to use it#

  1. In a sketch, click Spline, or press S.
  2. Click the points the curve should pass through. The curve shows as you go.
  3. To close the curve into a loop, click the first point again (after at least three points). The pointer says Close the curve.
  4. To stop with an open curve, double-click, or press Esc.
  5. Press Esc again to go back to Select, then drag the points to reshape the curve.

A closed spline is a closed shape by itself. An open spline needs other lines joined to its ends to make a closed shape: for example, a curved top joined to straight sides and a base. Every point snaps to points and lines, like the ends of a line do.

Making it exact#

The points of a spline are ordinary sketch points, so you can:

  • Dimension them: click two points (the origin counts as one) and type the distance between them.
  • Constrain them: Symmetric puts two points the same distance either side of a centre line, and Fix (⚓) pins a point where it is.

Equation curve#

An equation curve draws a curve from maths, exactly: a sine wave for a wavy edge, a parabola for a reflector, a spiral, a flower, or the involute shape of a gear tooth. Choose Equation curve from the ▾ next to Spline (SOLIDWORKS: Equation Driven Curve).

  1. Type x(t) and y(t), in mm, or start from an example. As t goes from t from to t to, the point (x, y) draws the curve, and the preview shows it.
  2. Use + - * /, ^ for powers (t^2), brackets, pi, and sin, cos, tan, sqrt, abs, exp, ln, log. Angles are in radians, so a full turn is 2*pi. You can leave out * after a number: 2t, 3sin(t).
  3. Choose Add curve.
Curvex(t)y(t)t fromt to
Circle, radius 2020*cos(t)20*sin(t)02*pi
Parabolatt^2/20-3030
Sine wave, 8 high, 40 longt8*sin(2*pi*t/40)080
Spiral2*t*cos(t)2*t*sin(t)06*pi

The curve is a spline through the points it works out (Points sets how many: more for a curve that bends a lot), fixed in place so the sketch stays fully defined. A curve that ends where it starts is a closed shape you can extrude. Double-click the curve to change its equation.

Step by step#

Here is the whole thing on a leaf-shaped tray, from the SchoolCAD video tutorial.

Watch on YouTube

**1.** In a sketch, press �0� for **Spline**.

**2.** Click the points the curve should pass through.
2. Click the points the curve should pass through.
**3.** Click the first point again to close it into a loop.
3. Click the first point again to close it into a loop.
**4.** Click **Select** and drag any point to reshape the curve.
4. Click Select and drag any point to reshape the curve.

**5.** Finish the sketch and [extrude it.](spline-step-5.webp)

Tips#

  • A few well-placed points give a smoother curve than lots of points.
  • For a symmetric shape, draw half the outline and mirror it across a construction centre line. When you change the original half, the copy follows.
  • To take a point out of the curve, select it and press Delete. If too few points are left, the whole curve goes.
  • A spline can be the path for a Sweep.

If it does not work#

  • Trim does nothing to the spline: Trim only works on lines, arcs and circles. Drag the spline's end point instead.