how to export model coordinates?

4 visualizzazioni (ultimi 30 giorni)
Hello,
I am running the example spiralInductor.
Is there a way to export the geometry for fabrication?
Thank you
  2 Commenti
Jacob Mathew
Jacob Mathew il 16 Ago 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 il 16 Ago 2024
Great, Thank you. will try

Accedi per commentare.

Risposta accettata

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

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su 2-D and 3-D Plots in Help Center e File Exchange

Prodotti


Release

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by