Page 1 of 1

Command line interpolate scalar field

Posted: Wed Mar 01, 2023 12:38 pm
by Kainovalo
I am trying to create bat-file to interpolate scalar field from point cloud to other. How ever I have problem with loading the point clouds for the bat file.

At the moment the bat file includes:
"C:\Program Files\CloudCompare\CloudCompare.exe" -silent -O %1 -LOG_FILE %~n1_log.txt -AUTO_SAVE off -SF_INTERP {0} -SAVE_CLOUDS

However, when I choose and drag and drop 2 point clouds for the bat-file the log says:
[14:36:36] Auto-save is disabled
[14:36:36] [SF INTERPOLATION]
[14:36:36] Unexpected number of clouds for 'SF_INTERP' (at least 2 clouds expected: first = source, second = dest)
[14:36:36] Processed finished in 52.27 s.

I tied also by giving filelist but it did not solve the problem.

This is my first time creating command line bat-file from beginning. How to get it recognize 2 point clouds?

Re: Command line interpolate scalar field

Posted: Thu Mar 02, 2023 9:51 pm
by daniel
I really don't know how batch works, but maybe this could help? https://stackoverflow.com/questions/124 ... iple-files