メインコンテンツ

showNonManifoldEdges

STL ファイルまたはメッシュ内の非多様体エッジを強調表示する

R2021b 以降

    説明

    showNonManifoldEdges(s) は、STL ファイルに含まれるジオメトリを表示し、非多様体エッジを赤で強調表示します。

    showNonManifoldEdges(m) は、メッシュを表示し、非多様体エッジを赤で強調表示します。

    すべて折りたたむ

    stlFileChecker オブジェクトを使用し、STL ファイル内の不良特性を検出して表示します。

    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
    
    

    STL ファイル内の非多様体エッジを可視化します。

    showNonManifoldEdges(s)

    Figure contains an axes object. The axes object with title Mesh Showing Non-Manifold Edges contains 3 objects of type patch, line. One or more of the lines displays its values using only markers This object represents Non-Manifold Edges.

    STL ファイル内の非多様体の頂点を可視化します。

    figure
    showNonManifoldVertices(s)

    Figure contains an axes object. The axes object with title Mesh Showing Non-Manifold Vertices contains 2 objects of type patch, line. One or more of the lines displays its values using only markers This object represents Non-Manifold Vertices.

    STL ファイル内の重複した頂点を可視化します。

    figure
    showDuplicateVertices(s)

    Figure contains an axes object. The axes object with title Mesh Showing Duplicate Vertices contains 2 objects of type patch, line. One or more of the lines displays its values using only markers This object represents Duplicate Vertices.

    STL ファイル内の法線遷移エッジを可視化します。

    figure
    showNormalTransitionEdges(s)

    Figure contains an axes object. The axes object with title Mesh Showing Normal Transition Edges contains 3 objects of type patch, line. One or more of the lines displays its values using only markers This object represents Normal Transition Edges.

    STL ファイル内の遊離した三角形を可視化します。

    figure
    showFreeTriangles(s)

    Figure contains an axes object. The axes object with title Mesh Showing Free Triangles contains 3 objects of type patch, line. One or more of the lines displays its values using only markers This object represents Free Triangles.

    STL ファイル内の T 型頂点を可視化します。

    figure
    showTVertices(s)

    Figure contains an axes object. The axes object with title Mesh Showing T-Vertices contains 2 objects of type patch, line. One or more of the lines displays its values using only markers This object represents T-Vertices.

    入力引数

    すべて折りたたむ

    欠陥チェックの対象となる STL ファイル。stlFileChecker オブジェクトとして指定します。

    例: stlFileChecker("sample_stl_file.stl")

    メッシュ パラメーター。MeshReader オブジェクトとして指定します。

    例: mesh 関数を使用して作成された MeshReader オブジェクト。

    バージョン履歴

    R2021b で導入

    参考

    オブジェクト