Salome HOME
ea7c72f540bddb42c944921f673cbb7b7ec9fac6
[modules/smesh.git] / doc / salome / examples / transforming_meshes_ex04.py
1 # Symmetry
2
3 import math
4
5 import SMESH_mechanic
6
7 smesh = SMESH_mechanic.smesh
8 mesh = SMESH_mechanic.mesh 
9
10 # create a symmetrical copy of the mesh mirrored through a point
11 axis = SMESH.AxisStruct(0, 0, 0, 0, 0, 0)
12
13 mesh.Mirror([], axis, smesh.POINT, 1)