Displaying STL file with colored facets
30 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Sleh Eddine Brika
le 6 Mar 2016
Modifié(e) : Sleh Eddine Brika
le 8 Déc 2017
I have an STL file of a part for 3D printing, for each facet I had calculated the surface roughness.How to display the STL file with the facets colored according to the value of its specific surface roughness? I want to get something like that
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/156836/image.jpeg)
0 commentaires
Réponse acceptée
Ahmet Cecen
le 6 Mar 2016
p = patch('faces',F,'vertices',V,'FaceColor',[0.8 0.8 1.0],'FaceLighting','gouraud');
Pass the surface roughness vector as the argument to the 'FaceColor' option.
2 commentaires
Mohammad Ismail
le 8 Déc 2017
Hi I want to import complext geometry from solid work the command readstl did not work. Could you please help me in that
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!