STL File Reader(Both ASCII & BIN, auto-detection)

版本 1.0.0 (3.4 KB) 作者: Wang Jack
Imports facet from stereolithography (STL) file into MATLAB.
158.0 次下载
更新时间 2020/7/22

查看许可证

The main.m file is a demo
hole.stl Is an ASCII file, and holeb.stl is a binary file
I written two detection modes, which can modify by yourself
The contains function requires version r2016b. A lower version can try to use strfind instead

Each row is a patch information (including vertex and normal vector)
[x1,y1,z1,x2,y2,z2,x3,y3,z3,nx,ny,nz]

引用格式

Wang Jack (2024). STL File Reader(Both ASCII & BIN, auto-detection) (https://www.mathworks.com/matlabcentral/fileexchange/78489-stl-file-reader-both-ascii-bin-auto-detection), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2018b
与 R2016b 及更高版本兼容
平台兼容性
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.0.0