smesh/doc/salome/examples/transforming_meshes_ex04.py
2013-02-28 15:07:35 +00:00

14 lines
252 B
Python

# Symmetry
import math
import SMESH_mechanic
smesh = SMESH_mechanic.smesh
mesh = SMESH_mechanic.mesh
# create a symmetrical copy of the mesh mirrored through a point
axis = smesh.AxisStruct(0, 0, 0, 0, 0, 0)
mesh.Mirror([], axis, smesh.POINT, 1)