Command line mode new functions request

To post any request/idea for new functionalities
Post Reply
olegpetin
Posts: 3
Joined: Sun Jan 04, 2015 5:32 am

Command line mode new functions request

Post by olegpetin »

Hi, Daniel! Thank you for the greatest soft (the best point cloud processing soft in the world!).
Please, add in TODO list new command line mode functionalities:
*** 1 ***
-SF_CONST {SF name} {constant value}

Creates, names a new scalar field, filles constant value to each point, and sets SF active

*** 2 ***
-SFS_OP {SF1 index} {operation} {SF2 index}

applies an arithmetic operation on a given scalar field (SF1) of the loaded cloud/mesh and with a given scalar field (SF2).
SF = SF1 (+,-,*,/) SF2

The scalar-field index starts from 0. The user can use the keyword 'LAST' to designate the last scalar field.

Supported operations are:
add
sub
mult
div
Notes:
the updated cloud/mesh is automatically saved (see the AUTO_SAVE command to change this)
the modification is done in new place (i.e. the new scalar field is created)

*** 3 ***
-SF_DEL {SF index}

deletes an active scalar field.
The scalar-field index starts from 0. The user can use the keyword 'LAST' to designate the last scalar field.

*** 4 ***
-SF_TO_COORD {SF index} {dimension: X, Y or Z}

sets an active scalar field as specified coordinate (dimension).
The scalar-field index starts from 0. The user can use the keyword 'LAST' to designate the last scalar field.

*** 5 ***
-SF_RENAME {SF index} {new name}

renamed an active scalar field.
The scalar-field index starts from 0. The user can use the keyword 'LAST' to designate the last scalar field.

All the best
Oleg
krillmcrawl
Posts: 1
Joined: Sat Nov 07, 2020 5:19 pm

Re: Command line mode new functions request

Post by krillmcrawl »

I'm also very interested in nr 1 from you suggestion:
*** 1 ***
-SF_CONST {SF name} {constant value}

Creates, names a new scalar field, filles constant value to each point, and sets SF active

I looked at the command line parameters but could not find it here:
https://www.cloudcompare.org/doc/wiki/i ... _line_mode

Do you know if it's already implemented but maybe using another name?
Post Reply