Filter löschen
Filter löschen

Import geometry from STEP file for PDE

19 Ansichten (letzte 30 Tage)
BLP
BLP am 14 Dez. 2022
Kommentiert: BLP am 28 Dez. 2022
Hello,
I was asked to model in MATLAB an electrical filed for a given electrode. The electode has a bit complicated geometry and was designed in AutoCAD and I did get STL and STEP file. The electrode is axially symetrical and, theoretically, I can try solve the problem for a planar (2D) shape but ... the STL file includes a 3D shape. I have read, that it is possible to extract a 2D shape from the STEP file but ... when I try to import the geometry from such a file I get the error:
>> gm = importGeometry("DW2-1-00.00.step")
Error using importGeometry
File "D:\Projekt PT\cad\DW2-1-00.00.step" requires 'stl' or 'STL' extension.
Does anybody have an idea why?
Thanks in advance for help.

Akzeptierte Antwort

Ritish Sehgal
Ritish Sehgal am 28 Dez. 2022
I assume that you are using MATLAB R2022a release.
I would like to inform you that importing geometry from a ‘STEP’ file was introduced in the R2022b release.
You can refer to the release notes below:
Also, the geometry imported from an STL file can be 3-D or planar, but the geometry imported from a STEP file must be 3-D.
You can refer to the documentation below for more information on the ‘importGeometry’ function:
Hope it helps!!
  1 Kommentar
BLP
BLP am 28 Dez. 2022
Yes, I am uisng MATLAB2022a release. Thank you very much for help. I will install the newest version and try again.
We will see :)

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Produkte


Version

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by