1 .. |symmetry.icon| image:: images/symmetry.png
6 **Symmetry** feature makes a symmetrical copy of the selected shape.
8 To create a Symmetry in the active part:
10 #. select in the Main Menu *Part - > Symmetry* item or
11 #. click |symmetry.icon| **Symmetry** button in the toolbar
13 Symmetrical copy of an Object can be mirrored in three different ways:
15 .. image:: images/symmetry_point_32x32.png
17 through a Point of symmetry
19 .. image:: images/symmetry_axis_32x32.png
21 through an Axis of symmetry
23 .. image:: images/symmetry_plane_32x32.png
25 through a Plane of symmetry
27 Symmetry through a Point of symmetry
28 ------------------------------------
30 .. image:: images/symmetryPoint.png
34 Symmetry through a Point of symmetry property panel
38 - **Main objects** panel contains shapes to be translated. Shapes are selected in 3D OCC viewer or object browser;
39 - **Point** defines a point of symmetry selected in 3D OCC viewer or object browser;
40 - **Create a copy** checkbox preserves/removes the initial object.
44 .. py:function:: model.addSymmetry(Part_doc, [shape], point, copy)
46 :param part: The current part object.
47 :param list: A list of shapes in format *model.selection(TYPE, shape)*.
48 :param object: A point in format *model.selection(TYPE, shape)*.
49 :param boolean: A flag to create a copy.
50 :return: Result object.
55 The result of operation is a mirrored initial shape with **Create a copy** = *True*.
57 .. image:: images/symmetryPointres.png
61 Symmetry through a Point of symmetry
63 **See Also** a sample TUI Script of :ref:`tui_symmetry_point` operation.
65 Symmetry through an Axis of symmetry
66 ------------------------------------
68 .. image:: images/symmetryAxis.png
72 Symmetry through an Axis of symmetry property panel
76 - **Main objects** panel contains shapes to be translated. Shapes are selected in 3D OCC viewer or object browser;
77 - **Axis** defines an axis of symmetry selected in 3D OCC viewer or object browser;
78 - **Create a copy** checkbox preserves/removes the initial object.
82 .. py:function:: model.addSymmetry(Part_doc, [shape], axis, copy)
84 :param part: The current part object.
85 :param list: A list of shapes in format *model.selection(TYPE, shape)*.
86 :param object: An axis in format *model.selection(TYPE, shape)*.
87 :param boolean: A flag to create a copy.
88 :return: Result object.
93 The result of operation is a mirrored initial shape with **Create a copy** = *False*.
95 .. image:: images/symmetryAxisres.png
99 Symmetry through an Axis of symmetry
101 **See Also** a sample TUI Script of :ref:`tui_symmetry_axis` operation.
103 Symmetry through a Plane of symmetry
104 ------------------------------------
106 .. image:: images/symmetryPlane.png
110 Symmetry through a Plane of symmetry property panel
114 - **Main objects** panel contains shapes to be translated. Shapes are selected in 3D OCC viewer or object browser;
115 - **Plane** defines a plane of symmetry selected in 3D OCC viewer or object browser;
116 - **Create a copy** checkbox preserves/removes the initial object.
120 .. py:function:: model.addSymmetry(Part_doc, [shape], plane, copy)
122 :param part: The current part object.
123 :param list: A list of shapes in format *model.selection(TYPE, shape)*.
124 :param object: A plane in format *model.selection(TYPE, shape)*.
125 :param boolean: A flag to create a copy.
126 :return: Result object.
131 The result of operation is a mirrored initial shape with **Create a copy** = *False*.
133 .. image:: images/symmetryPlaneres.png
137 Symmetry through a Plane of symmetry
139 **See Also** a sample TUI Script of :ref:`tui_symmetry_plane` operation.