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 commentaire

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)

Connectez-vous pour commenter.

 Réponse acceptée

Konstantinos Moulakis
Konstantinos Moulakis le 5 Oct 2021

0 votes

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 commentaires

youssef Benkhayi
youssef Benkhayi le 4 Jan 2022
Déplacé(e) : DGM le 6 Mai 2024
Hi,
i have the same problem, but i can't follow your solution.
can you explain again how you did it, thank you!
Cris LaPierre
Cris LaPierre le 4 Jan 2022
Déplacé(e) : DGM le 6 Mai 2024
The steps are done in SolidWorks.
Waylon Puckett
Waylon Puckett le 6 Mai 2024
Déplacé(e) : DGM le 6 Mai 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 le 3 Juin 2024
Modifié(e) : Domantas le 3 Juin 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.

Connectez-vous pour commenter.

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by