Command Line Issue with Saving

Feel free to ask any question here
Post Reply
Ashura
Posts: 3
Joined: Tue Sep 21, 2021 12:25 am

Command Line Issue with Saving

Post by Ashura »

A bit of background - I've been running the CloudCompare app on the mac through the command line, and was able to it to work before. However, for some reason, it is no longer running properly and I don't even think I changed any parameters. What happens regardless of if it the -SILENT arg is set or not, it doesn't seem to save properly. Here are the commands I've been using

Code: Select all

open -a CloudCompare.app --args -O /Users/kevinyao/Documents/Volumetric_Video/long_dress/1053.ply -C_EXPORT_FMT PLY -PLY_EXPORT_FMT BINARY_LE -AUTO_SAVE ON -NO_TIMESTAMP -SAVE_CLOUDS -CLEAR
and here is the one I've been using to get a subset

Code: Select all

open -a CloudCompare.app --args -SILENT -O /Users/kevinyao/Documents/Volumetric_Video/$eachfile -SS RANDOM $2 -C_EXPORT_FMT PLY -PLY_EXPORT_FMT ASCII -AUTO_SAVE ON -NO_TIMESTAMP -SAVE_CLOUDS -CLEAR ;
Please let me know if I need to clarify anything. Any help would be appreciated.
daniel
Site Admin
Posts: 7713
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Command Line Issue with Saving

Post by daniel »

So for me you would either have to set all the options before the -SS command:

Code: Select all

-C_EXPORT_FMT PLY -PLY_EXPORT_FMT ASCII -AUTO_SAVE ON -NO_TIMESTAMP
Or use -AUTO_SAVE OFF before anything so as to be sure that the intermediate commands don't produce files each time, so as to only save them at the end of the process. As by default all commands like -SS will automatically save the result.

If you keep the AUTO_SAVE feature, then you can remove the call to -SAVE_CLOUDS.
And -CLEAR is not necessary if it's at the end of the command line, as it's automatically done by CC on completion.

But... this does not explain why you don't see any file created. As even with the above command line, you should have 2 sets of files! When you don't use -SILENT, do you see a message that states that a file has been saved? With a path? If yes, and if no file has been created, maybe it's due to some limited access rights?
Daniel, CloudCompare admin
Post Reply