StlImporter
Overview
StlImporter is a class in Aspose.3D FOSS for Python.
Inherits from: Importer.
StlImporter.supports_format returns true when the specified file format can be handled by this importer.
This class declares 5 methods for StlImporter objects in Python programs.
Available methods include: __init__, import_scene, supports_format.
All 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 StlImporter instance. |
supports_format(file_format) → bool | Returns true when the specified file format can be handled by this importer |
import_scene(scene: 'Scene', stream, options: 'StlLoadOptions') | Loads STL data from a stream into the given Scene using the provided StlLoadOptions |
supports_format(file_format: 'FileFormat') → bool | Not implemented in the FOSS edition — throws at runtime. Calls supports_format(file_format) on this StlImporter instance. |
import_scene(scene: 'Scene', stream, options: 'LoadOptions') | Not implemented in the FOSS edition — throws at runtime. Calls import_scene(scene, stream, options) on this StlImporter instance. |