随笔分类 -  blender python

blender python
摘要:# blender 2.79 #Convenience Variables: C = bpy.context, D = bpy.data for i in D.objects : if i.type=='MESH': i.select=1 ; bpy.ops.object.subdivision_s 阅读全文
posted @ 2023-02-26 21:48 陳亞林 阅读(28) 评论(0) 推荐(0)
摘要:import bpy from bpy import data as D from bpy import context as C from mathutils import * from math import * def addColorSphere( size,location,color): 阅读全文
posted @ 2021-09-20 16:46 陳亞林 阅读(115) 评论(0) 推荐(0)
摘要:import bpy from bpy import context as C from mathutils import * sns=C.screen areas=sns.areas area=None for i in areas: if i.type=='VIEW_3D': area=i br 阅读全文
posted @ 2021-09-19 21:51 陳亞林 阅读(90) 评论(0) 推荐(0)