
## \_\_init\_\_(self) {#}

Initializes a new instance of the [`Sphere`](/3d/python-net/aspose.threed.entities/sphere) with default radius 1.



```python

def __init__(self):
    ...
```




## \_\_init\_\_(self, radius) {#float}

Initializes a new instance of the [`Sphere`](/3d/python-net/aspose.threed.entities/sphere) class with specified radius.



```python

def __init__(self, radius):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| radius | float | Radius. |


## \_\_init\_\_(self, radius, width_segments, height_segments) {#float-int-int}

Initializes a new instance of the [`Sphere`](/3d/python-net/aspose.threed.entities/sphere) class with specified radius, width segments and height segments.



```python

def __init__(self, radius, width_segments, height_segments):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| radius | float | Radius of the sphere. |
| width_segments | int | Width segments. |
| height_segments | int | Height segments. |


## \_\_init\_\_(self, name, radius, width_segments, height_segments, phi_start, phi_length, theta_start, theta_length) {#str-float-int-int-float-float-float-float}

Initializes a new instance of the [`Sphere`](/3d/python-net/aspose.threed.entities/sphere) class.



```python

def __init__(self, name, radius, width_segments, height_segments, phi_start, phi_length, theta_start, theta_length):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| name | str | Name. |
| radius | float | Radius of the sphere. |
| width_segments | int | Width segments. |
| height_segments | int | Height segments. |
| phi_start | float | Phi start. |
| phi_length | float | Phi length. |
| theta_start | float | Theta start. |
| theta_length | float | Theta length. |



### See Also
* module [`aspose.threed.entities`](../../)
* class [`Sphere`](/3d/python-net/aspose.threed.entities/sphere)
