Extract information of points in 3D PDE toolbox

조회 수: 1 (최근 30일)
Vinh Dang
Vinh Dang 2016년 2월 18일
댓글: Sleh Eddine Brika 2016년 5월 16일
Hello, I am using PDE toolbox to evaluate elastic deformation of an object.
N = 3;
model = createpde(N);
importGeometry(model,'pad.stl');
figure
pdegplot(model,'FaceLabels','on')
How can I extract the coordinate of points (x,y,z) on an arbitrary face, for example face F10. Thanks
  댓글 수: 1
Sleh Eddine Brika
Sleh Eddine Brika 2016년 5월 16일
Same problem I am 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 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.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 PDE Solvers에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by