surf2stl

Write STL file from surface data.
156 descargas
Actualizado 28 may 2024

Ver licencia

%SURF2STL Write STL file from surface data.
% SURF2STL(surfhandle, 'filename') writes a stereolithography (STL) file
% for a surface with the given handle surfhandle. It eliminate triangles
% with zero area.
%
% SURF2STL(...,'mode') may be used to specify the output format.
%
% 'binary' - writes in STL binary format (default)
% 'ascii' - writes in STL ASCII format
%
% Example:
% [X, Y, Z] = peaks;
% s = surf(X, Y, Z);
% surf2stl(s, 'test.stl');
% See also SURF.

Citar como

Lateef Adewale Kareem (2024). surf2stl (https://www.mathworks.com/matlabcentral/fileexchange/117400-surf2stl), MATLAB Central File Exchange. Recuperado .

Compatibilidad con la versión de MATLAB
Se creó con R2022a
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
Versión Publicado Notas de la versión
1.0.1

This updates takes care of situation where surf is generated with vector of X and Y instead of matrices. The algorithm calls meshgrid to convert the XData and YData to the appropriate matrices.

1.0.0.1

Update the description

1.0.0