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 件のコメント

KSSV
KSSV 2017 年 9 月 9 日
What's the necessity to meshgrid and surf? You can surf the stl data itself.
Faez Alkadi
Faez Alkadi 2017 年 9 月 11 日
編集済み: Faez Alkadi 2017 年 9 月 11 日
because I want the surface grid data. with a specific grid size. hope you can let me know if this is possible without meshgrid.

サインインしてコメントする。

回答 (1 件)

KSSV
KSSV 2017 年 9 月 11 日

0 投票

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

3 件のコメント

Faez Alkadi
Faez Alkadi 2017 年 9 月 11 日
編集済み: Faez Alkadi 2017 年 9 月 26 日
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.
KSSV
KSSV 2017 年 9 月 12 日
Attach nodal connectivity data also....
Faez Alkadi
Faez Alkadi 2017 年 9 月 12 日
編集済み: Faez Alkadi 2017 年 9 月 12 日
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

サインインしてコメントする。

質問済み:

2017 年 9 月 9 日

編集済み:

2017 年 9 月 26 日

Community Treasure Hunt

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

Start Hunting!

Translated by