SurfaceMesh.smooth()

Lives in: pygamer.surfacemesh

SurfaceMesh.smooth(self: pygamer.surfacemesh.SurfaceMesh, max_iter: int = 6, preserve_ridges: bool = False, rings: int = 2, verbose: bool = False)None

Perform mesh smoothing.

This operation performs an iterative weightedVertexSmooth and edge flipping approach.

Parameters
  • maxIter (int) – Maximum number of smoothing iterations.

  • preserveRidges (bool) – Prevent flipping of edges along ridges.

  • rings (int) – Number of LST rings to consider.

  • verbose (bool) – Print details.