# Torus

To create a Torus in the Main Menu select New Entity - > Primitives - > Torus

There are two algorithms for creation of a Torus.

The Result of each operation will be a GEOM_Object (SOLID).

Firstly, you can define a Torus by the given Base Point, the normal Vector and the Major and Minor Radiuses.

TUI Command: geompy.MakeTorus(Point, Vector, RadiusMajor, RadiusMinor) ,

Arguments: Name + 1 vertex + 1 vector (for direction) + 2 values (1 & 2 Radius).

Secondly, you can define a Torus with the center at the origin of coordinates by its Major and Minor Radiuses.

TUI Command: geompy.MakeTorusRR(RadiusMajor, RadiusMinor)

Arguments: Name + 2 values (1 & 2 Radius from the origin).

Example:

Our TUI Scripts provide you with useful examples of creation of Primitives.