STL File Reader

STLREAD imports geometry from a binary stereolithography (STL) file into MATLAB.
39,1K Downloads
Aktualisiert 20. Jul 2011

Lizenz anzeigen

In addition to the STLREAD import function, this submission also includes a small demo that loads an STL model of a human femur bone.

FV = STLREAD(FILENAME) imports triangular faces from the binary STL file
indicated by FILENAME, and returns the patch struct FV, with fields 'faces'
and 'vertices'.

[F,V] = STLREAD(FILENAME) returns the faces F and vertices V separately.

[F,V,N] = STLREAD(FILENAME) also returns the face normal vectors.

The faces and vertices are arranged in the format used by the PATCH plot
object.

Zitieren als

Eric Johnson (2024). STL File Reader (https://www.mathworks.com/matlabcentral/fileexchange/22409-stl-file-reader), MATLAB Central File Exchange. Abgerufen.

Kompatibilität der MATLAB-Version
Erstellt mit R2008b
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!

STLRead/

STLRead/html/

Version Veröffentlicht Versionshinweise
1.2.0.0

Updated submission with example script and 3D model.

1.1.0.0

None

1.0.0.0