triangular prism mesh? #722
-
I am working with the commercial software EVS. From EVS, I can export a mesh as a text file that contains the coordinates of each vertex and the vertex list for each mesh cell. However, the mesh from EVS has triangular prism cells. The vertex list is provided as all the vertices for each prism (so each triangular prism cell has a list of 6 vertices). It looks like vedo.Mesh() wants tetrahedral cells vertices and faces, which is fundamentally different than what I have. Can create a triangular prism mesh in Vedo using my data? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
For a prism (wedge) celltype must be 13.
|
Beta Was this translation helpful? Give feedback.
Mesh
is meant to represent polygonal meshes.TetMesh
for trtrahedral meshes.UGrid
is for other cases or mixed types as in your case, it can be created with:For a prism (wedge) celltype must be 13.
https://vtk.org/doc/nightly/html/classvtkWedge.html#details