Cropping in command line mode

Feel free to ask any question here
Post Reply
Nina_C
Posts: 2
Joined: Thu Dec 08, 2016 10:31 am

Cropping in command line mode

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

Re: Cropping in command line mode

Post by daniel »

The documentation may be a little bit misleading, but I think you don't need to add the '{' and '}' characters.
Daniel, CloudCompare admin
Nina_C
Posts: 2
Joined: Thu Dec 08, 2016 10:31 am

Re: Cropping in command line mode

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

Re: Cropping in command line mode

Post by daniel »

You should maybe control the global shift mechanism? See the options you have with the command line.
Daniel, CloudCompare admin
Post Reply