Command line mode - how to calculate distances in stl files

Feel free to ask any question here
Post Reply
annarai
Posts: 2
Joined: Thu Apr 13, 2017 10:21 am

Command line mode - how to calculate distances in stl files

Post by annarai »

Hello,

I have easily calculated distances between my two stl files with CC, in order to represent contact points with colors. Could it be possible to obtain the same result using the command line mode? I tried it but I didn't managed to do it.
This could be useful since I would to launch this command from python and then show the result with it.

Thanks in advance,
Anna
daniel
Site Admin
Posts: 7710
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Command line mode - how to calculate distances in stl files

Post by daniel »

What version did you use? I think the 2.9 alpha was bugged (you should try with the latest 2.9 beta version).

Otherwise what was the command line you tried?
Daniel, CloudCompare admin
annarai
Posts: 2
Joined: Thu Apr 13, 2017 10:21 am

Re: Command line mode - how to calculate distances in stl files

Post by annarai »

Hello Daniel!

I'am using the 2.9 beta version and the command I tried was:

CloudCompare -O file1.asc -O file2.asc -C2C_DIST -MAX_DIST 0.3 -C_EXPORT_FMT ASC -SAVE_CLOUDS.

So, I have solved my problem simply converting my file.stl in file.asc :)

Thank you :)

Anna
Post Reply