mymesh.converter#
Mesh conversion tools
Mesh type conversion#
|
Extract the 2D surface elements from a 3D volume mesh |
|
Convert 3D image data to a cubic mesh. |
|
Convert a rectilinear voxel mesh (grid) to an 3D image matrix. |
|
Convert a surface mesh to a filled voxel mesh. |
|
Convert a surface mesh to it's dual mesh. |
Connectivity conversion#
|
Convert solid mesh to faces. |
|
Convert a solid mesh to edges. |
|
Extract the edges of an unclosed surface mesh. |
|
Returns edges grouped by the element from which they came. |
|
Identify surface elements, i.e. faces that aren't shared between two elements. |
|
Reduce set of mesh faces to contain only unique faces, i.e. there will only be one entry to indicate a face shared between two elements. |
|
Reduce set of mesh edges to contain only unique edges, i.e. there will only be one entry to indicate a edge shared between multiple elements. |
|
Extract triangular faces from all elements of a purely 4-Node tetrahedral mesh. |
|
Extract quadrilateral faces from all elements of a purely 8-Node hexahedral mesh. |
|
Extract triangular and quadrilateral faces from all elements of a purely 5-Node pyramidal mesh. |
|
Extract triangular and quadrilateral faces from all elements of a purely 6-Node wedge elemet mesh. |
|
Extract edges from all elements of a purely 3-Node triangular mesh. |
|
Extract edges from all elements of a purely 4-Node quadrilateral mesh. |
|
Extract edges from all elements of a polygonal mesh. |
|
Extract edges from all elements of a purely 4-Node tetrahedral mesh. |
|
Extract edges from all elements of a purely 5-Node pyramidal mesh. |
|
Extract edges from all elements of a purely 6-Node wedge element mesh. |
|
Extract edges from all elements of a purely 8-Node hexahedral mesh. |
Element type conversion#
|
Decompose all elements of a 3D volume mesh to tetrahedra. |
|
Decompose all elements of a 3D hexahedral mesh to tetrahedra. |
|
Decompose all elements of a 3D wedge-element mesh to tetrahedra. |
|
Decompose all elements of a 3D pyramidal mesh to tetrahedra. |
|
Decompose all elements of a surface mesh to triangles. |
|
Converts a quadrilateral mesh to a triangular mesh by splitting each quad into 2 tris |
|
Converts a 10-node tetradehdral mesh to a 4-node tetradehedral mesh. |
|
Converts a 4 node tetrahedral mesh to 10 node tetrahedral mesh. |
|
Subdivide hexahedra into 8 sub-hexahedra, connecting corners to the element, face, and edge centroids. |