---
title: "Torus class"
url: "https://reference.aspose.com/cad/python-net/aspose.cad.fileformats.collada.fileparser.elements/torus/"
product: "Aspose.CAD for Python via .NET API References"
---


## Torus class

The torus.
Describes a torus in 3D space.



**Inheritance:** [`Torus`](/cad/python-net/aspose.cad.fileformats.collada.fileparser.elements/torus) → 
[`ColladaElement`](/cad/python-net/aspose.cad.fileformats.collada.fileparser.elements/colladaelement)



The Torus type exposes the following members:

### Constructors
| Constructor | Description |
| :- | :- |
| [__init__](/cad/python-net/aspose.cad.fileformats.collada.fileparser.elements/torus/__init__/#) | Constructs a new instance of Torus |


### Properties
| Property | Description |
| :- | :- |
| [radius](/cad/python-net/aspose.cad.fileformats.collada.fileparser.elements/torus/radius) | Gets or sets the radius.<br/>Two floating-point numbers that describe the radii of the torus.<br/>The first value is the major radius, the second is the minor radius. |
| [extra](/cad/python-net/aspose.cad.fileformats.collada.fileparser.elements/torus/extra) | Gets or sets the extra. |



### See Also
* module [`aspose.cad.fileformats.collada.fileparser.elements`](..)
* class [`ColladaElement`](/cad/python-net/aspose.cad.fileformats.collada.fileparser.elements/colladaelement)
* class [`Torus`](/cad/python-net/aspose.cad.fileformats.collada.fileparser.elements/torus)
