diff --git a/libsrc/meshing/python_mesh.cpp b/libsrc/meshing/python_mesh.cpp index c5438103..9413446c 100644 --- a/libsrc/meshing/python_mesh.cpp +++ b/libsrc/meshing/python_mesh.cpp @@ -126,6 +126,14 @@ DLL_HEADER void ExportNetgenMeshing() tmp->SetIndex(index); return tmp; } + if (bp::len(vertices) == 6) + { + Element * tmp = new Element(PRISM); + for (int i = 0; i < 6; i++) + (*tmp)[i] = bp::extract(vertices[i]); + tmp->SetIndex(index); + return tmp; + } if (bp::len(vertices) == 8) { Element * tmp = new Element(HEX);