Page 1 of 1

-SF_ARITHMETIC LAST keyword not recognized

Posted: Wed Jul 29, 2020 7:42 pm
by hpangels
Following the documentation (https://www.cloudcompare.org/doc/wiki/i ... _line_mode) I tried something like
-SF_ARITHMETIC LAST sqrt
but got this error message:
Invalid SF index!

Is this not implemented yet, or am I doing it wrong? (Using 2.11)
Also, does LAST refer to the last SF in the file, or some notion of "recent" ?

Thanks,
Henning

Re: -SF_ARITHMETIC LAST keyword not recognized

Posted: Wed Jul 29, 2020 8:54 pm
by daniel
Ah! Nice catch. This is a bug.

I'll fix it asap.

Re: -SF_ARITHMETIC LAST keyword not recognized

Posted: Wed Jul 29, 2020 10:09 pm
by daniel
Can you test with the latest 2.11.1 version (online)? It should fix this bug.

Re: -SF_ARITHMETIC LAST keyword not recognized

Posted: Thu Jul 30, 2020 3:56 pm
by hpangels
Seems to work - thanks for the quick response! The same issue seems to exist for -SF_OP, though.
I tried it on windows, but usually work in linux - will the snap version get updated with this latest fix?

Re: -SF_ARITHMETIC LAST keyword not recognized

Posted: Thu Jul 30, 2020 8:41 pm
by daniel
Oops... it's fixed now, but I won't be able to release a new version right now. And for the Linux version, hard to tell, I'm not managing it ;)