Part Torus

Description
The Part Torus command creates a parametric torus solid.

FreeCAD creates a torus, with a radius 1 of 2 millimetre and a radius 2 of 10 millimetre.

By default, the torus is positioned with its mass center at the origin (0,0,0).



Usage

 * 1) There are several ways to invoke the command:
 * 2) * Press the button.
 * 3) * Select the option from the menu.

Example


A Part Torus object with the values of the bottom scripting example are shown here.

Properties
See also: Property editor.

A Part Torus object is derived from a Part Feature object and inherits all its properties. It also has the following additional properties:


 * : Radius of the circle around which the disc circulate
 * : Radius of the disc defining the form of the torus
 * : 1st angle to cut / define the disc of the torus
 * : 2nd angle to cut / define the disc of the torus
 * : 3rd angle to define the circumference of the torus.

Scripting
A Part Torus can be created using the following function:


 * Where is the user editable name for the object.
 * The function returns the newly created object.

The label text of the object can be easily changed by

You can access and modify attributes of the object. For example, you may wish to modify the radii or angle parameters.

The result will be a three-quarter torus.

You can change its placement and orientation with: