Question about STL file
19 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hello!
I have an STL file which contains the facets and vertices. My concern is about the way the facets are saved because I have noticed that the facets don't seem to have any common nodes with each other which is not obvious for me, so it would be very much appreciated if anyone can tell if this is normal or I am having some problem in my file!
Note: I have attached a screenshot of the STL file
Thank you and best regards!![facets_stl.png](https://www.mathworks.com/matlabcentral/answers/uploaded_files/198227/facets_stl.png)
![facets_stl.png](https://www.mathworks.com/matlabcentral/answers/uploaded_files/198227/facets_stl.png)
2 commentaires
Réponse acceptée
Cris LaPierre
le 5 Déc 2018
Modifié(e) : Cris LaPierre
le 5 Déc 2018
How are you reading the file into MATLAB? If I follow the example on the stlread documentation, I can import and plot the mesh.
data = stlread('femur.stl');
trimesh(data,'FaceColor','none','EdgeColor','k')
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/198295/image.png)
The interesting thing is the numbers from the various files are different.
- stlread imports 33332x3 points and 66670x3 ConnectivityList
- Your screenshot shows the values similar to what I see in ConnectivityList, but 178726x3 of them.
- fv contains 66674x3 faces and 200022x3 vertices. How were faces and vertices created?
11 commentaires
Ajay Deshmukh
le 15 Sep 2021
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/738969/image.jpeg)
can anybody tell me how should I overlap this two stl models, there is gap between this two files. I want to overlap them on each other to measure how much the deformed model has deformed compared with non deformed model.
Plus de réponses (0)
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!