From 5f9f7028458e2ee9b7473c815ce22f2f50015933 Mon Sep 17 00:00:00 2001 From: GERALD NICOLAS Date: Tue, 26 Jan 2021 15:28:08 +0100 Subject: [PATCH] =?utf8?q?R=C3=A9f=C3=A9rence=20mise=20=C3=A0=20jour?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/Tools/blocFissure/CasTests/cylindre_2.py | 20 ++++++++++--------- .../blocFissure/CasTests/faceGauche_2.py | 9 ++++----- 2 files changed, 15 insertions(+), 14 deletions(-) diff --git a/src/Tools/blocFissure/CasTests/cylindre_2.py b/src/Tools/blocFissure/CasTests/cylindre_2.py index 241ff0ce8..246145709 100644 --- a/src/Tools/blocFissure/CasTests/cylindre_2.py +++ b/src/Tools/blocFissure/CasTests/cylindre_2.py @@ -50,7 +50,7 @@ class cylindre_2(cylindre): shellFiss = geompy.ImportBREP(os.path.join(gmu.pathBloc, "materielCasTests", "FissInCylindre.brep")) fondFiss = geompy.CreateGroup(shellFiss, geompy.ShapeType["EDGE"]) - geompy.UnionIDs(fondFiss, [3]) + geompy.UnionIDs(fondFiss, [6]) geompy.addToStudy( shellFiss, 'shellFiss' ) geompy.addToStudyInFather( shellFiss, fondFiss, 'fondFiss' ) @@ -62,12 +62,14 @@ class cylindre_2(cylindre): # --------------------------------------------------------------------------- def setReferencesMaillageFissure(self): - self.referencesMaillageFissure = dict(Entity_Quad_Pyramid = 1334, - Entity_Quad_Triangle = 1432, - Entity_Quad_Edge = 785, - Entity_Quad_Penta = 560, - Entity_Quad_Hexa = 19070, - Entity_Node = 114290, - Entity_Quad_Tetra = 19978, - Entity_Quad_Quadrangle = 7424) + self.referencesMaillageFissure = dict( \ + Entity_Quad_Pyramid = 1158, + Entity_Quad_Quadrangle = 7028, \ + Entity_Quad_Hexa = 18366, \ + Entity_Node = 105035, \ + Entity_Quad_Edge = 735, \ + Entity_Quad_Triangle = 1056, \ + Entity_Quad_Tetra = 16305, \ + Entity_Quad_Penta = 384 \ + ) diff --git a/src/Tools/blocFissure/CasTests/faceGauche_2.py b/src/Tools/blocFissure/CasTests/faceGauche_2.py index 4bcc36494..d16921f50 100644 --- a/src/Tools/blocFissure/CasTests/faceGauche_2.py +++ b/src/Tools/blocFissure/CasTests/faceGauche_2.py @@ -57,8 +57,8 @@ class faceGauche_2(fissureGenerique): # --------------------------------------------------------------------------- def setParamShapeFissure(self): - """ - paramètres de la fissure pour méthode construitFissureGenerale + """paramètres de la fissure pour méthode construitFissureGenerale + lgInfluence : distance autour de la shape de fissure a remailler (A ajuster selon le maillage) rayonPipe : le rayon du pile maillé en hexa autour du fond de fissure convexe : optionnel True : la face est convexe (vue de l'exterieur) sert si on ne donne pas de point interne @@ -76,11 +76,10 @@ class faceGauche_2(fissureGenerique): shellFiss = geompy.ImportBREP(os.path.join(gmu.pathBloc, "materielCasTests", "faceGauche2FissCoupe.brep")) fondFiss = geompy.CreateGroup(shellFiss, geompy.ShapeType["EDGE"]) - geompy.UnionIDs(fondFiss, [14, 9]) + geompy.UnionIDs(fondFiss, [4, 12]) geompy.addToStudy( shellFiss, 'shellFiss' ) geompy.addToStudyInFather( shellFiss, fondFiss, 'fondFiss' ) - coordsNoeudsFissure = genereMeshCalculZoneDefaut(shellFiss, 5 ,25) centre = None @@ -88,7 +87,7 @@ class faceGauche_2(fissureGenerique): # --------------------------------------------------------------------------- def setParamMaillageFissure(self): - self.maillageFissureParams = dict(nomRep = '.', + self.maillageFissureParams = dict(nomRep = os.curdir, nomFicSain = self.nomCas, nomFicFissure = 'fissure_' + self.nomCas, nbsegRad = 5, -- 2.39.2