To Spline: make a smooth line from the points of a point cloud

Turn ordered points or a jagged line into a smooth spline with even point spacing

2 min read
In the app
  • LinesTo Spline

To Spline makes a smooth line out of ordered points; its tooltip reads "Creates a smooth line out of ordered points." Use it when a contour is jagged or noisy, for example a section of a scan, and you need a smooth path with evenly spaced points: a trajectory for Extrusion Body or a clean outline.

Input

Select exactly one object:

  • A lines object. Each connected part of the line becomes its own spline; a closed contour gives a closed spline.
  • A point cloud. The points are used in the order they are stored in the cloud, as one line. The panel then has a Closed Line check box (on by default) that joins the last point to the first.

The object must have at least 3 points, otherwise the button is unavailable and its tooltip says Object must have at least 3 points. Very large inputs are thinned to every n-th point (at most 100,000 control points) before the spline is built.

Make a Spline

  1. Select the line or point cloud in the Scene tree.
  2. Click Lines › To Spline. A red preview of the spline with its points appears over the object.
  3. Set Sampling Step and Control Stability; the preview updates at once.
  4. Click Create Spline Object for a lines object, or Create Point Cloud for the spline points as a point cloud.

To Spline on a section contour of a CAD housing: the red spline with points every 10 mm smooths the small steps of the contour

Parameter What it does Default
Closed Line Point clouds only: treat the points as a closed loop On
Sampling Step The distance between neighboring points of the result; points are added or removed to reach it 2% of the total length of the input
Control Stability How closely the spline follows the input points: higher values keep it closer to them, lower values make it smoother 1 (range 0.001–1000)

Result

The new object is added under the input object and gets its name with _Spline (a lines object) or _Resampled (a point cloud) added, for example Section0_Spline. The input object does not change, and the tool stays open, so you can try other values and create another result.

Use Case: A Smooth Trajectory from a Section

  1. Cut the part with Section and create the section object.
  2. Run To Spline on it with a Sampling Step of a few millimeters and click Create Spline Object.
  3. Use the spline as the trajectory in Extrusion Body (Use Custom Trajectory) or make a tube along it with Offset.

To keep a sharp-cornered contour with fewer points instead, use Simplify.

Customize Consent Preferences

We use cookies and similar technologies, such as local storage. You will find detailed information about all of them under each consent category below.

To learn more about how Google processes personal information, visit: Google privacy policy

Always Active