StlFormatDetector

StlFormatDetector

Overview

StlFormatDetector is a class in Aspose.3D FOSS for Python. Inherits from: FormatDetector.

StlFormatDetector.detect returns the detected FileFormat for a stream (optional file name) or None.

This class declares 3 methods for StlFormatDetector objects in Python programs. Available methods include: __init__, detect. All public members are accessible to any Python application after installing the Aspose.3D FOSS for Python package.

Methods

SignatureDescription
detect(stream: io.IOBase, file_name: str)Optional['FileFormat']Returns the detected FileFormat for a stream (optional file name) or None
__init__()Calls init on this StlFormatDetector instance.
detect(stream, file_name: str)'FileFormat'Not implemented in the FOSS edition — throws at runtime. Calls detect(stream, file_name) on this StlFormatDetector instance.

See Also

 English