---
Product: Aspose.Slides
Platform: python
Page Type: reference
Canonical URL: https://reference.aspose.org/slides/python/threedformat
---

# ThreeDFormat

## Overview

`ThreeDFormat` is a class in Aspose.Slides FOSS for Python.
Inherits from: `PVIObject`, `ISlideComponent`, `IPresentationComponent`, and 2 more.

Represents 3-D properties.

This class declares 1 method for ThreeDFormat objects in Python programs.
Available methods include: `__setattr__`.
Public members are accessible to any Python application after installing the Aspose.Slides FOSS for Python package.
Properties: `as_i_presentation_component`, `bevel_bottom`, `bevel_top`, `camera`, `contour_color`, `contour_width`, and 7 more.

## Properties

| Name | Type | Access | Description |
|------|------|--------|-------------|
| `contour_width` | `float` | Read/Write | Returns or sets the width of a 3D contour. |
| `extrusion_height` | `float` | Read/Write | Returns or sets the height of an extrusion effect. |
| `depth` | `float` | Read/Write | Returns or sets the depth of a 3D shape. |
| `bevel_top` | `IShapeBevel` | Read | Returns or sets the type of a top 3D bevel. |
| `bevel_bottom` | `IShapeBevel` | Read | Returns or sets the type of a bottom 3D bevel. |
| `contour_color` | `IColorFormat` | Read | Returns or sets the color of a contour. |
| `extrusion_color` | `IColorFormat` | Read | Returns or sets the color of an extrusion. |
| `camera` | `ICamera` | Read | Returns or sets the settings of a camera. |
| `light_rig` | `ILightRig` | Read | Returns or sets the type of a light. |
| `material` | `MaterialPresetType` | Read/Write | Returns or sets the type of a material. |
| `as_i_presentation_component` | `IPresentationComponent` | Read | Allows to get base IPresentationComponent interface. |
| `slide` | `IBaseSlide` | Read | Gets the slide. |
| `presentation` | `IPresentation` | Read | Gets the presentation. |

## Methods

| Signature | Description |
|-----------|-------------|
| `__setattr__(name: str, value)` | Calls __setattr__(name, value) on this ThreeDFormat instance. |

## See Also

- [Aspose.Slides — Enterprise API Reference](https://reference.aspose.com/slides/)