PDE Toolbox STL Import with Incorrect Faces
2 views (last 30 days)
Show older comments
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 Comments
Answers (2)
M S
on 19 Feb 2016
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 Comment
Sleh Eddine Brika
on 17 May 2016
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.
See Also
Categories
Find more on Geometry and Mesh in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!