grasshopper2 Rhinorhino3d.com
ComponentAuto-generatedCurve
Smooth Polyline
00000000-b68e-4d01-95e9-6adfc001c609
object preview
This page was generated from the component’s built-in descriptions. An in-depth article has not been written for it yet.

Smooth the vertices of a polyline by averaging them out with their neighbours.

Input parameters:

  1. Pl → Polyline to smooth.
  2. St → Smoothing strength as a factor between zero for no smoothing, and one for full smoothing.
  3. Lm → Maximum distance a vertex is allowed to move from its initial location.

Output parameters:

  1. Pl → Smoothed polyline.
  2. Dv → Total movement of all smoothed vertices.