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

Versión 1.0.0 (3,44 KB) por Wang Jack
Imports facet from stereolithography (STL) file into MATLAB.
194 Descargas
Actualizado 22 jul 2020

Ver licencia

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]

Citar como

Wang Jack (2025). STL File Reader(Both ASCII & BIN, auto-detection) (https://la.mathworks.com/matlabcentral/fileexchange/78489-stl-file-reader-both-ascii-bin-auto-detection), MATLAB Central File Exchange. Recuperado .

Compatibilidad con la versión de MATLAB
Se creó con R2018b
Compatible con cualquier versión desde R2016b
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.0