%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.
引用格式
Lateef Adewale Kareem (2024). surf2stl (https://www.mathworks.com/matlabcentral/fileexchange/117400-surf2stl), MATLAB Central File Exchange. 检索时间: .
MATLAB 版本兼容性
创建方式
R2022a
兼容任何版本
平台兼容性
Windows macOS Linux标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!