From: Anthony Geay Date: Thu, 14 Nov 2024 14:17:23 +0000 (+0100) Subject: [EDF31086] : Improve perf of conversion X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=c08324a5f99a5e0cc1c3052fd6adafe37d3dc937;p=tools%2Fmedcoupling.git [EDF31086] : Improve perf of conversion --- diff --git a/src/MEDCoupling_Swig/geom2medcoupling.py b/src/MEDCoupling_Swig/geom2medcoupling.py index 3f1c42d27..ac5c0f8fc 100644 --- a/src/MEDCoupling_Swig/geom2medcoupling.py +++ b/src/MEDCoupling_Swig/geom2medcoupling.py @@ -34,6 +34,7 @@ def __to_geomshape_3D(mcmesh): geompy = geomBuilder.New() mcmesh2 = mcmesh.deepCopyConnectivityOnly() + mcmesh2.zipCoords() vertices = [ geompy.MakeVertex(*list(elt)) for elt in mcmesh2.getCoords()] mcfaces = mcmesh2.buildDescendingConnectivity()[0]