- Read the '.stl' file in MATLAB using 'stlread' function.
- Use a 'meshgrid' function to obtain the grid to interpolate.
- Use a function like 'scatteredInterpolant' to interpolate the data points.
- Use 'alphaShape' function if the surface is required to be closed.
interpolate points of a .stl file
5 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Hi everyone,
I am new to Matlab,
My question is if it is possible to load a .stl file and after interpolate the points of this file in order to recreate a close surface. I attached two images to describe better the situation: Image 1 represents my imput .stl and i want to interpolate the points in order to obtain the image 2.
Any help would be appreciated.
Thanks.
Lorenzo

IMAGE 1

IMAGE 2
0 Commenti
Risposte (1)
Rahul
il 13 Mag 2025
Modificato: Rahul
il 13 Mag 2025
I understand that you wish to obtain an interpolated form of your 3D figure which is loaded in MATLAB through a stl format. The following steps can be considered to obtain an interpolated version of your model.
The following MATLAB Answer also gives a good explanation:
The following MathWorks documentations can be referred:
'scatteredInterpolant': https://www.mathworks.com/help/matlab/ref/scatteredinterpolant.html
Thanks.
0 Commenti
Vedere anche
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!