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
19 through a Point of symmetry
21 .. image:: images/symmetry_axis_32x32.png
25 through an Axis of symmetry
27 .. image:: images/symmetry_plane_32x32.png
31 through a Plane of symmetry
33 --------------------------------------------------------------------------------
35 Symmetry through a Point of symmetry
36 ------------------------------------
38 .. image:: images/symmetryPoint.png
42 Symmetry through a Point of symmetry property panel
46 - **Main objects** panel contains shapes to be translated. Shapes are selected in 3D OCC viewer or object browser;
47 - **Point** defines a point of symmetry selected in 3D OCC viewer or object browser;
48 - **Create a copy** checkbox preserves/removes the initial object.
52 .. py:function:: model.addSymmetry(Part_doc, [shape], point, copy)
54 :param part: The current part object.
55 :param list: A list of shapes in format *model.selection(TYPE, shape)*.
56 :param object: A point in format *model.selection(TYPE, shape)*.
57 :param boolean: A flag to create a copy.
58 :return: Result object.
63 The result of operation is a mirrored initial shape with **Create a copy** = *True*.
65 .. image:: images/symmetryPointres.png
69 Symmetry through a Point of symmetry
71 **See Also** a sample TUI Script of :ref:`tui_symmetry_point` operation.
73 Symmetry through an Axis of symmetry
74 ------------------------------------
76 .. image:: images/symmetryAxis.png
80 Symmetry through an Axis of symmetry property panel
84 - **Main objects** panel contains shapes to be translated. Shapes are selected in 3D OCC viewer or object browser;
85 - **Axis** defines an axis of symmetry selected in 3D OCC viewer or object browser;
86 - **Create a copy** checkbox preserves/removes the initial object.
90 .. py:function:: model.addSymmetry(Part_doc, [shape], axis, copy)
92 :param part: The current part object.
93 :param list: A list of shapes in format *model.selection(TYPE, shape)*.
94 :param object: An axis in format *model.selection(TYPE, shape)*.
95 :param boolean: A flag to create a copy.
96 :return: Result object.
101 The result of operation is a mirrored initial shape with **Create a copy** = *False*.
103 .. image:: images/symmetryAxisres.png
107 Symmetry through an Axis of symmetry
109 **See Also** a sample TUI Script of :ref:`tui_symmetry_axis` operation.
111 Symmetry through a Plane of symmetry
112 ------------------------------------
114 .. image:: images/symmetryPlane.png
118 Symmetry through a Plane of symmetry property panel
122 - **Main objects** panel contains shapes to be translated. Shapes are selected in 3D OCC viewer or object browser;
123 - **Plane** defines a plane of symmetry selected in 3D OCC viewer or object browser;
124 - **Create a copy** checkbox preserves/removes the initial object.
128 .. py:function:: model.addSymmetry(Part_doc, [shape], plane, copy)
130 :param part: The current part object.
131 :param list: A list of shapes in format *model.selection(TYPE, shape)*.
132 :param object: A plane in format *model.selection(TYPE, shape)*.
133 :param boolean: A flag to create a copy.
134 :return: Result object.
139 The result of operation is a mirrored initial shape with **Create a copy** = *False*.
141 .. image:: images/symmetryPlaneres.png
145 Symmetry through a Plane of symmetry
147 **See Also** a sample TUI Script of :ref:`tui_symmetry_plane` operation.