Effacer les filtres
Effacer les filtres

How do you export a plot into a stl file?

12 vues (au cours des 30 derniers jours)
Sophia Smith
Sophia Smith le 18 Mar 2018
Réponse apportée : voxey le 14 Déc 2018
t = [0:0.1:2*pi] a = sin(t); plot(t,a)
Trying to export this sin plot as an stl. file. I may need to make it 3d first. Any ideas?

Réponses (1)

voxey
voxey le 14 Déc 2018
DT = delaunayTriangulation(xc,yc,z);
sha=alphaShape(xc,yc,z);
[T,Xb] = freeBoundary(DT);
TR = triangulation(T,Xb);
stlwrite(TR,'yourstlname.stl',text)

Community Treasure Hunt

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

Start Hunting!

Translated by