Salome HOME
projects
/
modules
/
smesh.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
bos #29171 Refactor testing procedure
[modules/smesh.git]
/
doc
/
examples
/
transforming_meshes_ex01.py
1
# Translation
2
3
from mechanic import *
4
5
# define translation vector
6
vector = [-150., -150., 0.]
7
8
# make a translated copy of all elements of the mesh
9
mesh.TranslateObject(mesh, vector, Copy=True)