A post by Victor Lamoine in PCL mailing list
Hello,
If you are using MeshLab to load and save point clouds/meshes, you might
have encountered problems loading MeshLab ASCII files into PCL.
MeshLab is using the decimal separator/mark
<https://en.wikipedia.org/wiki/Decimal_mark> defined in the locale, so for
example if your Linux distribution is in French, the comma mark is used.
Most (if not all) PLY files are written with a dot mark as a decimal mark.
PCL is only able to read files with the dot mark.
A solution is to launch MeshLab with the C locale, this way MeshLab will
always read/write with the dot separator:
> echo "export LANG=C && meshlab" | sudo tee –a
> /usr/share/applications/meshlab_en.sh &&
> sudo sed 's/Exec=meshlab/Exec=\/usr\/share\/applications\/meshlab_en.sh/g'
> -i /usr/share/applications/meshlab.desktop
The problem should also happen on Windows but I don't know the fix.
Bye