showDuplicateVertices
Description
Examples
Detect and Visualize Bad Mesh Features
Use the stlFileChecker
object to detect and display bad features in a STL file.
stlFilename = 'sample_stl_file.stl';
s = stlFileChecker(stlFilename)
detected 8 Non Manifold Edges. detected 3 Non Manifold Vertices. detected 4 duplicate Vertices. detected 0 Slivers. detected 12 Normal Transition Edges. detected 2 Free Triangles. detected 9 T-Vertices.
s = stlFileChecker with properties: FileName: 'sample_stl_file.stl' Triangulation: [162x3 triangulation] NonManifoldEdges: [8x2 double] NonManifoldVertices: [3x1 double] Slivers: [0x1 double] DuplicateVertices: [4x1 double] NormalTransitionEdges: [12x2 double] FreeTriangles: [2x1 double] TVertices: [9x1 double] ShowLog: 1 MinimumSeparation: 1.0000e-06 MinimumArea: 1.0000e-11
Visualize the non-manifold edges in the STL file.
showNonManifoldEdges(s)
Visualize the non-manifold vertices in the STL file.
figure showNonManifoldVertices(s)
Visualize duplicate vertices in the STL file.
figure showDuplicateVertices(s)
Visualize the normal transition edges in the STL file.
figure showNormalTransitionEdges(s)
Visualize the free triangles in the STL file.
figure showFreeTriangles(s)
Visualize the T-vertices in the STL file.
figure showTVertices(s)
Input Arguments
s
— STL file checked for defects
stlFileChecker
object (default)
STL file checked for defects, specified as a stlFileChecker
object.
Example: stlFileChecker("sample_stl_file.stl")
m
— Mesh parameters
MeshReader
object (default)
Mesh parameters, specified as a MeshReader
object.
Example: MeshReader
object created using the mesh
function.
Version History
Introduced in R2021b
MATLAB Command
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)
Asia Pacific
- Australia (English)
- India (English)
- New Zealand (English)
- 中国
- 日本Japanese (日本語)
- 한국Korean (한국어)