X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=blobdiff_plain;f=src%2FTools%2FblocFissure%2Fgmu%2FgetSubshapeIds.py;h=f2408b8cc36500434bb735d3d7916177e201149c;hp=7b046882581903193296f420de5023a23f2ec67d;hb=f44efbc02056a2734440b736789b8cfa380430bb;hpb=71de383cb614e31ded6aa6343c052fbd8335b472 diff --git a/src/Tools/blocFissure/gmu/getSubshapeIds.py b/src/Tools/blocFissure/gmu/getSubshapeIds.py index 7b0468825..f2408b8cc 100644 --- a/src/Tools/blocFissure/gmu/getSubshapeIds.py +++ b/src/Tools/blocFissure/gmu/getSubshapeIds.py @@ -17,20 +17,18 @@ # # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com # +"""Transformation d'une liste de subshapes en une liste d'Id""" import logging -from .geomsmesh import geompy -# ----------------------------------------------------------------------------- -# --- transformation d'une liste de subshapes en une liste d'Id +from .geomsmesh import geompy def getSubshapeIds(obj, subshapes): - """ - transformation d'une liste de subshapes en une liste d'Id - """ + """Transformation d'une liste de subshapes en une liste d'Id""" logging.debug("start") - subshapesId = [] + subshapesId = list() for sub in subshapes: subshapesId.append(geompy.GetSubShapeID(obj, sub)) logging.debug("subshapesId=%s", subshapesId) + return subshapesId