from meshlib import mrmeshpy as mm
mesh = mm.loadMesh("mesh.stl")
nSettings = mm.NoiseSettings()
nSettings.sigma = mesh.computeBoundingBox().diagonal()*0.0001
mm.addNoise(mesh.points,mesh.topology.getValidVerts(),nSettings)
mm.saveMesh(mesh,"noised_mesh.stl")
mm.meshDenoiseViaNormals( mesh )
mm.saveMesh(mesh,"denoised_mesh.stl")