Check the revised version below.
exportPtCloudDataToPLY2.py (1.7 KB)
Check the revised version below.
exportPtCloudDataToPLY2.py (1.7 KB)
It works!
[
I revised it only slightly, to give credit where due in the resulting .ply files, since your tool is writing the output.