Good afternoon,
I am experimenting with the CloudCompare command line and having some success however my current task is converting a .csv mesh (x, y and z coordinates) to a raster file displaying slope as the scalar field.
When performing the process within the CloudCompare application I have no issues displaying the Dip (degrees) scalar field, converting to RGB and then saving this as a raster image.
When processing via command line I have used -SET_ACTIVE_SF for both 0 and 1 and the output is always Dip Direction (degrees), for some reason it doesn't display Dip (degrees).
I am using V2.11.3, I updated to the new V2.12beta however loading the mesh was extremely slow so i've reverted back to V2.11.3.
Here is the command line i'm using.
CloudCompare -SILENT -O -GLOBAL_SHIFT AUTO filePath -REMOVE_ALL_SFS -OCTREE_NORMALS AUTO -NORMALS_TO_DIP -SET_ACTIVE_SF 0 -FILTER_SF 1 9 -SF_CONVERT_TO_RGB TRUE -RASTERIZE -GRID_STEP 0.35 -SF_PROJ AVE -PROJ MAX -OUTPUT_RASTER_RGB
Thanks for your help!
Command line SET_ACTIVE_SF for DIP SF not working
Command line SET_ACTIVE_SF for DIP SF not working
- Attachments
-
- Raster created using commandline (incorrect)
- Dip using commandline.jpg (287.54 KiB) Viewed 976 times
-
- Raster created using application
- Dip using application.jpg (218.22 KiB) Viewed 976 times
Re: Command line SET_ACTIVE_SF for DIP SF not working
Interesting.
I believe it's simply because the 'SET_ACTIVE_SF' doesn't apply to the rasterize tool. In this tool, you have to manually select the 'active layer'. And that's not an option of the command line interface yet...
For the slow loading of a CSV file, that's definitely an issue we should look at. Can you maybe share the file with me? (daniel.girardeau [at] gmail.com)
I believe it's simply because the 'SET_ACTIVE_SF' doesn't apply to the rasterize tool. In this tool, you have to manually select the 'active layer'. And that's not an option of the command line interface yet...
For the slow loading of a CSV file, that's definitely an issue we should look at. Can you maybe share the file with me? (daniel.girardeau [at] gmail.com)
Daniel, CloudCompare admin
Re: Command line SET_ACTIVE_SF for DIP SF not working
Hi Daniel,
Thanks for your quick response!
Would it be possible to add this to the command line interface "to do" list please? I am guessing this list is huge...
Is there a way to convert the normals to dip without dip direction? Only converting dip?
One other thing, is there way to choose the name of the rasterized output file? I've looked through the list and i haven't found a command for this one.
I've sent you an email re the CSV file.
Thanks for your quick response!
Would it be possible to add this to the command line interface "to do" list please? I am guessing this list is huge...
Is there a way to convert the normals to dip without dip direction? Only converting dip?
One other thing, is there way to choose the name of the rasterized output file? I've looked through the list and i haven't found a command for this one.
I've sent you an email re the CSV file.
Re: Command line SET_ACTIVE_SF for DIP SF not working
Sorry for the late answer:
1) Yes, we can definitely add this to the TODO list, but indeed, it's huge!
2) Nope, we always generate the 2 scalar fields (but it should always be in the same order)
3) And for the rasterize output file, I guess it's the same, a new option would be required... (I added this to the TODO list as well ;)
1) Yes, we can definitely add this to the TODO list, but indeed, it's huge!
2) Nope, we always generate the 2 scalar fields (but it should always be in the same order)
3) And for the rasterize output file, I guess it's the same, a new option would be required... (I added this to the TODO list as well ;)
Daniel, CloudCompare admin