Salome HOME
Merge from V6_main 28/02/2013
[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)