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 .. figure:: images/symmetry_point_32x32.png
19 through a Point of symmetry
21 .. figure:: images/symmetry_axis_32x32.png
25 through an Axis of symmetry
27 .. figure:: images/symmetry_plane_32x32.png
31 through a Plane of symmetry
33 --------------------------------------------------------------------------------
35 Symmetry through a Point of symmetry
36 ------------------------------------
38 .. figure:: images/symmetryPoint.png
41 Symmetry through a Point of symmetry property panel
45 - **Main objects** panel contains shapes to be translated. Shapes are selected in 3D OCC viewer or object browser;
46 - **Point** defines a point of symmetry selected in 3D OCC viewer or object browser;
47 - **Create a copy** checkbox preserves/removes the initial object.
51 .. py:function:: model.addSymmetry(Part_doc, [shape], point, copy)
53 :param part: The current part object.
54 :param list: A list of shapes in format *model.selection(TYPE, shape)*.
55 :param object: A point in format *model.selection(TYPE, shape)*.
56 :param boolean: A flag to create a copy.
57 :return: Result object.
62 The result of operation is a mirrored initial shape with **Create a copy** = *True*.
64 .. figure:: images/symmetryPointres.png
67 Symmetry through a Point of symmetry
69 **See Also** a sample TUI Script of :ref:`tui_symmetry_point` operation.
71 Symmetry through an Axis of symmetry
72 ------------------------------------
74 .. figure:: images/symmetryAxis.png
77 Symmetry through an Axis of symmetry property panel
81 - **Main objects** panel contains shapes to be translated. Shapes are selected in 3D OCC viewer or object browser;
82 - **Axis** defines an axis of symmetry selected in 3D OCC viewer or object browser;
83 - **Create a copy** checkbox preserves/removes the initial object.
87 .. py:function:: model.addSymmetry(Part_doc, [shape], axis, copy)
89 :param part: The current part object.
90 :param list: A list of shapes in format *model.selection(TYPE, shape)*.
91 :param object: An axis in format *model.selection(TYPE, shape)*.
92 :param boolean: A flag to create a copy.
93 :return: Result object.
98 The result of operation is a mirrored initial shape with **Create a copy** = *False*.
100 .. figure:: images/symmetryAxisres.png
103 Symmetry through an Axis of symmetry
105 **See Also** a sample TUI Script of :ref:`tui_symmetry_axis` operation.
107 Symmetry through a Plane of symmetry
108 ------------------------------------
110 .. figure:: images/symmetryPlane.png
113 Symmetry through a Plane of symmetry property panel
117 - **Main objects** panel contains shapes to be translated. Shapes are selected in 3D OCC viewer or object browser;
118 - **Plane** defines a plane of symmetry selected in 3D OCC viewer or object browser;
119 - **Create a copy** checkbox preserves/removes the initial object.
123 .. py:function:: model.addSymmetry(Part_doc, [shape], plane, copy)
125 :param part: The current part object.
126 :param list: A list of shapes in format *model.selection(TYPE, shape)*.
127 :param object: A plane in format *model.selection(TYPE, shape)*.
128 :param boolean: A flag to create a copy.
129 :return: Result object.
134 The result of operation is a mirrored initial shape with **Create a copy** = *False*.
136 .. figure:: images/symmetryPlaneres.png
139 Symmetry through a Plane of symmetry
141 **See Also** a sample TUI Script of :ref:`tui_symmetry_plane` operation.