Recently, using Blender seems to be able to do various interesting things, so I'm investigating whether Python can do this.
This time, when operating Blender from Python, it seemed that when specifying added primitives etc., it was common to specify a name and perform subsequent processing, so I investigated how to obtain this name.
I didn't know how to specify the name when adding the primitive, so I looked it up and arrived at this method.
bpy.context.object.name
bpy.ops.mesh.primitive_uv_sphere_add(location=(0, 0, 0.5))
#The primitive name added in ↑ is
bpy.context.object.name
-First step to use Blender from Python --Qiita -How to know the current directory in Python in Blender --Qiita
-Running mruby with Python or Blender-Qiita -Using OpenCV with Blender on OSX-Qiita
-Until making the first add-on in Blender-Part 2- -Until you make your first add-on in Blender-Part 1- -Draw the brachistochrone curve using Python in Blender -Solved the problem that JSON exported by Blender has strange color in Three.js -I tried ctypes with Blender on OSX -Running gRPC (client & server) with blender
Recommended Posts