1 .. |revolution_btn.icon| image:: images/revolution_btn.png
6 Revolution feature revolves selected objects around selected axis.
8 To perform a Revolution in the active part:
10 #. select in the Main Menu *Features - > Revolution* item or
11 #. click |revolution_btn.icon| **Revolution** button in the toolbar
13 The following property panel will be opened:
15 .. image:: images/StartSketch.png
21 There are two variants of the property panel for Revolution depending on the chosen option:
23 .. image:: images/revolution_by_angles.png
25 **By Angles** revolves objects by specifying angles.
27 .. image:: images/revolution_by_bounding_planes.png
29 **By Bounding Planes** revolves objects by specifying bounding planes and angles.
35 .. image:: images/Revolution1.png
39 Revolution: definition by angles
41 - **Base objects** - contains a list of objects selected in the Object Browser or in the Viewer, which will be revolved.
42 - **Axis** - axis of revolution.
43 - **To angle** - end angle of revolution.
44 - **From angle** - start angle of revolution.
48 .. py:function:: model.addRevolution(part, objects, axis, angle)
50 :param part: The current part object.
51 :param list: A list of objects for revolution.
52 :param object: An axis.
53 :param real: An angle.
54 :return: Created object.
56 .. py:function:: model.addRevolution(part, objects, axis, toSize, fromSize)
58 :param part: The current part object.
59 :param list: A list of objects for revolution.
60 :param object: An axis.
61 :param real: To angle.
62 :param real: From angle.
63 :return: Created object.
68 The Result of the operation will be a revolved shape:
70 .. image:: images/revolution_by_angles_result.png
74 **Revolution created**
76 **See Also** a sample TUI Script of :ref:`tui_create_revolution_by_angles` operation.
81 .. image:: images/Revolution2.png
85 Revolution: definition by bounding planes
87 - **Base objects** - contains a list of objects selected in the Object Browser or in the Viewer, which will be revolved.
88 - **Axis** - axis of revolution.
89 - **To plane** - a planar face can be selected to bound revolution from one side.
90 - **To offset** - offset for revolution or for bounding plane, if selected.
91 - **From plane** - a planar face can be selected to bound revolution from other side.
92 - **From offset** - offset for revolution or for bounding plane, if selected.
96 .. py:function:: model.addRevolution(part, objects, axis, toObject, toOffset, fromObject, fromOffset)
98 :param part: The current part object.
99 :param list: A list of objects for revolution.
100 :param object: An axis.
101 :param object: To object.
102 :param real: To offset.
103 :param object: From object.
104 :param real: From offset.
105 :return: Created object.
110 The Result of the operation will be a revolved shape:
112 .. image:: images/revolution_by_bounding_planes_result.png
116 **Revolution created**
118 **See Also** a sample TUI Script of :ref:`tui_create_revolution_by_bounding_planes` operation.