meshgrid and Surf an IGES and/or STL surface with holes in the middle ?

I have a surface model in IGES and STL formats. the model has domes and holes with different shapes (circles, squares...etc) in the middle. Is there any way I can determine the boundaries of the wholes model and the holes only, and meshgrid and surf the whole surface except the wholes ?
Thank you so much

2 Kommentare

What's the necessity to meshgrid and surf? You can surf the stl data itself.
Faez Alkadi
Faez Alkadi am 11 Sep. 2017
Bearbeitet: Faez Alkadi am 11 Sep. 2017
because I want the surface grid data. with a specific grid size. hope you can let me know if this is possible without meshgrid.

Melden Sie sich an, um zu kommentieren.

Antworten (1)

KSSV
KSSV am 11 Sep. 2017

0 Stimmen

You can interpolate to your desired resolution/ grid size using griddata or scatteredinterpolant

3 Kommentare

Faez Alkadi
Faez Alkadi am 11 Sep. 2017
Bearbeitet: Faez Alkadi am 26 Sep. 2017
I did that before with STL and had this issue as you see in the link:
https://www.mathworks.com/matlabcentral/answers/353948-deformed-surf-using-griddata
So, i figured out i need more dense data to get a nice fit meshgrid and surf. so i used IGES data file instead of STL and got the data attached here. But still i can't get the grid according to the boundary and moreover i can't avoid surfing the whole in the middle.
Attach nodal connectivity data also....
Faez Alkadi
Faez Alkadi am 12 Sep. 2017
Bearbeitet: Faez Alkadi am 12 Sep. 2017
sorry for the late reply, I just don't get notifications on comments. only on answers !!!
Is this what you asking for ?(attached)
And after surfing it, Is it possible to convert the IGES to image so we can use (bwboundaries) to find the boundaries of the whole part and the wholes in it in XY dimensions ?
THANKS FOR THE HELP

Melden Sie sich an, um zu kommentieren.

Gefragt:

am 9 Sep. 2017

Bearbeitet:

am 26 Sep. 2017

Community Treasure Hunt

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

Start Hunting!

Translated by