Command line C2M distance

Feel free to ask any question here
Post Reply
williamP
Posts: 9
Joined: Thu Feb 23, 2017 11:05 am

Command line C2M distance

Post by williamP »

Hi Daniel,

I want to batch the command line Cloud-to-Mesh distance.

I wrote this script :
cd "C:\Program Files\CloudCompare"
CloudCompare.exe -O C:\Users\Desktop\def_01_03.pts -O C:\Users\Desktop\NullScan_TIN.obj -C_EXPORT_FMT ASC -EXT TXT -C2M_DIST

The problem is that CC displays an error message : "Only one point cloud available. Be sure to open or generate a second one before performing C2C distance."

So I don't understand why it speaks about C2C distance while I ask C2M distance...

Thanks you for your answer !
daniel
Site Admin
Posts: 7709
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Command line C2M distance

Post by daniel »

Hum, that's bad indeed ;) It's probably a bug...

What version are you using?
Daniel, CloudCompare admin
williamP
Posts: 9
Joined: Thu Feb 23, 2017 11:05 am

Re: Command line C2M distance

Post by williamP »

I use the version 2.9
daniel
Site Admin
Posts: 7709
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Command line C2M distance

Post by daniel »

Ok I updated the 2.9.beta version, this should be fixed now.

Thanks for the feedback!
Daniel, CloudCompare admin
williamP
Posts: 9
Joined: Thu Feb 23, 2017 11:05 am

Re: Command line C2M distance

Post by williamP »

Hi Daniel,

Your update works perfectly !
Thanks you :)
Post Reply