Hi everyone.
Using CC in Command Line mode, to convert CSV (Ascii) data to PLY (Binary_BE) file format, it seems we can't define the attribute for each column. Those Attribute choice are missing for each column.
Actually i want to define Column like that, but the Color is converted to Normal vector instead:
CloudCompare.exe -SILENT -O D:/CSV/export_0.csv -C_EXPORT_FMT PLY -PLY_EXPORT_FMT BINARY_BE -NO_TIMESTAMP -SAVE_CLOUDS -CLEAR
Is there a solution to this ? Maybe via Python ?
Command Line Attribute choice missing for each column when batch open CSV to PLY.
Re: Command Line Attribute choice missing for each column when batch open CSV to PLY.
Ah yes, Python would probably be a smart way to manage that...
Daniel, CloudCompare admin
Re: Command Line Attribute choice missing for each column when batch open CSV to PLY.
hi Daniel.
Is there is no way to define the Retargeting of R G B Float 0-1 via the a Batch File ?
Here is the code i use in a Bat file:
and so on
Is there is no way to define the Retargeting of R G B Float 0-1 via the a Batch File ?
Here is the code i use in a Bat file:
Code: Select all
CloudCompare.exe -SILENT -O C:/CSV/export_0.csv -C_EXPORT_FMT PLY -PLY_EXPORT_FMT BINARY_LE -NO_TIMESTAMP -SAVE_CLOUDS -CLEAR
CloudCompare.exe -SILENT -O C:/CSV/export_1.csv -C_EXPORT_FMT PLY -PLY_EXPORT_FMT BINARY_LE -NO_TIMESTAMP -SAVE_CLOUDS -CLEAR
Re: Command Line Attribute choice missing for each column when batch open CSV to PLY.
What i want is defining the 4 to 6 Column to be that way once i launch the command line Bat file.
Actually when i use the Command Line, that Popup doesn't show up.
And at the end the Output PLY file is just White . There is no Color saved.
Actually when i use the Command Line, that Popup doesn't show up.
And at the end the Output PLY file is just White . There is no Color saved.
- Attachments
-
- CC_CmdLine_RGBFloat.jpg (111.5 KiB) Viewed 6291 times
Re: Command Line Attribute choice missing for each column when batch open CSV to PLY.
Ah, float color components... They are generally mixed with normals when CC attempts to automatically detect the role of each column. And if you add the header, it will try to load them as 0-255 color components. I think that's clearly a limitation for now.
Daniel, CloudCompare admin
Re: Command Line Attribute choice missing for each column when batch open CSV to PLY.
Thanks Daniel,
So what is the header i have to put at the first line to guide CC on this ?
So what is the header i have to put at the first line to guide CC on this ?
Re: Command Line Attribute choice missing for each column when batch open CSV to PLY.
is that this header ?
Code: Select all
//X Y Z Rf Gf Bf Nx Ny Nz
Re: Command Line Attribute choice missing for each column when batch open CSV to PLY.
even with this header, it still look at wrong values.
- Attachments
-
- CC_OpenAscii_CSV.jpg (51.21 KiB) Viewed 6176 times
Re: Command Line Attribute choice missing for each column when batch open CSV to PLY.
Ah but once again, since it's float colors, I believe it won't work anyway...
Daniel, CloudCompare admin