+.. _featureRotation:
Rotation
========
-The feature **Rotation** makes rotation of a selected shape.
+**Rotation** feature makes rotation of a selected shape.
-To create Rotation in the active part:
+To create a Rotation in the active part:
#. select in the Main Menu *Part - > Rotation* item or
#. click **Rotation** button in the toolbar
Input fields:
- **Main objects** panel contains shapes to be rotated. Shapes are selected in 3D OCC viewer or object browser;
-- **Axis** defines the axis of rotation. Vector is edge, axis selected in 3D OCC viewer or object browser;
+- **Axis** defines the axis of rotation. The vector is an edge or axis selected in 3D OCC viewer or object browser;
- **Angle** defines the angle by which the object is rotated.
**TUI Command**: *model.addRotation(Part_doc, [shape], axis, angle)*
Result
""""""
-Result of operation is rotated initial shape.
+Result of operation is a rotated initial shape.
.. image:: images/rotation_axis.png
:align: center
.. centered::
Rotation by axis and angle
-**See Also** a sample TUI Script of a :ref:`tui_rotation_axis` operation.
+**See Also** a sample TUI Script of :ref:`tui_rotation_axis` operation.
Rotation by center and points
-----------------------------
Input fields:
- **Main objects** panel contains shapes to be rotated. Shapes are selected in 3D OCC viewer or object browser;
-- **Center point**, **Start point**, **End point** define 3 points or vertices selected in 3D OCC viewer or object browser. Rotation axis will pass through the **Center point** and will be will be orthogonal to a plane defined by three points. Rotation Angle is the angle between two vectors directed from the **Center point** to **Start point** and **End point**.
+- **Center point**, **Start point**, **End point** define 3 points or vertices selected in 3D OCC viewer or object browser. Rotation axis will pass through the **Center point** and will be orthogonal to a plane defined by three points. Rotation Angle is the angle between two vectors directed from the **Center point** to **Start point** and **End point**.
**TUI Command**: *model.addRotation(Part_doc, [shape], point1, point2, point3)*
Result
""""""
-Result of operation is rotated initial shape.
+Result of operation is a rotated initial shape.
.. image:: images/rotation_3points.png
:align: center
.. centered::
Rotation by center and 2 points
-**See Also** a sample TUI Script of a :ref:`tui_rotation_3points` operation.
\ No newline at end of file
+**See Also** a sample TUI Script of :ref:`tui_rotation_3points` operation.
\ No newline at end of file