Page 1 of 1

Compute normals from PLY file using command line?

Posted: Tue Jul 17, 2018 4:41 am
by JJJSeo
Hi,

I'm trying to compute per-vertex normals from input file(PLY) and then save it in same format(PLY) with computed normals.
But I have trouble in using command line...

Code: Select all

"C:\Program Files\CloudCompare\CloudCompare.exe" -COMPUTE_NORMALS -AUTO_SAVE ON -O "C:\Users\Me\Desktop\plySAMPLE\cylinder.ply" -C_EXPORT_FMT PLY -SAVE_CLOUDS
It seems to fail in saving ply file and I'm not sure if the COMPUTE_NORMALS worked
Does anyone know what's the problem?

Thank you in advance

Re: Compute normals from PLY file using command line?

Posted: Tue Jul 17, 2018 4:27 pm
by daniel
I know it's misleading but I believe the option you want to use is 'OCTREE_NORMALS' instead of 'COMPUTE_NORMALS' (which is used to compute normals from structured clouds).