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

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



```python

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




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

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



```python

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


| Parameter | Type | Description |
| :- | :- | :- |
| radius | float | The radius of the torus. |
| tube | float | The radius of the torus' tube. |


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

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



```python

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


| Parameter | Type | Description |
| :- | :- | :- |
| radius | float | The radius of the torus. |
| tube | float | The radius of the torus' tube. |
| arc | float | Arc. |


## \_\_init\_\_(self, name, radius, tube, radial_segments, tubular_segments, arc) {#str-float-float-int-int-float}

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



```python

def __init__(self, name, radius, tube, radial_segments, tubular_segments, arc):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| name | str | Name. |
| radius | float | The radius of the torus. |
| tube | float | The radius of the torus' tube. |
| radial_segments | int | Radial segments. |
| tubular_segments | int | Tubular segments. |
| arc | float | Arc. |



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