Part Torus

Description
Creates a simple parametric torus, with position, angle1, angle2, angle3, radius1 and radius2 as parameters.



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.

Option


Parameter

A torus can be assimilated to a small disc that makes a circular orbit around an imaginary axe. Thus the parametric torus is defined by the following parameters:


 * : 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.

As well as the standard set of placement parameters. The pictures below give a visual overview of the parameters antecedently mentioned:

The parameter Radius1 has a value of 20 mm.

The parameter Radius2 has a value of 2 mm.

The parameter Angle1 has a value of -90°. Notice that, the 'angle measure' tool cannot display negative angle. Considered the displayed value in picture as '-90°'.

The parameter Angle2 has a value of 90°.

The parameter Angle3 has a value of 90°.

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: