mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-11-13 17:18:35 +05:00
14 lines
252 B
Python
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)
|