ThreeMfFormat

Overview

ThreeMfFormat 是Python的Aspose.3D FOSS中的一个类.

ThreeMfFormat.extension provides the primary file extension for the 3MF format.

这个类提供了在Python程序中与ThreeMfFormat对象工作的7种方法. 有的方法包括: create_load_options, create_save_options, get_object_type, get_transform_for_build, is_buildable, set_buildable, set_object_type. 在安装Python包的Aspose.3D FOSS后,所有公众成员都可以访问任何 Python 应用程序. 特性: can_export, can_import, content_type, extension, extensions, file_format_type,另外两个.

Properties

NameTypeAccessDescription
extensionstrRead得到延期.
extensionsList[str]Read得到了延期.
content_typestrRead得到了内容类型.
file_format_type``Read获取文件格式类型.
versionstrRead得到了版本.
can_exportboolRead得到了的出口.
can_importboolRead得到了进口的.
formatsListRead得到了格式.

Methods

SignatureDescription
create_load_options()为3MF文件创建一个新的加载选项实例
create_save_options()为 3MF 文件创建一个新的保存选项实例
is_buildable(node)bool如果给定的节点可以作为构建项目使用,则返回true
get_transform_for_build(node)Optional[Matrix4]返回节点的构建转换矩阵,或没有
set_buildable(node, value: bool, transform: Optional[Matrix4])设置可构建的值.
set_object_type(node, model_type: str)设置对象类型值.
get_object_type(node)str获取节点的3MF对象类型字符串

See Also

 中文