Azzera filtri
Azzera filtri

contour plot of a 3D Solid Object

4 visualizzazioni (ultimi 30 giorni)
Alberto Acri
Alberto Acri il 15 Nov 2020
Commentato: Shadaab Siddiqie il 30 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

Risposte (1)

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

Accedi per commentare.

Categorie

Scopri di più su Lighting, Transparency, and Shading in Help Center e File Exchange

Tag

Prodotti


Release

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by