I'm trying to export the Z coordinates to a new scalar field using the command line interface:
Code: Select all
CloudCompare.exe -AUTO_SAVE OFF -O C:\CloudCompareIO\test.e57 -COORD_TO_SF Z -C_EXPORT_FMT E57 -SAVE_CLOUDS FILE C:\CloudCompareIO\test+Z.e57
Interrestingly enough, if I use the command on an input cloud which doesn't have the "Intensity" SF then the Z coordinates do get written to a SF in the output cloud, but... CC forces it to be renamed to "Intensity" (Console: [E57] No 'intensity' scalar field found, we'll use the current displayed one instead (Coord.Z))
I have no clue what's going on. Am I doing something wrong or should this be considered a bug?
I'm using CC 2.12 Alpha on Windows.