]> SALOME platform Git repositories - modules/smesh.git/blob - doc/salome/examples/transforming_meshes_ex04.py
Salome HOME
Fix for the '52701: SIGSEGV in Mesh creation dialog box after activating Viscous...
[modules/smesh.git] / doc / salome / examples / transforming_meshes_ex04.py
1 # Symmetry
2
3 import math
4
5 import SMESH_mechanic
6 import SMESH
7
8 smesh = SMESH_mechanic.smesh
9 mesh = SMESH_mechanic.mesh 
10
11 # create a symmetrical copy of the mesh mirrored through a point
12 axis = SMESH.AxisStruct(0, 0, 0, 0, 0, 0)
13
14 mesh.Mirror([], axis, smesh.POINT, 1)