记录一下最近遇到的小bug。
由于旧版本blender导入ply文件命令已经失效。
bpy.ops.import_mesh.ply(filepath=object_mesh_path)
当你使用最新版,比如4.4.0之后的,写脚本导入mesh时,需要使用
bpy.ops.wm.ply_import(filepath=mesh_path)
记录一下最近遇到的小bug。
由于旧版本blender导入ply文件命令已经失效。
bpy.ops.import_mesh.ply(filepath=object_mesh_path)
当你使用最新版,比如4.4.0之后的,写脚本导入mesh时,需要使用
bpy.ops.wm.ply_import(filepath=mesh_path)