read_stl_file(name)

Versione 1.0.0.0 (4,12 KB) da Eugenio
File for reading a stl file in MATLAB
511 download
Aggiornato 29 ott 2015

Visualizza la licenza

Get information in MATLAB about a STL file. Use it as,
[F, V, N] = read_stl_file('myfile.stl');

where F are "faces", V are "vertices" and N are "normals".

The object can be plotted with,

p = patch('Faces', F, 'Vertices', V, 'FaceColor', 'red', 'EdgeColor', 'none');

Cita come

Eugenio (2025). read_stl_file(name) (https://it.mathworks.com/matlabcentral/fileexchange/53736-read_stl_file-name), MATLAB Central File Exchange. Recuperato .

Compatibilità della release di MATLAB
Creato con R2010a
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS Linux
Tag Aggiungi tag
Riconoscimenti

Ispirato: STL geometry cleanup

Community Treasure Hunt

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

Start Hunting!
Versione Pubblicato Note della release
1.0.0.0