How do you export a plot into a stl file?
12 次查看(过去 30 天)
显示 更早的评论
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?
0 个评论
回答(1 个)
voxey
2018-12-14
DT = delaunayTriangulation(xc,yc,z);
sha=alphaShape(xc,yc,z);
[T,Xb] = freeBoundary(DT);
TR = triangulation(T,Xb);
stlwrite(TR,'yourstlname.stl',text)
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!