stlread not working as expected
显示 更早的评论
Hi everyone.
I have an STL obtained from 3D slicer, and if I import it to matlab with stlread ('STL.stl'), I don't obtain a triangulation with points and connectivity list (which I got for other STLs with the same command), but a 1x1 struct containing the coordinates of faces and vertices .
Does anyone know why?
4 个评论
Walter Roberson
2022-2-3
Do the fields of the returned struct happen to be named 'Points' and 'ConnectivityList' ? If so, then somehow you would have received the struct() of the triangulation object.
Would you happen to be able to zip the .stl and attach it for us to test ?
Francesca Pittoni
2022-2-3
编辑:Walter Roberson
2022-2-3
Walter Roberson
2022-2-3
Which MATLAB release are you using? I just tried in R2021b and I get a triangulation out, which is what is expected.
Francesca Pittoni
2022-2-5
回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 STL (STereoLithography) 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!