Page 1 of 1

Surface density in command line

Posted: Tue Dec 09, 2014 8:39 am
by ccastilloro2
Dear Daniel,
I´m having some trouble with the command line for the -APPROX_DENSITY -SURFACE command. I´m writing:

CloudCompare -O option-0000.ply -APPROX_DENSITY -SURFACE

But I do not get the SURFACE command recognized. Also tried with {SURFACE}

Maybe it is a silly question.

Many thanks and congratulations for your amazing work!

Best regards,

Carlos

Re: Surface density in command line

Posted: Tue Dec 09, 2014 3:27 pm
by daniel
Have you tried:

Code: Select all

-APPROX_DENSITY SURFACE

Re: Surface density in command line

Posted: Tue Dec 09, 2014 4:39 pm
by ccastilloro2
Yes, I tried also -APPROX_DENSITY SURFACE, but it didn´t work.

I finally moved to the DENSITY command. The right solution for me was -DENSITY 0.1 -TYPE SURFACE, where 0.1 was the sphere radius.

Many thanks!!

Carlos

Re: Surface density in command line

Posted: Fri Dec 12, 2014 8:52 am
by daniel
Indeed, the -TYPE was missing.

While it's much better to use the 'real' density estimator (DENSITY), it should also work with APPROX_DENSITY:

Code: Select all

-APPROX_DENSITY -TYPE SURFACE