Hi,
I try to make a mass conversion batch (windows 7 64bit).
The batch mode is awaiting some (?) input at the stage of loading the point cloud.
I use the following command line (%CCompare% = Path to CloaudCompare, CINS000.asc is an example file):
%CCompare% -SILENT -C_EXPORT_FMT PLY -PLY_EXPORT_FMT BINARY_LE -o -SKIP 2 -GLOBAL_SHIFT AUTO CINS000.asc -NO_TIMESTAMP -SAVE_CLOUDS -CLEAR
The result is:
v 2.81: The "Open Ascii File" dialog is shown and a second small dialog (see attachment) is shown and CC stops. I can close the small dialog and press Apply button and the batch proceeds.
How do I prevent stopping?
batch processing is stopping
-
- Posts: 7
- Joined: Thu Nov 24, 2016 4:31 pm
batch processing is stopping
- Attachments
-
- Small_Dialog.png (3.33 KiB) Viewed 5068 times
Re: batch processing is stopping
Do you reproduce this with the 2.9.beta? Otherwise I'll have to check that ;)
Daniel, CloudCompare admin
-
- Posts: 7
- Joined: Thu Nov 24, 2016 4:31 pm
Re: batch processing is stopping
The result is:
v 2.9 beta: The "Open Ascii File" dialog is shown and CC stops. I can press Apply button and the batch proceeds.
How do I prevent stopping?
v 2.9 beta: The "Open Ascii File" dialog is shown and CC stops. I can press Apply button and the batch proceeds.
How do I prevent stopping?
Re: batch processing is stopping
Ok, I updated the command line mechanism so that the progress bar doesn't appear anymore when the SILENT mode is enabled (you can update the 2.9 beta version - just be sure to take the non-stereo version).
However the ASCII I/O filter may still open a dialog if it's unsure about the file format (in which case it will need a confirmation from the user). What is the typical organization of the files you are trying to load?
However the ASCII I/O filter may still open a dialog if it's unsure about the file format (in which case it will need a confirmation from the user). What is the typical organization of the files you are trying to load?
Daniel, CloudCompare admin
-
- Posts: 7
- Joined: Thu Nov 24, 2016 4:31 pm
Re: batch processing is stopping
Our standard asc files look like this (xyz RGB):
# Geomagic Studio
# New Model
7243.8001633 847.9999900 1520.4000473 198 198 197
7244.1000938 852.1999717 1517.5000429 196 196 195
7244.9002266 850.3000140 1519.6000338 197 197 196
7245.1000214 847.1999764 1520.2000141 212 212 211
7245.6998825 851.8000245 1517.7999735 200 200 200
7246.3998795 846.0999727 1526.9999504 191 191 191
7246.5000153 849.9000072 1519.8999643 198 198 197
7247.7002144 848.6999869 1526.6000032 206 206 206
7247.9000092 852.6999950 1519.7999477 190 190 190
7248.6000061 846.8999863 1540.0999784 191 191 191
Our standard xyz files look the same except for the first two comment lines.
# Geomagic Studio
# New Model
7243.8001633 847.9999900 1520.4000473 198 198 197
7244.1000938 852.1999717 1517.5000429 196 196 195
7244.9002266 850.3000140 1519.6000338 197 197 196
7245.1000214 847.1999764 1520.2000141 212 212 211
7245.6998825 851.8000245 1517.7999735 200 200 200
7246.3998795 846.0999727 1526.9999504 191 191 191
7246.5000153 849.9000072 1519.8999643 198 198 197
7247.7002144 848.6999869 1526.6000032 206 206 206
7247.9000092 852.6999950 1519.7999477 190 190 190
7248.6000061 846.8999863 1540.0999784 191 191 191
Our standard xyz files look the same except for the first two comment lines.
Re: batch processing is stopping
Hum, I just realized that CC will display the dialog whenever there are 6 or more columns in the file and no 'header' line... But I agree it's a bit silly when in SILENT mode as it kills the concept of SILENT mode...
I'll change this asap.
I'll change this asap.
Daniel, CloudCompare admin
Re: batch processing is stopping
Ok, I updated the online 2.9 beta version. It shouldn't stop anymore when in SILENT mode.
Daniel, CloudCompare admin