Hi, I am trying to smooth a set of defined vertices of a mesh, but it seems Mesh.Smooth doesn’t support a list of vertices, or I am doing something wrong:
def RhinoSmooth(mesh,grips): from System import Array IEnumerateGrips = Array[int](grips) tol = float(1) for i in range(500): mesh.Smooth (IEnumerateGrips, tol, True, True, True, True, 0) return mesh
I get this error:
Message: expected float, got Array[int]
But if I remove the option IEnumerateGrips from mesh.Smooth (IEnumerateGrips, tol, True, True, True, True, 0) then it works on the entire mesh just fine.
Any help would be great!