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 LinuxCategorie
- MATLAB > Data Import and Analysis > Data Import and Export > Standard File Formats > STL (STereoLithography) >
Scopri di più su STL (STereoLithography) in Help Center e MATLAB Answers
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!Scopri Live Editor
Crea script con codice, output e testo formattato in un unico documento eseguibile.
| Versione | Pubblicato | Note della release | |
|---|---|---|---|
| 1.0.0.0 |
