フィルターのクリア

Wondering how to put multiple 3D models inside a 3D model?

10 ビュー (過去 30 日間)
영진 정
영진 정 2022 年 7 月 28 日
回答済み: Tushar 2023 年 12 月 7 日
Wondering how to put multiple 3D models inside a 3D model?
I have a total of 3 STL files.
I would like to know how to make two 3D model files that will be placed in the above brain file into one shell or add them one by one to one shell.
And I want to know how to make a 3D model with a single shell into a PDE model,
and finally how to display it without using hold on.
Looking forward to a good reply!!

回答 (1 件)

Tushar
Tushar 2023 年 12 月 7 日
Hi,
I understand you want to combine three 3D models into a single PDE model. The ‘addCell’ function allows us to combine two geometries by adding one inside a cell of another. You can use the below command to combine two geometries.
g3 = addCell(g1, g2);
%Ensure that the geometries do not intersect each other
You may repeat the above step to combine the third geometry.
g5 = addCell(g3,g4);
For plotting the final geometry, you can use the below command.
pdegplot(g5);
%Here, g5 is the final geometry, made up of g1, g2 and g4.
For more information on ‘addCell function, see the below documentation.
You can also refer to a similar MATLAB Answer and see if it helps.
I hope the resources help you resolve the issue.
Regards,
Tushar

カテゴリ

Help Center および File ExchangeGeometry and Mesh についてさらに検索

製品


リリース

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by