Borrar filtros
Borrar filtros

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

7 visualizaciones (últimos 30 días)
영진 정
영진 정 el 28 de Jul. de 2022
Respondida: Tushar el 7 de Dic. de 2023
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!!

Respuestas (1)

Tushar
Tushar el 7 de Dic. de 2023
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

Etiquetas

Productos


Versión

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by