Surface density in command line

Feel free to ask any question here
Post Reply
ccastilloro2
Posts: 10
Joined: Tue Dec 09, 2014 8:33 am

Surface density in command line

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

Re: Surface density in command line

Post by daniel »

Have you tried:

Code: Select all

-APPROX_DENSITY SURFACE
Daniel, CloudCompare admin
ccastilloro2
Posts: 10
Joined: Tue Dec 09, 2014 8:33 am

Re: Surface density in command line

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

Re: Surface density in command line

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