MATLAB 帮助中心
Highlight slivers in STL file or mesh
Since R2021b
showSlivers(s)
showSlivers(m)
showSlivers(s) displays the geometry contained in the STL file and highlights the slivers in red.
s
example
showSlivers(m) displays the mesh and highlights the slivers in red.
m
collapse all
Use the stlFileChecker object to detect and display bad features in a STL file.
stlFileChecker
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: [162×3 triangulation] NonManifoldEdges: [8×2 double] NonManifoldVertices: [3×1 double] Slivers: [0×1 double] DuplicateVertices: [4×1 double] NormalTransitionEdges: [12×2 double] FreeTriangles: [2×1 double] TVertices: [9×1 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)
STL file checked for defects, specified as a stlFileChecker object.
Example: stlFileChecker("sample_stl_file.stl")
stlFileChecker("sample_stl_file.stl")
MeshReader
Mesh parameters, specified as a MeshReader object.
Example: MeshReader object created using the mesh function.
mesh
Introduced in R2021b
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.
选择网站
选择网站以获取翻译的可用内容,以及查看当地活动和优惠。根据您的位置,我们建议您选择:。
您也可以从以下列表中选择网站:
如何获得最佳网站性能
选择中国网站(中文或英文)以获得最佳网站性能。其他 MathWorks 国家/地区网站并未针对您所在位置的访问进行优化。
美洲
欧洲
亚太
联系您当地的办事处