Page 1 of 1

Extract single contour through CC command line

Posted: Tue Apr 26, 2022 7:54 am
by husnain
I want to extract a single contour from the point cloud using the CC command line. I have done it through GUI and that contour fulfills my requirements. Is it possible to get a single contour from the CC command line?

Re: Extract single contour through CC command line

Posted: Wed Apr 27, 2022 6:39 am
by daniel
With which tool did you extract the contour? The 'Cross section' tool, or the 'Section extraction' one?

Re: Extract single contour through CC command line

Posted: Mon May 16, 2022 5:32 am
by husnain
Thanks for your response. I have extracted the contour using the 'Cross Section' tool. I want the same single contour from the CC command line.

Re: Extract single contour through CC command line

Posted: Mon May 23, 2022 4:56 pm
by daniel
I guess you have to follow the documentation of the -CROSS_SECTION option (https://www.cloudcompare.org/doc/wiki/i ... _line_mode). And in the xml parameters file, just remove the <RepeatDim><RepeatDim/> and <RepeatGap></RepeatGap> blocks.

Re: Extract single contour through CC command line

Posted: Tue May 31, 2022 12:28 pm
by husnain
After removing <RepeatDim><RepeatDim/> and <RepeatGap></RepeatGap> blocks. CC gave an error of " Some mandatory elements are missing in the XML file "

Re: Extract single contour through CC command line

Posted: Tue May 31, 2022 4:43 pm
by daniel
Ah! Too bad...