- 
                Notifications
    
You must be signed in to change notification settings  - Fork 9
 
Home
Welcome to the Blender Python Recipes wiki! (Work In Progress until this message goes) curated and opinionated snippets for bpy
Scripting examples are listed in the section to the right.
Why Recipes?
Because this may be the most convenient way to collect snippets and allow people to contribute updates and fixes.
Who?
The snippets assume some familiarity with Python, some more than others. If you are pretty new to Python you'll probably pick up a lot of techniques by experimenting with the examples and breaking / fixing them.
What?
Some are written for one off projects, others are taken from snippets at Blenderscripting.blogspot or answers given on Blender.stackexchange.
Contribute?
I have no interest in doing all this alone. Make a new issue about a topic if you think it can be augmented with more information.
Introduction
Objects / Mesh / BMesh
- Empty - null object
 - Mesh
 - Bmesh
 - bmesh.ops - primitives
 - bmesh.ops - mesh opsπ§
 - Curves (2d, 3d)
 - Text (Font Objects)
 - Duplication (instancing)
 - Metaballs
 
Time and Motion
- scripted keyframesπ
 - Event Handlersπ
 - Drivers
 
Miscellaneous bpy.data.*
Order / Organization
- Groupingπ
 - Parentingπ
 - Layers
 - UI / Layoutπ
 
Miscellaneous
- Mathutilsπ
 - Modifiersπ
 - Particle Systemsπ
 - vertex colorsπ
 - Textures UV DPI
 - Propertiesπ§
 - Operators (and callbacks)π§
 - bgl / blfπ
 - Grease Pencil
 - Themes
 - Areas
 
Add-ons
- introductionπ
 - import / exportπ
 - Text Editorπ
 - Custom Nodesπ