MJJ论坛

 找回密码
 注册
查看: 1142|回复: 0

求助大佬blender的问题?

[复制链接]
发表于 2020-1-13 17:24:24 | 显示全部楼层 |阅读模式
有大佬会blender吗,我有个模型需要给所有mesh多添加一个uvmap,想知道如何批量添加,网上找到的
import bpy
context = bpy.context
scene = context.scene
# all meshes on mesh objects in scene
meshes = [o.data for o in scene.objects
        if o.type == 'MESH']
# add a new "map1" UV to each        
for m in meshes:
    m.uv_textures.new("map1")
提示没有 uv_textures属性
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|MJJ论坛

Copyright MJJ论坛 © 2022 All Rights Reserved.

快速回复 返回顶部 返回列表