smesh/doc/examples/transforming_meshes_ex04.py

9 lines
190 B
Python
Raw Normal View History

2013-02-12 20:37:44 +06:00
# Symmetry
2022-04-13 12:01:14 +05:00
from mechanic import *
2013-02-12 20:37:44 +06:00
# create a symmetrical copy of the mesh mirrored through a point
axis = SMESH.AxisStruct(0, 0, 0, 0, 0, 0)
2013-02-12 20:37:44 +06:00
2022-04-13 12:01:14 +05:00
mesh.Mirror([], axis, smesh_builder.POINT, 1)