X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FTools%2FblocFissure%2Fgmu%2FfindWireEndVertices.py;h=22f4ff014f105200a3ebfc6b4b55cdcd64c4a124;hb=e144839c8819a7671d4e4a7d0bd8a044a4526862;hp=1196e28bd22f2bcce0459713d53eb108e0157f0c;hpb=5d68554076bbca0e1e95fb0db215a6c2b84b6c54;p=modules%2Fsmesh.git diff --git a/src/Tools/blocFissure/gmu/findWireEndVertices.py b/src/Tools/blocFissure/gmu/findWireEndVertices.py index 1196e28bd..22f4ff014 100644 --- a/src/Tools/blocFissure/gmu/findWireEndVertices.py +++ b/src/Tools/blocFissure/gmu/findWireEndVertices.py @@ -2,6 +2,9 @@ import logging from geomsmesh import geompy +from geomsmesh import geomPublish +from geomsmesh import geomPublishInFather +import initLog # ----------------------------------------------------------------------------- # --- trouver les vertices extremites d'un wire @@ -44,11 +47,11 @@ def findWireEndVertices(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) logging.debug("idsubs: %s", idsubs) for k, v in idsubs.iteritems(): if len(v) == 1: