Automating 'extract section' tool

Feel free to ask any question here
Post Reply
timothy
Posts: 1
Joined: Thu Apr 02, 2026 9:37 am

Automating 'extract section' tool

Post by timothy »

Hi there,

I've got a question regarding the extract section tool.

For my thesis I need to analyse the erosion of a sediment bank, which I do by making an elevation profile across the point cloud of the sediment bank, by which I can visualise the bank retreat.

I found that for this purpose, the extract section tool works very nicely, since I can conveniently use the same polyline everytime I need to make an elevation profile. In the tool I use 'extract points along active session', after which I export the coordinates of the vertices for processing in Python.
However, I need to do this proces many times, so is there a way to automate this process?

I saw that the crossection tool does have implementation in the command line, but I could not get that tool to make a profile like I want to. When I made a crossection I (of course) got polygons of all the shapes in that crossection, instead of a single line over the surface. Also, how can I make exactly the same crossection but on different point clouds?
Maybe you have some tips to make this work, if automating the other tool isn't an option?

Thank you!
daniel
Site Admin
Posts: 8178
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Automating 'extract section' tool

Post by daniel »

The Cross section options may not have been all transferred to the command line.

Can you share with us the command line you tried?

And if you send me some data (admin@cloudcompare.org), I can try to add the right option.
Daniel, CloudCompare admin
Post Reply