Compute normals from PLY file using command line?

Feel free to ask any question here
Post Reply
JJJSeo
Posts: 1
Joined: Tue Jul 17, 2018 2:21 am

Compute normals from PLY file using command line?

Post 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
daniel
Site Admin
Posts: 7711
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Compute normals from PLY file using command line?

Post 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).
Daniel, CloudCompare admin
Post Reply