Hi,
I have a script that extracts different sections of a point cloud based on height, ({cloudcompare path} -o -GLOBAL_SHIFT AUTO {point cloud path} -COORD_TO_SF Z -FILTER_SF 1.0628148720000001 3.388013302 ). A bin file is saved for each section (about 15 section), which is what I want, but it also re saves the original point cloud which is quite a big point cloud. Is there anyway to only save the updated point cloud?
Thanks a ton.
Anyway to not save to original cloud in command line
Re: Anyway to not save to original cloud in command line
I think it's because the first cloud is automatically saved when you call -COORD_TO_SF.
So you should disable auto save before calling this option, and then enable it again:
By the way, there's another tool that can do that in one shot (if you want to extract multiple slices): -CROSS_SECTION (see https://www.cloudcompare.org/doc/wiki/i ... _line_mode)
So you should disable auto save before calling this option, and then enable it again:
Code: Select all
({cloudcompare path} -o -GLOBAL_SHIFT AUTO {point cloud path} -AUTO_SAVE OFF -COORD_TO_SF Z -AUTO_SAVE ON -FILTER_SF X Y
Daniel, CloudCompare admin