2d stl import from solidworks
9 views (last 30 days)
Show older comments
Konstantinos Moulakis
on 29 Sep 2021
Hello i have a geometry for structural analysis in PDE. The problem is that i want to import 2d stl file but my model that is from solidworks cant export in 2d stl
1 Comment
Cris LaPierre
on 29 Sep 2021
Seems like a question for SolidWorks. Once you have your stl file, you can import it into your pde model using importGeometry.
% example from the documentation
model = createpde;
importGeometry(model,'PlateHolePlanar.stl');
pdegplot(model)
Accepted Answer
Konstantinos Moulakis
on 5 Oct 2021
4 Comments
Waylon Puckett
on 6 May 2024
Moved: DGM
on 6 May 2024
I have the same problem and those steps in SolidWorks don't really exist for me...I can insert Reference Geometry, and I can insert the plane, but there's no shape it's just an infinite plane, and I don't see how you are exporting it.
Domantas
on 3 Jun 2024
Edited: Domantas
on 3 Jun 2024
These steps didn't work for me either. I managed to solve it by extruding my desired sketch, converting the upper face to a Planar Surface (under Surfaces tab), selecting it, Convert to Mesh Body (Mesh Modelling tab) and exporting this 2D mesh body as STL. Might be an easier way but this worked for me and I was able to import the STL into MatLab to result in a 2D geometry.
More Answers (0)
See Also
Categories
Find more on Geometry and Mesh 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!