Displaying STL file with colored facets
조회 수: 14 (최근 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
댓글 수: 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!