rhino_smooth_polyline
Smooths polylines or NURBS curve control points using Laplacian smoothing. Each iteration blends interior points with neighbors, optionally fixing endpoints.
Instructions
Apply Laplacian smoothing to a polyline (or NURBS curve via its control points).
Each iteration replaces every interior point P_i with
``(1 - factor) * P_i + factor * (P_{i-1} + P_{i+1}) / 2``.
With ``pin_endpoints=True`` the first and last points are held.
Returns the new curve's object_id (the input is replaced).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||