mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-03-07 02:55: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:
|
if nom is not None:
|
||||||
for i,a in enumerate(shapeList):
|
for i,a in enumerate(shapeList):
|
||||||
nom = nom +"%d"%i
|
nomi = nom +"%d"%i
|
||||||
logging.debug('nom: %s',nom)
|
logging.debug('nom: %s',nomi)
|
||||||
geomPublish(initLog.debug, a, nom)
|
geomPublish(initLog.debug, a, nomi)
|
||||||
|
|
||||||
shapeCompound = None
|
shapeCompound = None
|
||||||
if len(shapeList) > 0:
|
if len(shapeList) > 0:
|
||||||
shapeCompound =geompy.MakeCompound(shapeList)
|
shapeCompound =geompy.MakeCompound(shapeList)
|
||||||
|
nomc = "compound_%s"%nom
|
||||||
|
geomPublish(initLog.debug, shapeCompound, nomc)
|
||||||
return shapeCompound
|
return shapeCompound
|
||||||
|
|
||||||
|
@ -96,6 +96,7 @@ def identifieEdgesPeau(edgesFissExtPipe,verticesPipePeau, facePeau, facesPeauSor
|
|||||||
geompy.UnionList(groupEdgesBordPeau, edgesBords)
|
geompy.UnionList(groupEdgesBordPeau, edgesBords)
|
||||||
bordsVifs = None
|
bordsVifs = None
|
||||||
if aretesVivesC is not None:
|
if aretesVivesC is not None:
|
||||||
|
logging.debug("identification des bords vifs par GetInPlace (old)")
|
||||||
bordsVifs = geompy.GetInPlace(facePeau, aretesVivesC)
|
bordsVifs = geompy.GetInPlace(facePeau, aretesVivesC)
|
||||||
if bordsVifs is not None:
|
if bordsVifs is not None:
|
||||||
geomPublishInFather(initLog.debug, facePeau, bordsVifs, "bordsVifs")
|
geomPublishInFather(initLog.debug, facePeau, bordsVifs, "bordsVifs")
|
||||||
|
@ -31,7 +31,8 @@ def mailleFacesPeau(partitionsPeauFissFond, idFillingFromBout, facesDefaut,
|
|||||||
for ifil in range(nbFacesFilling):
|
for ifil in range(nbFacesFilling):
|
||||||
meshFacePeau = None
|
meshFacePeau = None
|
||||||
if partitionsPeauFissFond[ifil] is None: # face de peau maillage sain intacte
|
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
|
# --- edges de bord de la face de filling
|
||||||
filling = facesDefaut[ifil]
|
filling = facesDefaut[ifil]
|
||||||
edgesFilling = geompy.ExtractShapes(filling, geompy.ShapeType["EDGE"], False)
|
edgesFilling = geompy.ExtractShapes(filling, geompy.ShapeType["EDGE"], False)
|
||||||
@ -49,6 +50,7 @@ def mailleFacesPeau(partitionsPeauFissFond, idFillingFromBout, facesDefaut,
|
|||||||
|
|
||||||
else:
|
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)
|
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]
|
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]
|
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