3 \page create_torus_page Torus
5 To create a \b Torus in the <b>Main Menu</b> select <b>New Entity - > Primitives - > Torus</b>
7 \n There are two algorithms for creation of a \b Torus.
8 \n The \b Result of each operation will be a GEOM_Object (SOLID).
10 \n Firstly, you can define a \b Torus by the given <b>Base Point</b>,
11 the normal \b Vector and the Major and Minor \b Radiuses.
12 \n <b>TUI Command:</b> <em>geompy.MakeTorus(Point, Vector, RadiusMajor, RadiusMinor)</em>
13 \n <b>Arguments:</b> Name + 1 vertex + 1 vector (for direction) + 2
14 values (1 & 2 Radius).
16 \image html torus1.png
18 \n Secondly, you can define a \b Torus with the center at the origin
19 of coordinates by its Major and Minor \b Radiuses.
20 \n <b>TUI Command:</b> <em>geompy.MakeTorusRR(RadiusMajor, RadiusMinor)</em>
21 \n <b>Arguments:</b> Name + 2 values (1 & 2 Radius from the origin).
23 \image html torus2.png
27 \image html toruses.png "Toruses"
29 Our <b>TUI Scripts</b> provide you with useful examples of creation of
30 \ref tui_creation_torus "Primitives".