Torus constructor
Contents
[
Hide
]init
Initializes a new instance of the Torus
class.
def __init__(self):
...
init
Initializes a new instance of the Torus
class.
def __init__(self, radius, tube):
...
Parameter | Type | Description |
---|---|---|
radius | float | The radius of the torus. |
tube | float | The radius of the torus’ tube. |
init
Initializes a new instance of the Torus
class.
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
Initializes a new instance of the Torus
class.
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