mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-11-15 10:08:34 +05:00
10 lines
195 B
Python
10 lines
195 B
Python
# Translation
|
|
|
|
from mechanic import *
|
|
|
|
# define translation vector
|
|
vector = [-150., -150., 0.]
|
|
|
|
# make a translated copy of all elements of the mesh
|
|
mesh.TranslateObject(mesh, vector, Copy=True)
|