StlFormatDetector
Overview
StlFormatDetector 是Python的Aspose.3D FOSS中的一个类. 继承人: FormatDetector.
StlFormatDetector.detect returns the detected FileFormat for a stream (optional file name) or None.
这个类提供了在Python程序中使用StlFormatDetector 对象的2种方法. 有的方法包括: __init__, detect. 在安装Python包的Aspose.3D FOSS后,所有公众成员都可以访问任何 Python 应用程序.
Methods
| Signature | Description |
|---|---|
detect(stream: io.IOBase, file_name: str) → Optional['FileFormat'] | 返回一个流 (可选文件名) 的检测到的 FileFormat 或 None |
__init__() |