Salome HOME
projects
/
modules
/
smesh.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Prevent failure of opening Mesh dialog if unable to load some mesher plugin
[modules/smesh.git]
/
doc
/
salome
/
examples
/
transforming_meshes_ex01.py
1
# Translation
2
3
import SMESH_mechanic
4
5
mesh = SMESH_mechanic.mesh
6
7
# define translation vector
8
vector = [-150., -150., 0.]
9
10
# make a translated copy of all elements of the mesh
11
mesh.TranslateObject(mesh, vector, Copy=True)