-SF_ARITHMETIC LAST keyword not recognized

If you are allergic to bug trackers, you can post here any remarks, issues and potential bugs you encounter
Post Reply
hpangels
Posts: 3
Joined: Tue Jul 28, 2020 7:21 pm

-SF_ARITHMETIC LAST keyword not recognized

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

Re: -SF_ARITHMETIC LAST keyword not recognized

Post by daniel »

Ah! Nice catch. This is a bug.

I'll fix it asap.
Daniel, CloudCompare admin
daniel
Site Admin
Posts: 7713
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: -SF_ARITHMETIC LAST keyword not recognized

Post by daniel »

Can you test with the latest 2.11.1 version (online)? It should fix this bug.
Daniel, CloudCompare admin
hpangels
Posts: 3
Joined: Tue Jul 28, 2020 7:21 pm

Re: -SF_ARITHMETIC LAST keyword not recognized

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

Re: -SF_ARITHMETIC LAST keyword not recognized

Post 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 ;)
Daniel, CloudCompare admin
Post Reply