Salome HOME
projects
/
modules
/
smesh.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'OCCT780'
[modules/smesh.git]
/
src
/
Tools
/
blocFissure
/
gmu
/
eliminateDoubles.py
diff --git
a/src/Tools/blocFissure/gmu/eliminateDoubles.py
b/src/Tools/blocFissure/gmu/eliminateDoubles.py
index f037a790e62172d0db198e0dcba0455a85096984..83a7410f1ed24e386eb92eb2016977e58f48b2db 100644
(file)
--- a/
src/Tools/blocFissure/gmu/eliminateDoubles.py
+++ b/
src/Tools/blocFissure/gmu/eliminateDoubles.py
@@
-1,5
+1,5
@@
# -*- coding: utf-8 -*-
# -*- coding: utf-8 -*-
-# Copyright (C) 2014-202
1 EDF R&D
+# Copyright (C) 2014-202
4 EDF
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
@@
-22,9
+22,6
@@
import logging
from .geomsmesh import geompy
import logging
from .geomsmesh import geompy
-# -----------------------------------------------------------------------------
-# ---
-
def eliminateDoubles(obj, subshapes):
"""éliminer les doublons d'une liste de subshapes"""
def eliminateDoubles(obj, subshapes):
"""éliminer les doublons d'une liste de subshapes"""
@@
-37,7
+34,7
@@
def eliminateDoubles(obj, subshapes):
idsubs[subid] = [sub]
shortList = list()
idsubs[subid] = [sub]
shortList = list()
- for l_sub in idsubs.items():
+ for
_,
l_sub in idsubs.items():
shortList.append(l_sub[0])
logging.debug("shortList=%s", shortList)
shortList.append(l_sub[0])
logging.debug("shortList=%s", shortList)