Salome HOME
projects
/
modules
/
smesh.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
0bfea6188467d331ea2629dc53fae82fc21ad7fb
[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)