Clear Filters
Clear Filters

how to export model coordinates?

4 views (last 30 days)
Hello,
I am running the example spiralInductor.
Is there a way to export the geometry for fabrication?
Thank you
  2 Comments
Jacob Mathew
Jacob Mathew on 16 Aug 2024
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:
NAFTALI HERSCOVICI
NAFTALI HERSCOVICI on 16 Aug 2024
Great, Thank you. will try

Sign in to comment.

Accepted Answer

Pratyush
Pratyush on 20 Aug 2024
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 Comments
NAFTALI HERSCOVICI
NAFTALI HERSCOVICI on 20 Aug 2024
Great, This is what I was looking for.
Thank you
NAFTALI HERSCOVICI
NAFTALI HERSCOVICI on 20 Aug 2024
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?

Sign in to comment.

More Answers (0)

Categories

Find more on 2-D and 3-D Plots in Help Center and File Exchange

Products


Release

R2023b

Community Treasure Hunt

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

Start Hunting!