Binary STL file reader
This function is used for loading binary STL files.
There are already two stlread.m files available on the mathworks file exchange site. Harlev's version reads in the data and returns matrices with X/Y/Z formatted vertex data. Johnson's program reads in the data and returns Face/Vertex/Normal matrices.
This submission also exports Face/Vertex/Normal matrices, but runs about 30 times faster than Johnson's version and 13 times faster than Harlev's version (which doesn't export face normal data).
This submission will also properly read in color values (if present) and the STL file title.
For more info (including timing info) see: http://www.esmonde-white.com/home/diversions/matlab-program-for-loading-stl-files
引用格式
Francis Esmonde-White (2024). Binary STL file reader (https://www.mathworks.com/matlabcentral/fileexchange/29906-binary-stl-file-reader), MATLAB Central File Exchange. 检索时间: .
MATLAB 版本兼容性
平台兼容性
Windows macOS Linux类别
- MATLAB > Data Import and Analysis > Data Import and Export > Standard File Formats > STL (STereoLithography) >
标签
致谢
参考作品: stlread, STL File Reader
启发作品: Simple Robotics Toolbox, Patch Slim (patchslim.m), Show 3D model, Generate U3D files from STL models for making multilayer 3D PDF figures, Compute STL Vertex Normals, Binary STL file reader
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!版本 | 已发布 | 发行说明 | |
---|---|---|---|
1.0.0.0 |