Part Sphere

Description
The Part Sphere command creates a parametric sphere solid.

FreeCAD creates a sphere with a radius of 5 millimetre.

By default, the sphere is positioned with its 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 Sphere object with the values of the bottom scripting example are shown here.

Properties
See also: Property editor.

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

Data

 * : Radius of the sphere
 * : 1st angle to cut / define the sphere (angle between XZ axis)
 * : 2nd angle to cut / define the sphere (angle between YZ axis)
 * : 3rd angle to cut / define the sphere (angle between XY axis)

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°.



Limitations
If the Angle 1 and Angle 2 values are 'critical' (e.g. both have a value of 45°), the sphere cutoffs are overlapping and the result is invisible.

Scripting
A Part Sphere 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 radius or the three angles of the sphere.

The result will be a part of a sphere, that looks like a piece of cake.

You can change its placement and orientation with: