Salome HOME
bos #29171 Refactor testing procedure
[modules/smesh.git] / doc / examples / transforming_meshes_ex04.py
diff --git a/doc/examples/transforming_meshes_ex04.py b/doc/examples/transforming_meshes_ex04.py
new file mode 100644 (file)
index 0000000..cd421fe
--- /dev/null
@@ -0,0 +1,8 @@
+# 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)