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
Fix regressions
[modules/smesh.git]
/
doc
/
salome
/
examples
/
transforming_meshes_ex02.py
diff --git
a/doc/salome/examples/transforming_meshes_ex02.py
b/doc/salome/examples/transforming_meshes_ex02.py
index f96a6bb41bf1c1d363e8aa04fc07cbe6480475f2..5b3ff287e891de4acc84149fb4e1ebe2004809e9 100644
(file)
--- a/
doc/salome/examples/transforming_meshes_ex02.py
+++ b/
doc/salome/examples/transforming_meshes_ex02.py
@@
-3,12
+3,13
@@
import math
import SMESH_mechanic
import math
import SMESH_mechanic
+import SMESH
smesh = SMESH_mechanic.smesh
mesh = SMESH_mechanic.mesh
# define rotation axis and angle
smesh = SMESH_mechanic.smesh
mesh = SMESH_mechanic.mesh
# define rotation axis and angle
-axisXYZ =
smesh
.AxisStruct(0., 0., 0., 5., 5., 20.)
+axisXYZ =
SMESH
.AxisStruct(0., 0., 0., 5., 5., 20.)
angle270 = 1.5 * math.pi
# rotate a mesh
angle270 = 1.5 * math.pi
# rotate a mesh