Salome HOME
projects
/
modules
/
smesh.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
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
+++ b/
doc/examples/transforming_meshes_ex04.py
@@ -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)