mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-13 18:20:34 +05:00
Référence mise à jour
This commit is contained in:
parent
93b3222f60
commit
5f9f702845
@ -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 \
|
||||
)
|
||||
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user