Free

Blender Python scripting: Creating custom operators from scratch

In this video, you’ll learn step-by-step how to create a custom Blender operator using a Python script. You’ll also learn how to define properties for the operator, allowing you to customize it to your exact needs. And to make sure you’ve got a solid grasp of the concepts, the tutorial concludes with a series of hands-on exercises.

First Video (Create a Custom Blender Panel with less than 50 lines of Python code)

Initial Code
https://github.com/CGArtPython/blender_plus_python/blob/main/add-ons/simple_custom_panel/simple_custom_panel.py

Final Code
https://github.com/CGArtPython/blender_plus_python/blob/main/add-ons/simple_custom_operator_with_props/simple_custom_operator_with_props.py

Using Python classes in Blender

Property Definitions (bpy.props) doc
https://docs.blender.org/api/current/bpy.props.html

00:00 – Intro
00:29 – Set up the workspace
00:50 – Go over the initial code
02:20 – Go over the steps
02:52 – Define and Register the Operator
05:53 – Add Operator to Custom Panel
07:23 – Define the functionality of the Operator
11:48 – Define a custom Property for the Operator
14:00 – Exercise #1
16:23 – Exercise #2

#blender #python #scripting #tutorial #addon

Blender Python scripting: Creating custom operators from scratch


View on YouTube
  • Price type: Free

Stats (monthly)
Not enough data to display yet.