Save convhull as a stl file

2 visualizaciones (últimos 30 días)
耀 谷
耀 谷 el 23 de Feb. de 2022
Comentada: 耀 谷 el 23 de Feb. de 2022
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.

Respuesta aceptada

KSSV
KSSV el 23 de Feb. de 2022
  1 comentario
耀 谷
耀 谷 el 23 de Feb. de 2022
I used the above function, but it can only be saved as a surface, not as a convex hull

Iniciar sesión para comentar.

Más respuestas (0)

Etiquetas

Productos


Versión

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by