Blender 2.8 Python Addons in 3 Minutes!
Hey everyone! In the next 3 minutes you'll know everything you need to create your first Python Addon!
--------------------
bl_info = {"name" : "NamePeopleSee", "category": "3D View", "author": "YourNAME"}
import bpy
class NameOfYourAddon(bpy.types.Menu):
bl_label = "NameThatAppears"
bl_idname = "NameBlenderSees"
def draw(self, context):
layout = self.layout
""" EVERYTHING BELOW IS YOUR KINGDOM """
layout.operator("mesh.primitive_cube_add")
layout.operator("mesh.primitive_circle_add")
layout.operator("object.duplicate_move")
layout.operator("object.delete")
layout.operator("object.armature_add")
layout.operator("object.posemode_toggle")
""" EXCEPT THE STUFF UNDER HERE """
def register(): bpy.utils.register_class(NameOfYourAddon)
def unregister(): bpy.utils.unregister_class(NameOfYourAddon)
if __name__ == "__main__": register()
--------------------
CG Cookie Tutorial Link:
https://www.youtube.com/watch?v=pim5YIfWv-M
If you enjoyed this video, please don't forget to like and subscribe for more content!
You can find my entire Blender 2.8 Speed Tutorial series playlist here:
https://www.youtube.com/watch?v=f6vgICNCVxQ&list=PLZpDYt0cyiuu-sxJKbuYh8OjtgmXNacCV
Also, you can find me on twitter at: https://twitter.com/TheRoyalSkies
And If you would like to support the creation of more content like this please check out my new game on steam! It took over 3 years to create and has thousands of hours and heart put into it :)
https://store.steampowered.com/app/652890/Vanguard_Knights/
I also have a small 1$ Patreon perk available for anyone who would like to simply support the channel or be a part of the game design process directly here :)
https://www.patreon.com/RoyalSkies
As always, thank you so much for watching, please have a fantastic day, and see you around!
- Royal Skies -