From f66307e4ba6ccd049624f9a299299b5f9e6801a7 Mon Sep 17 00:00:00 2001 From: Jean-Marie Verdun Date: Fri, 3 Mar 2017 22:36:38 +0100 Subject: [PATCH] Disable pyra13 output within UNV file, as this element is not officially supported by this file format. Fix bug 2649 --- .../salomesmesh/src/DriverUNV/DriverUNV_W_SMDS_Mesh.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/3rdParty/salomesmesh/src/DriverUNV/DriverUNV_W_SMDS_Mesh.cpp b/src/3rdParty/salomesmesh/src/DriverUNV/DriverUNV_W_SMDS_Mesh.cpp index d367e0d65..b1e3ec5fc 100644 --- a/src/3rdParty/salomesmesh/src/DriverUNV/DriverUNV_W_SMDS_Mesh.cpp +++ b/src/3rdParty/salomesmesh/src/DriverUNV/DriverUNV_W_SMDS_Mesh.cpp @@ -170,7 +170,11 @@ Driver_Mesh::Status DriverUNV_W_SMDS_Mesh::Perform() case 6: anId = 112; break; case 8: anId = 115; break; case 10: anId = 118; break; - case 13: anId = 114; break; + // Quadratic Pyramid are not properly supported into UNV file and + // shouldn't be part of the output only wedge are supported + // http://www.sdrl.uc.edu/sdrl/referenceinfo/universalfileformats/ + // file-format-storehouse/universal-dataset-number-2412 + // case 13: anId = 114; break; case 15: anId = 113; break; case 20: case 27: anId = 116; aNbNodes = 20; break;