浏览我们的产品

Aspose.3D for Python 25.4 版发布说明

改进和变更

KeySummaryCategory
THREEDNET-1671添加使用扩展 EXT_structural_metadata 导入元数据的支持,用于 glTF任务
THREEDNET-1650添加使用扩展 EXT_mesh_features 导出元数据的支持,用于 glTF新增功能
THREEDNET-1668Ready Player ME 导出的 GLTF 无法导入修复 Bug

API 变更

添加类 aspose.threed.formats.gltf.StructuralMetadata

添加类 aspose.threed.formats.gltf.ClassType

添加类 aspose.threed.formats.gltf.EnumType

添加类 aspose.threed.formats.gltf.EnumValue

添加类 aspose.threed.formats.gltf.Property

添加类 aspose.threed.formats.gltf.PropertyTable

添加的类允许您从输入 glTF 文件读取 EXT_structural_metadata

示例代码:

from aspose.threed import Scene
from aspose.threed.gltf import *

scene = Scene.from_file("SharedPropertyTable.gltf")
metadata = StructuralMetadata.from(scene);
print("Dumping structural metadata from input glTF file:");
for kv in metadata.property_tables[0].values:
    print(f"{kv.key} = {kv.value}"


 
 简体中文