From 635cfb4d85f0a2a39d809381ebfe3fc88f0b10b2 Mon Sep 17 00:00:00 2001 From: Paul RASCLE Date: Tue, 8 Mar 2016 11:41:15 +0100 Subject: [PATCH] general crack dialog, error in hexa detection --- src/Tools/blocFissure/gmu/peauInterne.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Tools/blocFissure/gmu/peauInterne.py b/src/Tools/blocFissure/gmu/peauInterne.py index ae6870c88..6e6915966 100644 --- a/src/Tools/blocFissure/gmu/peauInterne.py +++ b/src/Tools/blocFissure/gmu/peauInterne.py @@ -52,7 +52,7 @@ def peauInterne(fichierMaillage, shapeDefaut, nomZones): for i in keys: #print " %s : %d" % ( i, info[i] ) nbelem+=info[i] - if i == "Entity_Hexa": + if "Entity_Hexa" in str(i): nbhexa+=info[i] if (nbelem == 0) or (nbhexa < nbelem) : texte = "La zone a remailler est incorrecte.
" -- 2.39.2