MATLAB Answers

meshgrid .stl file and extract data points?

15 views (last 30 days)
Faez Alkadi
Faez Alkadi on 25 Aug 2017
Edited: Faez Alkadi on 28 Aug 2017
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

  0 Comments

Sign in to comment.

Accepted Answer

Abhisek Roy
Abhisek Roy on 28 Aug 2017
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 Comment

Faez Alkadi
Faez Alkadi on 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.

Sign in to comment.

More Answers (0)


Translated by