2010-07-27から1日間の記事一覧
[ctrl+l]と[p](Selection)を割れなくなるまで繰り返す。 import bpy s=bpy.context.scene o=s.objects.active def separate_object(o): if o.type!='MESH': return m=o.data # deselect all bpy.ops.object.mode_set(mode='EDIT', toggle=False) bpy.ops.mes…
[ctrl+l]と[p](Selection)を割れなくなるまで繰り返す。 import bpy s=bpy.context.scene o=s.objects.active def separate_object(o): if o.type!='MESH': return m=o.data # deselect all bpy.ops.object.mode_set(mode='EDIT', toggle=False) bpy.ops.mes…