Command line interpolate scalar field

Feel free to ask any question here
Post Reply
Kainovalo
Posts: 1
Joined: Wed Mar 01, 2023 12:29 pm

Command line interpolate scalar field

Post 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?
daniel
Site Admin
Posts: 7717
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Command line interpolate scalar field

Post by daniel »

I really don't know how batch works, but maybe this could help? https://stackoverflow.com/questions/124 ... iple-files
Daniel, CloudCompare admin
Post Reply