Part Sphere/sv

Description
Creates a simple parametric sphere, with position, angle1, angle2, angle3 and radius parameters.



Usage

 * 1) Switch to the [[Image:Workbench_Part.svg|16px]] Part Workbench
 * 2) There are several ways to invoke the command:
 * 3) * Press the button in the toolbar.
 * 4) * Select the from the menu bar.

Result: The sphere will be positioned at origin (point 0,0,0) on creation. The angle parameters permit to make a portion of sphere instead of a full sphere (they are set to 360° by default).

The properties of the object can be edited, either in the Property editor or by double-clicking the object in the Tree view.

Data

 * Radius of the sphere
 * 1nd angle to cut / define the sphere
 * 2nd angle to cut / define the sphere
 * 3rd angle to cut / define the sphere

Because it is quite difficult to explain the meaning of the parameters angle 1, angle 2, angle 3, the picture below gives an explanation about these parameters with following values: angle 1 = -45°, angle 2 = 45° and angle 3= 90°.



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


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