meshgrid .stl file and extract data points?

How to meshgrid an .stl file. lets say we have a thin ribbon shape .stl part and need to meshgrid its face. How can i do this?
Thank you

 Akzeptierte Antwort

Abhisek Roy
Abhisek Roy am 28 Aug. 2017

0 Stimmen

Hi,
Have a look at the following example -
https://www.mathworks.com/help/pde/examples/deflection-analysis-of-a-bracket.html
In this example, a bracket has been imported as a STL file and then FEA analysis has been done to find out the deflection under load. This will give you idea for the complete workflow.
Regards,
Abhisek

1 Kommentar

Faez Alkadi
Faez Alkadi am 28 Aug. 2017
Bearbeitet: Faez Alkadi am 28 Aug. 2017
hello Abhisek,
This function doesn't work for me because my .stl model is in a ribbon shape which has only two faces. so i get the next error !
__________________________________________________________________________
Error using pde.DiscreteGeometry Failed to create geometry, the input does not form a closed volume. This may be due to missing faces or gaps in the input.
Error in pde.PDEModel/importGeometry (line 51) gm = pde.DiscreteGeometry(geofilename);
__________________________________________________________________________
any other suggestions ? and if i can mesh it, can i extract the data points in (x,y,z)? Thank you.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by