标签:
创建world
创建lamp object
创建camera object
创建mesh object
1. 创建mesh:mesh = bpy.data.meshes.new(‘qmd‘)
2. 创建object:object = bpy.data.objects.new(‘qmd‘, mesh)
3. 链接到场景:bpy.data.scenes[‘Scene‘].objects.link(object)
4. 更新mesh:mesh.from_pydata()
创建armature object
标签:
原文地址:http://www.cnblogs.com/qmdlinux/p/5086831.html