How to do data refinements like repair, smooth and simplification in MeshLab and export as -ply-file.