mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-03-07 03:05:37 +05:00
debug de GetInPlace pour Cas 7 eprouvette courbe non résolu
This commit is contained in:
parent
f8923c5796
commit
b5bd7f1852
@ -22,13 +22,14 @@ def compoundFromList(elements, nom=None):
|
||||
|
||||
if nom is not None:
|
||||
for i,a in enumerate(shapeList):
|
||||
nom = nom +"%d"%i
|
||||
logging.debug('nom: %s',nom)
|
||||
geomPublish(initLog.debug, a, nom)
|
||||
nomi = nom +"%d"%i
|
||||
logging.debug('nom: %s',nomi)
|
||||
geomPublish(initLog.debug, a, nomi)
|
||||
|
||||
shapeCompound = None
|
||||
if len(shapeList) > 0:
|
||||
shapeCompound =geompy.MakeCompound(shapeList)
|
||||
|
||||
nomc = "compound_%s"%nom
|
||||
geomPublish(initLog.debug, shapeCompound, nomc)
|
||||
return shapeCompound
|
||||
|
||||
|
@ -96,6 +96,7 @@ def identifieEdgesPeau(edgesFissExtPipe,verticesPipePeau, facePeau, facesPeauSor
|
||||
geompy.UnionList(groupEdgesBordPeau, edgesBords)
|
||||
bordsVifs = None
|
||||
if aretesVivesC is not None:
|
||||
logging.debug("identification des bords vifs par GetInPlace (old)")
|
||||
bordsVifs = geompy.GetInPlace(facePeau, aretesVivesC)
|
||||
if bordsVifs is not None:
|
||||
geomPublishInFather(initLog.debug, facePeau, bordsVifs, "bordsVifs")
|
||||
|
@ -32,6 +32,7 @@ def mailleFacesPeau(partitionsPeauFissFond, idFillingFromBout, facesDefaut,
|
||||
meshFacePeau = None
|
||||
if partitionsPeauFissFond[ifil] is None: # face de peau maillage sain intacte
|
||||
|
||||
logging.debug("meshFacePeau %d intacte", ifil)
|
||||
# --- edges de bord de la face de filling
|
||||
filling = facesDefaut[ifil]
|
||||
edgesFilling = geompy.ExtractShapes(filling, geompy.ShapeType["EDGE"], False)
|
||||
@ -49,6 +50,7 @@ def mailleFacesPeau(partitionsPeauFissFond, idFillingFromBout, facesDefaut,
|
||||
|
||||
else:
|
||||
|
||||
logging.debug("meshFacePeau %d coupée par la fissure", ifil)
|
||||
facePeau = facesPeaux[ifil] # pour chaque face : la face de peau finale a mailler (percée des faces débouchantes)
|
||||
edgesCircPeau = edCircPeau[ifil] # pour chaque face de peau : [subshape edge circulaire aux débouchés du pipe]
|
||||
verticesCircPeau = ptCircPeau[ifil] # pour chaque face de peau : [subshape point sur edge circulaire aux débouchés du pipe]
|
||||
|
Loading…
Reference in New Issue
Block a user