X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=blobdiff_plain;f=src%2FTools%2FblocFissure%2Fgmu%2FfindWireIntermediateVertices.py;h=63c884458002affa026af13e244052e2b6414c0a;hp=3b8b40591a38fa1b54f0302a4fb1d0def1275994;hb=a8380feec5b500ecfb5d0254e9126103539f4a78;hpb=fd5ea4103869e7f849c55c341bbff77e6c1013c8 diff --git a/src/Tools/blocFissure/gmu/findWireIntermediateVertices.py b/src/Tools/blocFissure/gmu/findWireIntermediateVertices.py index 3b8b40591..63c884458 100644 --- a/src/Tools/blocFissure/gmu/findWireIntermediateVertices.py +++ b/src/Tools/blocFissure/gmu/findWireIntermediateVertices.py @@ -2,6 +2,9 @@ import logging from geomsmesh import geompy +from geomsmesh import geomPublish +from geomsmesh import geomPublishInFather +import initLog # ----------------------------------------------------------------------------- # --- trouver les vertices intermediaires d'un wire @@ -41,11 +44,11 @@ def findWireIntermediateVertices(aWire, getNormals=False): else: idsubs[subid] = [sub] name='vertex%d'%i - geompy.addToStudyInFather(aWire, sub, name) + geomPublishInFather(initLog.debug, aWire, sub, name) if getNormals: idnorm[subid] = normals[i] name='norm%d'%i - geompy.addToStudyInFather(aWire, normals[i], name) + geomPublishInFather(initLog.debug, aWire, normals[i], name) for k, v in idsubs.iteritems(): if len(v) > 1: shortList.append(v[0])