PDE Toolbox STL Import with Incorrect Faces
2 次查看(过去 30 天)
显示 更早的评论
I am attempting to import 3D geometry into the PDE Toolbox via the importGeometry function. The import works correctly, however, the faces are not properly labeled. In short, the toolbox is claiming there are only 6 faces for the following geometry when there are clearly many more. Has anyone had any similar experiences? Is there a fix?
0 个评论
回答(2 个)
M S
2016-2-19
Hello,
We are having the same problems regarding an imported STL file. It does not recognize all faces. I hope we will get some answer from mathworks.
Best
1 个评论
Sleh Eddine Brika
2016-5-17
No it's not a problem with the STL file when using this command hc=pdegplot(model,'FaceLabels','on'); and extract the faces, vertices and Edges like this E= [(hc(2).XData)' (hc(2).YData)' (hc(2).ZData)']%Edges V=hc(1).Vertices;%Vertices F=hc(1).Faces;%Faces but the faces that I extracted my self are not the same as the ones ploted. For exemple if I have a square, the command pdegplot(model,'FaceLabels','on') will label one face, but the matrix F will have 2. I don't know how it's work ! I think that the fonction find a relation between faces/edges/vertices to detect the labeled faces but I didn't figure out how it's work.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Geometry and Mesh 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!