Export surfaces to CAD (stl,step, iges, ...)

95 visualizzazioni (ultimi 30 giorni)
Ander Azpitarte
Ander Azpitarte il 12 Nov 2020
Risposto: Monisha Nalluru il 17 Nov 2020
Hello,
I have the following command and plot surface. All x1,x2,x3,x4,y1,y2,y3,y4 are 101x1 numeric data
X=[x1,x2,x3,x4,x1]
Y=[y1,y2,y3,y4,y1]
Z=[Z_increase,Z_increase,Z_increase,Z_increase,Z_increase]
Graph_1=surf(X,Y,Z)
Is it possible to export this surfaces into stl, iges, step or a similar CAD model?
If a body of this surface can be created and afterwards exported it's better for me, but just the surface is enough
I upload the numeric data in case someone needs it
Thanks in advance

Risposte (1)

Monisha Nalluru
Monisha Nalluru il 17 Nov 2020
You can export the surf plot values into a stl file using the following file exchange
Download the file exchange or add to path.
As an example
X=[x1,x2,x3,x4,x1]
Y=[y1,y2,y3,y4,y1]
Z=[Z_increase,Z_increase,Z_increase,Z_increase,Z_increase]
surf2stl('filename.stl',X,Y,Z) %exported the surf plot to stl format

Categorie

Scopri di più su Model Import in Help Center e File Exchange

Prodotti


Release

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by