]> SALOME platform Git repositories - modules/smesh.git/blob - doc/examples/transforming_meshes_ex01.py
Salome HOME
[bos #35147] [EDF] (2023-T1) Decompose Viscous Layer API.
[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)