disable window pop-up in console mode

Feel free to ask any question here
Post Reply
flora
Posts: 2
Joined: Mon Jul 29, 2019 8:14 am

disable window pop-up in console mode

Post by flora »

Hi,
I use the console mode to call cloud compare functions from a python script. In particular, I call C2C function and would like to get the mean distance from a point cloud to another one (and not the file with the distance from each point of the query cloud), and save the processing time. From what I read, the only way to do that is to use the -LOG_FILE option (https://github.com/CloudCompare/CloudCompare/issues/362 , viewtopic.php?t=3460) and get the file useful lines with a further processing.
But I still have one problem with this method. Once the distance has been computed, a window pops up to inform me that the job is done, and my program pauses until I manually close the window. As I want to process a set of point clouds, I would like to run C2C in a fully automated way. Is it possible to disable this window pop up in console mode?
Thanks
daniel
Site Admin
Posts: 7713
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: disable window pop-up in console mode

Post by daniel »

Have you tried to use the '-SILENT' option?
Daniel, CloudCompare admin
flora
Posts: 2
Joined: Mon Jul 29, 2019 8:14 am

Re: disable window pop-up in console mode

Post by flora »

Hello,
Thank you for you quick reply
Yes, I've tried the -SILENT option. But if use it I can't get the mean distance neither the execution time.
In fact, I get both of these values by copying in the log file what is written in the console. And when I use the -SILENT option, it disables the console and my log file is empty.
Post Reply