True Robotics Design Playground HelpHelpOpen the True Robotics Design PlaygroundOpen app

Sketching

Spline Tool: Draw Smooth Curves

The Spline tool in the True Robotics Design Playground draws a smooth, squiggly curve through the points you click. Press S, click where the curve starts, keep clicking to bend it, and press Enter to finish, or click the first point again to close it into a loop. Drag any point later to reshape it, then extrude, cut, revolve or sweep it like any other sketch.

  • Updated
  • 7 minute read
  • SplineShortcut: SA smooth, squiggly curve through the points you click, for wavy edges, organic shapes, cams and anything a straight line or an arc cannot draw.

How do I draw a spline?#

  1. Pick the Spline tool In a sketch, press S or click Spline, the squiggly line with the drawing tools, right after Polygon. The tool panel on the left says Click to place the first point, with the reminder Click points to draw a smooth curve through them.

  2. Click where the curve starts Click anywhere to start. Click the end of a line or arc, the origin, or a spot on another line or curve, and the spline snaps there and stays attached to it. Hold Shift to place a point without snapping.

  3. Keep clicking Every click adds a point, and the curve bends smoothly through all of them, with a preview that follows the pointer to show where the next point will take it. The tool panel counts your points as you go, like 4 points. Placed one in the wrong spot? Press Backspace to take back the last point.

  4. Finish the spline Press Enter, double-click, or click the green check in the tool panel. To make a closed loop instead, click the very first point again once you have three or more. An orange ring shows when the pointer is right on it.

The tool stays on for the next spline, and the whole spline is one undo step. Press Esc to drop the spline you are in the middle of, and press it again to go back to Select. One spline holds up to 100 points, which is far more than most curves need.

How do I make a closed spline?#

Place at least three points, then click the first point again. The loop finishes right away, and the curve joins up smoothly with no corner where it closes, and the inside fills light purple as a region, ready to extrude. A closed spline makes a great blob, pebble, guitar body or cookie cutter shape.

An open spline can be part of a closed shape too. Start it on the end of a line, end it on the end of another line, and the outline closes the same way it would with an arc.

How do I change a spline's shape?#

  • With the Select tool, drag any of the spline's points. The curve reshapes smoothly as you move it, still passing through every point.
  • Drag a point onto another point and it snaps there with an orange ring, just like the ends of lines do. Hold Shift while you drag to move it freely.
  • Select one of its points and press Delete to take that point out. The curve reshapes through the points that are left, as long as it keeps at least two (three for a closed loop).
  • Click the curve itself to select the whole spline. Press Delete (or Backspace) to remove it, or Q to turn it into dashed construction geometry.

Can I dimension and constrain a spline?#

Yes, through its points. Each point of a spline is a sketch point like the end of a line, so the constraints and dimensions you already know work on it:

  • Coincident puts a spline point on another point, a line or a curve. It also works the other way: select any point and the spline, and the point stays on the curve.
  • Horizontal and Vertical line up two points, like the two ends of a wave so it sits level.
  • Fix pins a point where it is.
  • The Dimension tool sets the distance between two points, or from a point to a line, so a wave can be exactly 3 in long.

The curve itself has no length or radius to dimension, and constraints such as Tangent and Equal do not take a spline. Size and place a spline through its points instead.

Can a spline be construction geometry?#

Yes. Turn on construction mode with Q before you draw, and the spline comes out dashed. Dashed splines snap and hold constraints but never make a region, so they are handy guides, like a curve to line points up along. A dashed spline can still be the path of a sweep. See Construction geometry.

Tip: Fewer points, smoother curves

A spline looks its best with just a few points spread out along it. Too many points close together make little wiggles. If a curve looks lumpy, delete it and try again with half as many clicks.

What can I make with a spline?#

  • Extrude, Cut and Revolve. A closed spline, or an outline that mixes splines with lines and arcs, makes a region you can extrude, cut or revolve. Revolve a wavy profile for a vase or a knob.
  • Sweep paths. A spline can be the path of a sweep, on its own or joined end to end with lines and arcs, for a curvy handle or a rail that bends just right.
  • Loft profiles. A closed spline works as a loft profile, for smooth shapes like a funnel or a fin.
  • Rounded edges. The edges a spline makes on a part can be rounded or chamfered all the way along with Fillet.
  • Copies. Mirror, Linear pattern and Circular pattern copy splines like any other sketch geometry, and the copies follow when you reshape the original.

Can I trim a spline?#

Yes. The Trim tool (K) works on splines just like on lines and arcs. Click a piece of a spline to remove it back to where other geometry crosses it, or drag across several pieces. The part that stays keeps exactly the same curve. A closed spline needs two crossings, like a circle, and becomes an open spline. A spline also counts as a crossing for the lines and circles it passes through, so you can trim them back to the curve.

Does the Spline tool work on a touch screen?#

Yes. Tap to place each point, then double-tap or tap the green check in the tool panel to finish, or tap the first point again to close the loop. Tap the red X to stop drawing. A finger snaps from a little farther away than a mouse, so starting on the end of a line is easy.

Straight lines and perfect circles are great, but a few smooth curves give a design real personality. Draw a wave, a leaf or a racing stripe and see what you can make!

Questions and answers#

What is a spline?

A spline is a smooth curve that passes through a set of points. In the True Robotics Design Playground you click the points, and the Spline tool bends one smooth curve through all of them, like a squiggly line drawn with a flexible ruler.

How do I close a spline into a loop?

Click at least three points, then click the first point again. An orange ring shows when you are right on it. The spline closes smoothly, the inside fills light purple, and you can extrude it like any closed shape.

How do I change a spline after I draw it?

Use the Select tool and drag any of its points. The curve reshapes as you move it. You can also put dimensions and constraints such as Coincident, Horizontal and Fix on its points.

Can I sweep along a spline?

Yes. A spline can be the whole path of a sweep, or part of one joined end to end with lines and arcs. Pick it in the Sweep panel the same way you pick any path.

Will a spline print smoothly?

Yes. Splines are drawn and exported as many tiny straight pieces, so small that the curve comes out smooth in STL files and on a 3D printer.