Import a 2D STL File
Mostrar comentarios más antiguos
Hey everyone!
I would like to import a 3D STL file as 2D geometry.
I found something in the MATLAB documentation (https://de.mathworks.com/help/pde/ug/stl-file-import.html) that says "When you import a planar STL geometry, the toolbox converts it to a 2-D geometry by mapping it to the X-Y plane.", but if i create a plot, it is still in 3D.
Here is the code i tried:
model = createpde;
importGeometry(model,'Insole.stl');
pdegplot(model,'EdgeLabels','on')
The 3D Part is an insole which contains several splines, could that be a problem?
I would be happy if someone could help me!
Kind regards,
Matthias
Respuesta aceptada
Más respuestas (2)
Ravi Kumar
el 19 de Dic. de 2019
0 votos
The keyword here is "planar". Is your geomtry planar?
Regards,
Ravi
Matthias Wölfleder
el 20 de Dic. de 2019
0 votos
Categorías
Más información sobre STL (STereoLithography) en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!