--- /dev/null
+# -*- coding: utf-8 -*-
+
+from salome.shaper import model
+
+model.begin()
+partSet = model.moduleDocument()
+Part_1 = model.addPart(partSet)
+Part_1_doc = Part_1.document()
+Torus_1 = model.addTorus(Part_1_doc, model.selection("VERTEX", "PartSet/Origin"), model.selection("EDGE", "PartSet/OZ"), 15, 3)
+model.do()
+model.end()
Torus
=====
+To create a Torus in the active part:
+
+#. select in the Main Menu *Primitives - > Torus* item or
+#. click **Torus** button in the toolbar
+
+.. image:: images/Torus_button.png
+ :align: center
+
+.. centered::
+ **Torus** button
+
+The following property panel appears.
.. image:: images/Torus.png
:align: center
.. centered::
- Create a torus
+ Torus
+
+ The description of input fields is given below:
+
+- selected **Point** defines center of the torus;
+- selected **Vector** defines the axis of the torus;
+- Dimensions:
+ - **Radius**;
+ - **Ring radius**.
+
+**Apply** button creates torus with defined parameters.
+
+**Cancel** button cancels operation.
+
+**TUI Command**: *model.addTorus(Part_doc, Point, Axis, Radius1, Radius2)*
+
+**Arguments**: 1 Part + 1 vertex + 1 vector + 2 values (Dimensions: first and second radii).
+
+The Result of operation will be a SOLID.
+
+Name is assigned automatically:
+
+* **Torus_1**, **Torus_2**, ... to Feature;
+* **Torus_1_1**, **Torus_2_1**, ... to Result.
+
+Example is shown below.
+
+.. image:: images/Torus_res.png
+ :align: center
+
+.. centered::
+ Torus created
+
+**See Also** a sample TUI Script of a :ref:`tui_create_torus` operation.
+