---
Product: Aspose.3D
Platform: python
Page Type: reference
Canonical URL: https://reference.aspose.org/3d/python/stlexporter
---

# StlExporter

## Overview

`StlExporter` is a class in Aspose.3D FOSS for Python.
Inherits from: `Exporter`.

StlExporter provides a supports_format method to check STL support and an export method to write a scene to an STL stream.

This class declares 6 methods for StlExporter objects in Python programs.
Available methods include: `__init__`, `export`, `supports_format`, `visit_node`.
Public members are accessible to any Python application after installing the Aspose.3D FOSS for Python package.

## Methods

| Signature | Description |
|-----------|-------------|
| `__init__()` | Calls __init__ on this StlExporter instance. |
| `supports_format(file_format)` → `bool` | Returns True if the given file format is supported for STL export |
| `export(scene: 'Scene', stream, options: 'StlSaveOptions')` | Writes the provided Scene to the given stream using StlSaveOptions **Note:** `Scene` is not implemented in the FOSS edition and throws at runtime. |
| `visit_node(node)` | Processes a single node during the STL export traversal |
| `supports_format(file_format: 'FileFormat')` → `bool` | **Not implemented in the FOSS edition — throws at runtime.** Calls supports_format(file_format) on this StlExporter instance. |
| `export(scene: 'Scene', stream, options: 'SaveOptions')` | **Not implemented in the FOSS edition — throws at runtime.** Calls export(scene, stream, options) on this StlExporter instance. |

## See Also

- [Aspose.3D — Enterprise API Reference](https://reference.aspose.com/3d/)