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

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



```python

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




## \_\_init\_\_(self, length, width, height) {#float-float-float}

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



```python

def __init__(self, length, width, height):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| length | float | Length of the box aligned in z-axis. |
| width | float | Width of the box aligned in x-axis. |
| height | float | Height of the box aligned in y-axis. |


## \_\_init\_\_(self, name, length, width, height, length_segments, width_segments, height_segments) {#str-float-float-float-int-int-int}

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



```python

def __init__(self, name, length, width, height, length_segments, width_segments, height_segments):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| name | str | Name of the box. |
| length | float | Length of the box aligned in z-axis. |
| width | float | Width of the box aligned in x-axis. |
| height | float | Height of the box aligned in y-axis. |
| length_segments | int | Length segments. |
| width_segments | int | Width segments. |
| height_segments | int | Height segments. |



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