Page 1 of 1

Cropping in command line mode

Posted: Thu Dec 08, 2016 11:09 am
by Nina_C
Hi,

I would like to crop a series of point clouds and then compute the cloud to mesh distance from a reference model (mesh). I'm turning this into a batch process, but I get stuck with the cropping. I chose the box dimensions by using the Point Picking Tool in CloudCompare itself and tried to crop it with the Cropping Tool. This works perfectly fine, but when I try the command line operation:

"C:\Program Files\CloudCompare\CloudCompare.exe" -o cloud1.las -CROP {586742:5772727.06:50.59:586748:5772731.14:53.33}

An error appears:

Invalid parameter: box extents (component #1 is not a valid number)

I hope you've got an answer to my question. Batch processing would save a lot of time.
Thanks in advance.

Nina

Re: Cropping in command line mode

Posted: Thu Dec 08, 2016 11:30 am
by daniel
The documentation may be a little bit misleading, but I think you don't need to add the '{' and '}' characters.

Re: Cropping in command line mode

Posted: Thu Dec 08, 2016 1:18 pm
by Nina_C
Thank you Daniel. Actually I got to a next problem. The point cloud is not cropped after the operation. Is there anything else I may be doing wrong here?

Re: Cropping in command line mode

Posted: Thu Dec 08, 2016 1:59 pm
by daniel
You should maybe control the global shift mechanism? See the options you have with the command line.