smesh/doc/examples/transforming_meshes_ex04.py

9 lines
190 B
Python
Raw Normal View History

2022-04-11 18:28:01 +05:00
# 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)