Hey guys, lets welcome Patrick Boelens as a new guest instructor here on Blender Cookie. We are super jazzed to have him and what he has to bring to the community. Give me a hello, hug or head nod in the comments below.
In this Blender 2.5 video tutorial we will be going over the basics of how to script in Blender 2.5x using the Python programming language.
We will create a Panel in the Tool Shelf with buttons in it that will add Mesh Primitives (Plane, Cube, etc.) to the Scene. We will also take a quick look at adding a name field in the same Panel.











.
Young man, it was past your bedtime when you recorded this!
Nice tutorial!
if you’re using blender 2.6 you must add
bpy.utils.register_class(addObjectPrimitives) after the class body in order for it to work.