From: GERALD NICOLAS Date: Thu, 15 Apr 2021 18:30:17 +0000 (+0200) Subject: pb du addToStudy() failed X-Git-Tag: V9_7_0a1~3^2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=13469a2390c6d6061a023967950aa3b3a1196bb2;p=modules%2Fsmesh.git pb du addToStudy() failed --- diff --git a/src/Tools/blocFissure/gmu/insereFissureLongue_c.py b/src/Tools/blocFissure/gmu/insereFissureLongue_c.py index 3d4fe3e0a..c8b8578d4 100644 --- a/src/Tools/blocFissure/gmu/insereFissureLongue_c.py +++ b/src/Tools/blocFissure/gmu/insereFissureLongue_c.py @@ -52,6 +52,8 @@ def insereFissureLongue_c (pipeFondFiss, disques, rayons, demiCercles, demiCercl putName(algo2d, "QUADRANGLE", i_pref=nro_cas) for i_aux, face in enumerate(disques): + #print (i_aux) + # la commande suivante entraîne addToStudy() failed algo2d = meshFondFiss.Quadrangle(algo=smeshBuilder.RADIAL_QUAD,geom=face) putName(algo2d.GetSubMesh(), "disque", i_aux, nro_cas) putName(algo2d, "RADIAL_QUAD", i_aux, nro_cas)