colored elevation map from STL file

5 visualizaciones (últimos 30 días)
Rémi BERTRAND
Rémi BERTRAND el 3 de Mayo de 2019
Respondida: DGM el 8 de Abr. de 2025
Hi everyone,
I'd like to vizualise the distorsions in a welded plate.
I scanned with Alicona the surface of the plate and I got a STL file (and the corresponding .txt file with coordinates).
I don't know how to get a colored elevation map from this STL file. To be clear, I'd like to obtain something like that:
disto.jpeg
Do you know how to do it in matlab?
Thanks for your help

Respuestas (2)

Rémi BERTRAND
Rémi BERTRAND el 9 de Mayo de 2019
Need your help!

DGM
DGM el 8 de Abr. de 2025
A simple example
unzip pringle_top.stl.zip
T = stlread('pringle_top.stl');
trisurf(T);
shading flat; view(10,33)
axis equal; grid on
xlabel('X'); ylabel('Y'); zlabel('Z')
colorbar

Etiquetas

Productos


Versión

R2015b

Community Treasure Hunt

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

Start Hunting!

Translated by