Save convhull as a stl file
4 次查看(过去 30 天)
显示 更早的评论
clc;
Nf=40;
R=50;
sita=pi*rand(1,Nf);
fai=2*pi*rand(1,Nf);
x=R*(sin(sita).*cos(fai));
y=R*(sin(sita).*sin(fai));
z=R*cos(sita);
XYZ=[x' y' z'];
plot3(x,y,z,'r*')
axis equal
K = convhull(x,y,z);
trisurf(K,x,y,z,'Facecolor','cyan')
I hope to save the convhull I created as an STL file. Please help me. Thank you very much.
0 个评论
采纳的回答
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!