
This course includes our updated coding exercises so you can practice your skills as you learn.
See a demo
discover how to download the latest stable release of blender from blender.org or the Steam, Snap, or Microsoft Store, and complete the standard installation on Windows, macOS, or Linux.
Master Blender navigation to orbit around selected objects or cameras, zoom with middle mouse and alt, pan with shift, and switch perspective or orthographic views.
Explore Blender’s right-handed Cartesian coordinate system with z up, where vertices, edges, and faces describe 3D mesh geometry, and learn extrusion from a single vertex to build cubes.
Explore the Blender Python BPY module, importing BPY to access data, context, and ops for scripting objects, cameras, and modifiers in Blender.
Master the Python order of operations to evaluate expressions accurately, using parentheses, exponentiation, and left-to-right rules for multiplication, division, addition, and subtraction.
Create your first blender python script that adds a cube, renames it Hello world, uses BPY and context to reference the object, and save as myFirstScript.py in a scripts folder.
Diagnose common python errors in blender scripting, including name errors from missing bpy import and syntax issues from typos or indentation, using the console to read messages.
In this video tutorial we delve into some of the most frequent issues faced by students and users of Blender—ranging from modelling intricacies to key frame snags. By walking you through real-time examples, the lecture aims to equip you with practical solutions to these common stumbling blocks, making your Blender experience smoother and more efficient.
Doubled-Up Vertices
Problem: Presence of redundant vertices causing shading, texturing, and other issues.
Example: Extruding a face but then deciding to inset, leading to overlapping vertices.
Solution: Utilizing the 'Merge by Distance' function to eliminate extra vertices.
Loop Cut Issues
Problem: Loop cuts not behaving as expected.
Example: Loop cut refuses to wrap around the mesh, usually stops at an N-gon.
Solution: Using the Knife tool to manually cut through the N-gon.
Things Disappear
Problem: Work disappearing when pressing the "1" key.
Example: Toggling collections on and off inadvertently.
Solution: Using the 'Control' key to unhide all collections.
Extruding a Vertex
Problem: Difficulty extruding a single vertex.
Example: Single vertex becoming invisible in Edge mode.
Solution: Switching to Vertex selection mode to extrude properly.
Limited Zoom
Problem: Restricted zooming in User Perspective mode.
Example: Difficulty zooming into third monkey head object.
Solution: Switching to Orthographic mode or using Fly Mode to bypass restrictions.
Keyframes
Problem: Unintended object movements due to Auto-Keying.
Example: Objects moving or disappearing when the space bar is hit.
Solution: Checking the status of the Auto-Keying button and toggling it off if needed.
Key Takeaways:
Learn the importance of the 'Merge by Distance' function to eliminate doubled-up vertices.
Gain insights into how to perform loop cuts on N-gons using the Knife tool.
Discover the functionalities of Blender's different modes to avoid unintended actions like disappearing collections or failed extrusions.
Grasp how to manage zoom limitations through the use of different view modes.
Understand the implications of the Auto-Keying feature and how to manage it effectively.
Learn how to store and access the 3D cursor location in Blender using Python variables, including creating, referencing, and passing cursor coordinates to the cube operator.
Learn to rename Blender objects with Python by iterating over selected objects and updating obj.name and obj.data.name. Use f-strings to insert variables and handle suffixes like underscores.
Develop a studio setup script in Blender using bpy to create a 15-meter square plane as the floor, enter edit mode, subdivide for a curved background, and save the script.
Attach a Blender studio script to a new sidebar panel by defining a panel and a studio creation operator, and using a draw function to place a Create Studio button.
Learn to read a csv file with Python's csv module, extract date and closing price data, and append them to lists for graphing and checking in Blender.
Generate a number list to define x coordinates for graph points by building and appending values from 100 to 2300 in 200-step increments, then print to verify.
Link a spline to the scene collection in blender by adding points from a coordinates list and creating a CRV line, then make it active for keyframes.
Reveal the graph using curve properties, set up keyframes with Python to animate the curve's bevel end from 0 to 1, and control timeline frames in Blender.
Create a Blender material for the graph line using Python, storing RGB values in color lists, enabling nodes, and linking an emission shader to the material output.
Utilize the zip method to combine date_list and graph_x, updating Blender text objects with dates, center alignment, and positions, then translate them along the x axis.
Create and link an orthographic camera in the scene. Set its type to ortho with ortho scale 2500, and position it at 1152, 890, 100; update background to black.
Set a Blender csv path using a relative path, convert to absolute, and open a utf-8 csv writer to export object name, collection, material, and sizes, limit to 1000 objects.
Filter objects by type (mesh, curve, surface, font, meta) and extract name, dimensions, collections, and materials. Write the data to a csv, formatting dimensions in millimeters.
Master Blender Scripting with Python and Supercharge Your 3D Workflow
Welcome to Python Scripting in Blender – the only course you need to start writing scripts, creating tools, and automating workflows inside Blender, the powerful open-source 3D software. Whether you're a complete beginner or looking to enhance your Blender skills with Python, this course will get you up and running fast!
With 2.5 hours of hands-on training, you'll learn practical Python scripting techniques to extend Blender’s functionality. Even if you have no prior programming experience, you’ll be writing scripts in no time.
Why Take This Course?
Learn from an experienced instructor with nearly 100,000 students.
Up-to-date content that reflects the latest Blender versions.
Immediate visual feedback – see your Python code in action inside Blender’s 3D viewport.
Automate repetitive tasks to speed up your workflow.
Python & Blender are used in gaming, VFX, and animation – get ahead of the curve with automation skills.
Blender’s latest release makes Python scripting more powerful than ever!
Through step-by-step video tutorials, you’ll gain confidence in scripting while building practical projects.
What You’ll Learn in This Course
This hands-on course covers key scripting concepts, including:
Creating custom panel buttons in Blender's UI.
Importing and processing data from CSV files.
Using lists, loops, and conditional logic in Python.
Manipulating mesh objects and materials via scripting.
Automating keyframe animation with Python.
You’ll Work on Real-World Projects, Including:
Adding and renaming objects in the scene.
Duplicating and positioning objects using Python.
Creating a custom UI panel for easy access to scripts.
Automating lighting and camera setup for a scene.
Building an animated data visualization from CSV data.
By completing these projects, you'll gain practical experience and walk away with scripts that can be used in real Blender projects.
Tools & Technologies Covered
Blender (Free & Open Source 3D Software)
Blender’s Python API (bpy module)
Python Console & Text Editor inside Blender
LibreOffice for CSV Data Handling
Topics Covered in the Course
Introduction to bpy (Blender’s Python module).
Controlling the 3D cursor with Python.
Variables, loops, and conditional statements for automation.
Using f-strings for efficient string formatting.
Writing and organizing scripts in Blender’s Text Editor.
Understanding order of operations in Python.
Working with data types, radians, and transformations in Blender.
…and much more!
By the end of the course, you'll have the skills to automate repetitive tasks, build custom scripts, and optimize your Blender workflow with Python.
Take Action Now!
Time is valuable! Click the Buy Now button and start scripting inside Blender today. Master Python, automate tasks, and take your 3D skills to the next level!