Create 3D Geometry for PDE Toolbox
Mostrar comentarios más antiguos
I am having trouble creating the geometry of the attached image for use in the PDE toolbox. I have tried several things: i) reworking the examples from the FileExchange code stlwrite by Sven Holcombe, ii) the use of the isosurface function, iii) the use of the alphashape function. All are failing. Any tips would be appreciated!

5 comentarios
darova
el 26 de Mzo. de 2020
What is the format of data? I suppose it should be meshed?
Paul Safier
el 26 de Mzo. de 2020
darova
el 26 de Mzo. de 2020
so you have to create only surface or inside elements?
here is simple part of it:
s = 1;
w = 1;
h = 2;
d = 1;
x = [0 s+w s+w s s 0];
y = [h+d d+h 0 0 h h];
patch(x,y,'r')
axis equal
Paul Safier
el 26 de Mzo. de 2020
Paul Safier
el 26 de Mzo. de 2020
Respuestas (0)
Categorías
Más información sobre Geometry and Mesh 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!