Displaying STL file with colored facets
11 次查看(过去 30 天)
显示 更早的评论
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 个评论
采纳的回答
Ahmet Cecen
2016-3-6
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 个评论
Mohammad Ismail
2017-12-8
Hi I want to import complext geometry from solid work the command readstl did not work. Could you please help me in that
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Colormaps 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!