how to export model coordinates?

10 次查看(过去 30 天)
Hello,
I am running the example spiralInductor.
Is there a way to export the geometry for fabrication?
Thank you
  2 个评论
Jacob Mathew
Jacob Mathew 2024-8-16
Hey Naftali,
I understand that you want to export the model geometrically. While there is not a straightforward approach, you can refer to the “mesh” function to try and generate a 3 dimensional surface:
Once you are able to generate a suitable mesh,you can install the “stlwrite” function from the Add On Manager:
You can refer to the below MATLAB Answer as a guide to install Add Ons:

请先登录,再进行评论。

采纳的回答

Pratyush
Pratyush 2024-8-20
Hi Naftali,
To export the geometry of a spiral inductor from MATLAB for fabrication:
Ensure the spiral inductor object is created.
Use the "exportGeometry" function to export the geometry. For example, to export as an STL file:
inductor = spiralInductor('NumTurns', 5, 'InnerDiameter', 0.001, 'OuterDiameter', 0.005);
mesh = generateMesh(inductor);
exportGeometry(inductor, 'spiralInductor.stl');
Choose File Format:
- STL: For 3D printing.
- DXF: For 2D cutting.
- GDSII: For semiconductor fabrication.
Check the exported file using a CAD viewer.
Hope this helps.
  2 个评论
NAFTALI HERSCOVICI
NAFTALI HERSCOVICI 2024-8-20
Great, This is what I was looking for.
Thank you
NAFTALI HERSCOVICI
NAFTALI HERSCOVICI 2024-8-20
I tried your suggestion and did not work.
Got this messgae
No results for exportGeometry in MathWorks documentation.
Did you mean: importgeometry (98 results in MathWorks documentation).
is this a MATLAB version issue?

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Polar Plots 的更多信息

产品


版本

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by