Skip to content

Instantly share code, notes, and snippets.

View kianga's full-sized avatar
😼

René Puls kianga

😼
View GitHub Profile
@AzureDVBB
AzureDVBB / basic_ui_documented.py
Last active May 25, 2022 20:05
A commented template for making simple UI in blender using the bpy python API
#import the bpy module to access blender API
import bpy
#WARNING: this is written and tested for blender 2.79
#blender 2.8 and newer will likely have a different python API
#create a property group, this is REALLY needed so that operators
#AND the UI can access, display and expose it to the user to change
#in here we will have all properties(variables) that is neccessary
class CustomPropertyGroup(bpy.types.PropertyGroup):