Hello,
I am using CC for a long time but for the last few days I am trying to automate treatments with command lines.
I would like to know how to give its own names to the two results files of the -VOLUME command (2.5D volume estimation).
Here is an example of my command line:
CloudCompare -AUTO_SAVE OFF -O D:\2016_mod1.ply -O D:\2016_mod2.ply -CROP2D Z 4 599 500 596 545 611 547 621 514 -SAVE_CLOUDS ALL_AT_ONCE FILE D:\2016_mod1_mod2_crop -VOLUME -GRID_STEP 0.085
I can give his own name (D:\2016_mod1_mod2_crop.bin) to the results of the -CROP2D.
All I'm trying to do the same with -VOLUME causes a CC crash. Some examples:
...-VOLUME -GRID_STEP 0.085 FILE D:\result1 D:\result2
...-VOLUME -GRID_STEP 0.085 FILE "D:\result1 D:\result2"
...-VOLUME -GRID_STEP 0.085 -SAVE CLOUDS FILE D:\result1 D:\result2
...-VOLUME -GRID_STEP 0.085 -SAVE CLOUDS FILE "D:\result1 D:\result2"
.......
Always CC says "Ne répond pas" as you can see on the image.
Is there anything to do ?
Thank you
Vincent
Output own filenames with command line (2.5D volume)
Output own filenames with command line (2.5D volume)
- Attachments
-
- Image1.png (19.73 KiB) Viewed 3616 times
Re: Output own filenames with command line (2.5D volume)
Hum, that's "interesting" ;). I'll need some time to investigate.
Daniel, CloudCompare admin
Re: Output own filenames with command line (2.5D volume)
Okay that's fixed (it was indeed a bug, the tool was not expecting any other command after its own options). The new version is available online.
And by the way, the correct syntax to save multiple files is: (mind the quotes, and the fact that there are 3 clouds after the tool runs: the 2 input clouds that remain and the resulting difference grid as a 3rd cloud)
And by the way, the correct syntax to save multiple files is:
Code: Select all
-SAVE_CLOUDS FILE "input1 input2 result"
Daniel, CloudCompare admin
Re: Output own filenames with command line (2.5D volume)
OK, Thank you for your quick reply.
But the filename of the "VolumeCalculationReport_2018-10-15_09h53.txt" is always set automatically?
But the filename of the "VolumeCalculationReport_2018-10-15_09h53.txt" is always set automatically?
Re: Output own filenames with command line (2.5D volume)
Yes the report is generated automatically because it's not stored after the tool (command) has been processed.
One would have to add a specific option to set the report output filename (this is not very complicated by the way).
One would have to add a specific option to set the report output filename (this is not very complicated by the way).
Daniel, CloudCompare admin
Re: Output own filenames with command line (2.5D volume)
OK
thank a lot it's effectively not complicated.
thank a lot it's effectively not complicated.