smesh/doc/examples/transforming_meshes_ex04.py

9 lines
190 B
Python

# Symmetry
from mechanic import *
# create a symmetrical copy of the mesh mirrored through a point
axis = SMESH.AxisStruct(0, 0, 0, 0, 0, 0)
mesh.Mirror([], axis, smesh_builder.POINT, 1)