read_binary_stl_fil​e(filename)

a very fast binary stl file reader.
248 téléchargements
Mise à jour 29 mars 2017

Afficher la licence

reads stl files in very short time. does not read color.
reads binary file and returns triangle nodes as n*3 matrix , vertices as 3n*3 matrix and normals as n*3 matrix
triangles can be plotted using trisurf or trimesh
trisurf(tri,v(:,1),v(:,2),v(:,3),'EdgeColor','red','FaceColor','green')

Citation pour cette source

Sunil Bhandari (2025). read_binary_stl_file(filename) (https://fr.mathworks.com/matlabcentral/fileexchange/62345-read_binary_stl_file-filename), MATLAB Central File Exchange. Extrait(e) le .

Compatibilité avec les versions de MATLAB
Créé avec R2015b
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS Linux
Catégories
En savoir plus sur STL (STereoLithography) dans Help Center et MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Publié le Notes de version
2.0.0.0

function to plot large stl file faster is included

1.0.0.0

faster plot function added for plotting larger binary stl files