Hello,
I am using CC with a command line.
I launch this command in a python program using « os.system ».
For exemple :
os.system("CloudCompare.exe -O M1.ply -CROP2D Z 3 618.562 537.008 665.164 554.773 658.247 497.540 -SAVE_CLOUDS ALL_AT_ONCE FILE result")
It was OK with the version ( 2.11.3 (Anoia) [64 bit]) of CC.
But it's no more OK with version (2.12 alpha [64 bit]).
I test these two versions on the same computer
Does somebody have an idea ?
Vincent
Command line in a Python program.
Re: Command line in a Python program.
What's 'not OK'? It is crashing? Or is it displaying an error?
Daniel, CloudCompare admin
Re: Command line in a Python program.
Hello,
For the test with CC 2.11 you can see the attachment CC_2P11.png. The job is done and I have my result files. For the test with CC 2.12 you can see the attachment CC_2P12.png. It seem he don't run CC and I havent my result files. If I test the command line directly in a "DOS command promp" the job is done for the two versions of CC.
Thank you
Vincent
For the test with CC 2.11 you can see the attachment CC_2P11.png. The job is done and I have my result files. For the test with CC 2.12 you can see the attachment CC_2P12.png. It seem he don't run CC and I havent my result files. If I test the command line directly in a "DOS command promp" the job is done for the two versions of CC.
Thank you
Vincent
Re: Command line in a Python program.
Ah, that's weird, but appart from a DLL issue, I don't see what could explain this?
Daniel, CloudCompare admin
Re: Command line in a Python program.
Reading your last post I was thinking about waiting a new version (to avoid looking for another solution :) ).
But there is already a 2.12 beta version. And it works with this version.
Thank you
Vincent
But there is already a 2.12 beta version. And it works with this version.
Thank you
Vincent