Importing STL file with 4 objects turning into 1
Show older comments
Hi! I have a simple object comprised of four blocks as shown in the CAD below. I'm modeling it as 4 separate objects with different material properties. My problem is that when I import it in matlab using the code below, it turns it into a single object, as shown
Is there a way for the stl file to accurately be imported?
Is there a quick way to edit this object in matlab to mirror the CAD file?
structuralmodel = createpde('structural','modal-solid');
importGeometry(structuralmodel, 'plateproblem2.stl');
figure
pdegplot(structuralmodel,'EdgeLabels','on');
view(100,100)


3 Comments
darova
on 22 Mar 2021
I think you should import each body separately
Ammiel Barros
on 23 Mar 2021
Bastiaan
on 10 Sep 2024
Ammiel Barros, how is it now? multiple bodies cant be assembled into the Matlab PDE Modeler?
Best regards
Bastiaan Pierik
Accepted Answer
More Answers (0)
Categories
Find more on STL (STereoLithography) in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!