Create 3D Geometry for PDE Toolbox
Afficher commentaires plus anciens
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 commentaires
darova
le 26 Mar 2020
What is the format of data? I suppose it should be meshed?
Paul Safier
le 26 Mar 2020
darova
le 26 Mar 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
le 26 Mar 2020
Paul Safier
le 26 Mar 2020
Réponses (0)
Catégories
En savoir plus sur Geometry and Mesh dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!