Last active
March 3, 2026 10:38
-
-
Save Jerakin/8569e9620d51733760032e69798d16af to your computer and use it in GitHub Desktop.
Hello world Blender
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| """Hello world blender addon. | |
| Adds a "Hello" to the tools section in Blender. | |
| """ | |
| import bpy | |
| class HelloWorldPanel(bpy.types.Panel): | |
| """Creates a Panel in the Object properties window""" | |
| bl_label = "Hello World Panel" | |
| bl_idname = "OBJECT_PT_hello" | |
| bl_space_type = 'VIEW_3D' | |
| bl_region_type = 'UI' | |
| bl_category = "Hello" | |
| def draw(self, context): | |
| self.layout.label(text="Hello world!", icon='WORLD_DATA') | |
| def register(): | |
| bpy.utils.register_class(HelloWorldPanel) | |
| def unregister(): | |
| bpy.utils.unregister_class(HelloWorldPanel) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment