StlExporter

概述

StlExporter 是 Aspose.3D FOSS 中用于 Python 的类。继承自:Exporter。

StlExporter.supports_format 在给定的文件格式支持 STL 导出时返回 True。

此类为 Python 程序中的 StlExporter 对象声明了 6 个方法。可用的方法包括:__init__、export、supports_format、visit_node。在安装 Aspose.3D FOSS for Python 包后,所有公共成员对任何 Python 应用程序均可访问。

方法

签名描述
__init__()Calls init 在此 StlExporter 实例上。
supports_format(file_format) → bool如果给定的文件格式支持 STL 导出,则返回 True。
export(scene: 'Scene', stream, options: 'StlSaveOptions')使用 StlSaveOptions 将提供的 Scene 写入给定的流。
visit_node(node)在 STL 导出遍历过程中处理单个节点。
supports_format(file_format: 'FileFormat') → bool在 FOSS 版中未实现 — 在运行时抛出。 在此 StlExporter 实例上调用 supports_format(file_format)。
export(scene: 'Scene', stream, options: 'SaveOptions')在 FOSS 版中未实现 — 在运行时抛出。 在此 StlExporter 实例上调用 export(scene, stream, options)。

另请参阅

 中文