Equidistant Surface Points of STL Model

8 次查看(过去 30 天)
Hi everyone,
I am struggeling with a problem I thought would be not too difficult. I have a .STL model with its points and connectivities and want to get the surface as a equidistant pointcloud. The problem im having is that the points are only the edges of the connectivities and sometimes span larger areas than other times. (A square is for example only defined by its corner points while a dome is discretized into many areas)
I tried to generate a meshgrid of the geometry but this way not only surface points are generated but also points within a volume. I can also export the model with SolidWorks into another format but haven't had luck with other formats either.
Maybe somebody has a idea on ow to tackle this problem i'm unfortunately struggeling with.
Thanks in advance!
Lukas

回答(1 个)

Maneet Kaur Bagga
Maneet Kaur Bagga 2023-10-4
Hi Lukas,
  • As per my understanding to generate an equidistant point cloud representing the surface of the .STL model, surface reconstruction can be used. This process aims to reconstruct the surface from a given set of points and their connectivities. Poisson reconstruction is one of the algorithm which can be used for surface reconstruction. It takes the point cloud and the connectivity information as the input and generate a reconstructed surface as output.
  • After performing surface reconstruction, refine the point cloud by downsampling it to obtain an equidistant point cloud. It can be done by using voxel grid filtering.
Please refer to the following MATLAB documentation for implementation of the above methods:
Poisson Reconstruction
Voxel Grid Filtering
Hope this helps!
Regards,
Maneet Bagga

类别

Help CenterFile Exchange 中查找有关 Point Cloud Processing 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by