Thanks for your reply. I already tried to invert the normals in CloudCompare and Geomagic but no sucess.
Now a very basic question about the script.
I copied your scrip in Notepad and changed the extension from .txt to py. PS has recognised it also as py.
Now in Run Python Script window
Script--->path of file
Arguments
? What should I type
I left it empty and clicked OK.
I run the texturing of mesh, no change of results. It seems that i couldn't run the script. Any guidance to run python script in PS.