A cross-section from a point cloud
How to extract a cross-section from a 3D point cloud with the free software CloudCompare and bring it into CAD, keeping or losing the elevation.
Clicking loads the video from YouTube: Google will receive your IP address and may store data on your device. Privacy · Watch it on YouTube
In this article I’ll explain how to extract a cross-section from a 3D point cloud with the free software CloudCompare and bring it into CAD.
Point clouds
Point clouds are the result of photogrammetric and laser scanning surveys.
A point cloud is a file holding the position in space of many points that represent something that was surveyed: an object, an area, a rock face or a building.
Some point cloud file types are: LAS, LAZ, PLY, BIN, XYZ.
The points of a cloud from a photogrammetric survey also carry colour information (as do laser scanners with a built-in camera) and, since there are really a lot of points (we also talk about a dense cloud), the result looks extremely realistic.
Below is a point cloud from processing an aerial photogrammetric drone survey in a marble quarry in Carrara.

Point cloud software
The crazy development of drones in recent years and access to capable machines at low prices have lowered the threshold for aerial photogrammetric equipment (yours truly is an example!). Software using structure from motion technology keeps improving its algorithms, which now let you make a 3D model of a car by taking photos with your smartphone, quickly and with remarkable results. And if you want, you can even print it with a 3D printer (another world evolving at the speed of light!).
Since the basis of 3D modelling is points in space (from which the triangle mesh, the texture and so on are built – you’ll find some information in this article on a drone survey in the Cinque Terre), point clouds are enjoying a moment of great fame.
The number of programs that let you work on a point cloud is growing too: Autodesk Revit and ReCap, AutoCAD Map and Civil 3D, Leica Cyclone, 3DF Zephyr, PointSense and FARO SCENE, ArcGIS… I’m surely forgetting or not aware of some.
If you work with these data regularly, it’s worth investing in one of these programs, but if you only use point clouds occasionally, I’d suggest CloudCompare.
CloudCompare
CloudCompare is free software (GNU licence) for Windows, macOS and Linux (download it here) that processes point clouds and triangle meshes. It was born to compare point clouds from laser scanning surveys and later grew into point cloud processing software with some fairly advanced algorithms.
Although for working on triangle meshes (and OBJ files) I prefer another free program, MeshLab, CloudCompare lets you do lots of processing on point clouds, with the advantage of an extremely active online community (blog posts, video tutorials, discussion forums, typical of free software and open source projects like QGIS, LibreOffice, GIMP …), which helps solve lots of problems and use the software’s tools.
Why use CloudCompare
If you commission a survey and the surveyor does it with a laser scanner or a drone and aerial photogrammetry, the result of the processing will be a point cloud, at least in the first instance.
If you’re given the point cloud file as well as the plan and elevation drawings, you could use CloudCompare to:
open the file and inspect the 3D point cloud by rotating it on the three axes, almost like a site visit;
draw lines and polylines on the 3D model to highlight important features or parts;
measure distances and areas to estimate volumes and works;
query the coordinates of points.
But you might also want to extract a cross-section of a rock face and import it into CAD to design safety works.
That’s what I’ll explain below, starting from a point cloud of part of a marble quarry in Carrara.
You can download the file here.
A section from CloudCompare to CAD
I hope you’ll be able to follow me through this sequence of screenshots and text.
1 – Import the point cloud
Install CloudCompare and open the point cloud file.
The software will ask for two confirmations: one for the information to load along with the points, the other for a shift it suggests to avoid errors when processing very large coordinates (typical of a georeferenced survey).
Confirm everything with “Apply all” and “Yes to all”.
I won’t explain these in detail; just don’t worry, because the shift isn’t real but fictitious, purely for the software’s processing.

The software now loads the point cloud (the one you downloaded has 9,500,000 points) and shows it in the central window (you can see it in the first image of this article).
Left-click and drag to rotate the 3D model on the three axes, scroll the wheel to zoom, and move the mouse while holding the right button to pan.
In the DB Tree panel on the left of the screen, select the point cloud to activate all the software’s tools and see its detailed information.
2 – Extract the section
To extract a cross-section, orient the model so you have a top view.
You can do it quickly with the buttons in the toolbar on the left of the screen, which give the views from top (the first one marked in the image below), bottom, front, back, right and left.
Then select the tool Tools – Segmentation – Cross Section.

Use the arrows (red, green and blue) to create a plane cutting the model along the section you want to extract, then make it thinner, as if drawing the trace of the cutting plane, and press the Slice button in the panel that opened at the top right.

Once done, you’ll see a new entry in the DB Tree window for the section you’ve just created.
You can deselect the rest, leave just the new section ticked, and by orbiting with the left mouse button in the main window you can see it in 3D.
At this point, keeping the section selected in the DB Tree window, you can save it as a DXF file (as well as other formats, including LAS, shapefile SHP, XYZ, …) and open it in CAD.
Multiple sections
You can also extract multiple equally spaced sections, at an interval you choose.
After drawing the cutting plane as described above, select the multiple slice option and enter the spacing so CloudCompare generates the sections automatically.

3 – Import the section into CAD
If you now open the saved DXF file in CAD, you’ll see all the points (point entities) forming the section.
The thicker the slice, the more points you’ll see in CAD.
By default you get a top view (the same one you used to cut the point cloud), but the points in the drawing come from a 3D point cloud and CloudCompare kept that information when saving, so if you switch to a 3D front view (or use the orbit command) you’ll see the points take the typical shape of a cross-section.

I should point out, though, that with this method the points don’t keep the elevation they have in the survey you received.
They’re correctly positioned in space relative to each other (relative position), but not in an absolute sense.
To keep the elevation information, after slicing the point cloud you need the software to generate a profile polyline with the Contour button. You can save that as DXF too.
That aside, you can now switch to the front view and draw a 2D polyline enveloping the section points, and use it for stability checks, designing rock bolting or stabilisation, planning scaling or quarrying…
A variant
There’s another way to extract sections from a point cloud in CloudCompare.
It’s faster and, if you like, more rigorous.
You draw a polyline and tell the software to extract sections along it at a set interval and width.
The software automatically generates the profile of all the sections, both as a point cloud and as an envelope polyline.
Everything can then be saved as DXF again and opened in CAD.
You’ll find the command here: Tools – Segmentation – Extract Sections / Unfold (I wrote about it in this article).
I hope this article is useful in your work.
Online you’ll find lots of tutorials and information on CloudCompare.
Here I just wanted to give you an example of how it can be used fairly easily for study and design.
I hope it encourages you to download and test the software (I’m not sponsored!), so you can ask your surveyor for the point cloud of the survey you commissioned and process it as you like, according to your needs and judgement.
See you soon!
Paolo Corradeghini
Below is a video from my YouTube channel on this topic, sections of a point cloud. The video is in Italian.