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 remote branch 'origin/V8_5_asterstudy'
[modules/smesh.git]
/
src
/
SMESH_SWIG
/
SMESH_AdvancedEditor.py
diff --git
a/src/SMESH_SWIG/SMESH_AdvancedEditor.py
b/src/SMESH_SWIG/SMESH_AdvancedEditor.py
index 49062d34292d594d824ea4eb43ffa2456e1887c5..c390c7ec7c550fa985476a8f9a0c29b565fb2622 100644
(file)
--- a/
src/SMESH_SWIG/SMESH_AdvancedEditor.py
+++ b/
src/SMESH_SWIG/SMESH_AdvancedEditor.py
@@
-1,5
+1,5
@@
# -*- coding: utf-8 -*-
# -*- coding: utf-8 -*-
-# Copyright (C) 2007-201
3
CEA/DEN, EDF R&D, OPEN CASCADE
+# Copyright (C) 2007-201
6
CEA/DEN, EDF R&D, OPEN CASCADE
#
# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
#
# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
@@
-7,7
+7,7
@@
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
-# version 2.1 of the License.
+# version 2.1 of the License
, or (at your option) any later version
.
#
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
#
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
@@
-25,17
+25,17
@@
import salome
salome.salome_init()
import GEOM
from salome.geom import geomBuilder
salome.salome_init()
import GEOM
from salome.geom import geomBuilder
-geompy = geomBuilder.New(
salome.myStudy
)
+geompy = geomBuilder.New()
import SMESH, SALOMEDS
from salome.smesh import smeshBuilder
import SMESH, SALOMEDS
from salome.smesh import smeshBuilder
-smesh = smeshBuilder.New(
salome.myStudy
)
+smesh = smeshBuilder.New()
import math
def GetNewNodes(mesh,Elems,OldNodes):
"""
import math
def GetNewNodes(mesh,Elems,OldNodes):
"""
- Auxilary function, which return list of nodes from
+ Auxil
i
ary function, which return list of nodes from
given Elems avoided nodes from OldNodes
"""
newnodes = []
given Elems avoided nodes from OldNodes
"""
newnodes = []
@@
-118,7
+118,7
@@
for i in range(0,nbzsteps):
pass
pass
if len(nfaces)!=nbf:
pass
pass
if len(nfaces)!=nbf:
- print
"len(nfaces)!=nbf"
+ print
("len(nfaces)!=nbf")
break
newfaces.append(nfaces)
# update faces for before next step of extrusion
break
newfaces.append(nfaces)
# update faces for before next step of extrusion
@@
-217,4
+217,4
@@
for i in range(0,nbrs):
oldnodes = newnodes
pass
oldnodes = newnodes
pass
-salome.sg.updateObjBrowser(
1
)
+salome.sg.updateObjBrowser()