2d stl import from solidworks

9 views (last 30 days)
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
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)

Sign in to comment.

Accepted Answer

Konstantinos Moulakis
Konstantinos Moulakis on 5 Oct 2021
I find the solution to my problem from the sketch we can insert-> ref geometry-> surface->planar and we can export this to stl so we can import in PDE
  4 Comments
Waylon Puckett
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
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.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!