SINTEF / Splipy

Spline modelling made easy.
GNU General Public License v3.0
100 stars 18 forks source link

Utils.smooth() supports periodic geometries and filtering on component #139

Closed VikingScientist closed 3 years ago

VikingScientist commented 3 years ago

Better control over the smooth function. Basically the example below requires two things: first it needs to support periodic geometries (chord is angle parametrized and periodic in the circular direction) and secondly it needs to only alter the x-component of controlpoints to avoid ever leaving the large chord along the x-axis (that is y^2+z^2 should not ever change which all-component smoothing would do).

Before

Screenshot from 2021-03-15 14-10-05

After

Screenshot from 2021-03-15 14-10-27