Command line save issues, no access right and third party library failure
Posted: Fri Jul 17, 2020 2:24 pm
I am having an issue with saving in command line. I am getting the errors (An error occurred while saving ‘FILE NAME’: writing error (disk full/no access right?)) and (The third-party library in charge of saving/loading the file has failed to perform the operation.) I am trying to run the code:
CloudCompare -O "File name" -DELAUNAY -MAX_EDGE_LENGTH 5 -SAMPLE_MESH DENSITY 1000 -RASTERIZE -GRID_STEP .2 -OUTPUT_RASTER_Z
When I let the program run with auto save, I get the no access right error. I’ve tried turning off auto save and letting it run, but my computer does not have enough memory for the output at the end after performing the other processes. I have even tried reducing the sample mesh density and clearing the original cloud and mesh but it still won’t output. So I need to separate it into two steps, which means I need to save the point cloud that is created by the sample mesh so I can perform the rasterize in the second step. I tried to manually save in the command line without the autosave using the code:
CloudCompare –C_EXPORT_FMT PCD –AUTO_SAVE OFF -O "File name" -DELAUNAY -MAX_EDGE_LENGTH 5 -SAMPLE_MESH DENSITY 200 –SAVE_CLOUDS
This gives me the third-party library failure error. Is there a fix for this or any way around it? I can perform the process in the CloudCompare program itself, the issue only happens in command line. Also, is there a command to smooth the mesh in command line? I couldn’t find one in the command line wiki.
CloudCompare -O "File name" -DELAUNAY -MAX_EDGE_LENGTH 5 -SAMPLE_MESH DENSITY 1000 -RASTERIZE -GRID_STEP .2 -OUTPUT_RASTER_Z
When I let the program run with auto save, I get the no access right error. I’ve tried turning off auto save and letting it run, but my computer does not have enough memory for the output at the end after performing the other processes. I have even tried reducing the sample mesh density and clearing the original cloud and mesh but it still won’t output. So I need to separate it into two steps, which means I need to save the point cloud that is created by the sample mesh so I can perform the rasterize in the second step. I tried to manually save in the command line without the autosave using the code:
CloudCompare –C_EXPORT_FMT PCD –AUTO_SAVE OFF -O "File name" -DELAUNAY -MAX_EDGE_LENGTH 5 -SAMPLE_MESH DENSITY 200 –SAVE_CLOUDS
This gives me the third-party library failure error. Is there a fix for this or any way around it? I can perform the process in the CloudCompare program itself, the issue only happens in command line. Also, is there a command to smooth the mesh in command line? I couldn’t find one in the command line wiki.