contour plot of a 3D Solid Object

6 vues (au cours des 30 derniers jours)
Alberto Acri
Alberto Acri le 15 Nov 2020
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

Réponses (1)

Shadaab Siddiqie
Shadaab Siddiqie le 18 Nov 2020
You can create outlines only on the edges not on a curved surface. For more information refer STL File Import.
  2 commentaires
Alberto Acri
Alberto Acri le 18 Nov 2020
The surface is characterized by a triangular mesh. Is it possible to see it in the figure?
Shadaab Siddiqie
Shadaab Siddiqie le 30 Nov 2020
Not form my understanding.

Connectez-vous pour commenter.

Tags

Produits


Version

R2020a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by