Crop- force inside

Feel free to ask any question here
Post Reply
barney2074
Posts: 5
Joined: Wed Nov 13, 2019 1:52 am

Crop- force inside

Post by barney2074 »

Hello,

When using the commandline -CROP option, I have noticed that if no points fall inside the defined box, then the whole pointcloud is exported, rather than no points

In my case, I have a large number of boxes which I am applying to various point clouds- and working out if a particular pointcloud has points within a particular box is not easy.

I would just like to run a batchfile with the commandline options, and if there are no points for that box, then just get an empty file (no points)
Is there any way to force Cloudcompare to do this ?

thanks


Andrew
daniel
Site Admin
Posts: 7717
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Crop- force inside

Post by daniel »

Hum, indeed I believe this is because if no cloud is output by the CROP command, the previously loaded cloud are not replaced by the (non existent) new cloud and they remain loaded...

I guess we can indeed change the behavior. Stay tuned.
Daniel, CloudCompare admin
barney2074
Posts: 5
Joined: Wed Nov 13, 2019 1:52 am

Re: Crop- force inside

Post by barney2074 »

thanks Daniel

Cloudcompare is just an awesome application- puts many of the commercial applications to shame...!


Andrew
daniel
Site Admin
Posts: 7717
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Crop- force inside

Post by daniel »

The 2.11.alpha (non stereo) version online has been updated!
Daniel, CloudCompare admin
barney2074
Posts: 5
Joined: Wed Nov 13, 2019 1:52 am

Re: Crop- force inside

Post by barney2074 »

Hi Daniel

thank you so much for making this change so quickly, and for Cloudcompare itself.
Cloudcompare really is a fantastic application.

I have tested and it works great. I see the following message:
20191114 cloudcompare crop.PNG
20191114 cloudcompare crop.PNG (3.86 KiB) Viewed 1459 times


Andrew
daniel
Site Admin
Posts: 7717
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Crop- force inside

Post by daniel »

Which command did you use exactly?
Daniel, CloudCompare admin
Post Reply