Salome HOME
projects
/
modules
/
smesh.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge from V6_main 11/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)