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

95 vues (au cours des 30 derniers jours)
Ander Azpitarte
Ander Azpitarte le 12 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

Réponses (1)

Monisha Nalluru
Monisha Nalluru le 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

Catégories

En savoir plus sur Model Import dans Help Center et File Exchange

Produits


Version

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by