Salome HOME
[bos #29336] problem in inertia calculus
[modules/geom.git] / doc / salome / gui / GEOM / input / creating_torus.doc
1 /*!
2
3 \page create_torus_page Torus
4
5 To create a \b Torus in the <b>Main Menu</b> select <b>New Entity - > Primitives - > Torus</b>
6
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).
9
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).
15
16 \image html torus1.png
17
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).
22
23 \image html torus2.png
24
25 <b>Example:</b>
26
27 \image html toruses.png "Toruses"
28
29 Our <b>TUI Scripts</b> provide you with useful examples of creation of 
30 \ref tui_creation_torus "Primitives".
31
32 */