contour plot of a 3D Solid Object
4 views (last 30 days)
Show older comments
I imported the .stl file like this
fv = stlread('EXAMPLE.stl');
patch(fv,'FaceColor', [0.8 0.8 1.0], ...
'EdgeColor', 'none', ...
'FaceLighting', 'gouraud', ...
'AmbientStrength', 0.15);
grid off
hold on
axis equal
But I can't create the outline of the solid object. Anyone know how I can do?
For example the sphere in the figure
0 Comments
Answers (1)
Shadaab Siddiqie
on 18 Nov 2020
You can create outlines only on the edges not on a curved surface. For more information refer STL File Import.
2 Comments
See Also
Categories
Find more on Lighting, Transparency, and Shading in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!