-
Notifications
You must be signed in to change notification settings - Fork 9
Home
Welcome to the Blender Python Recipes wiki!
curated and opinionated snippets for bpy
(Work In Progress until this message goes)
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. The bpy documentation is mostly auto-generated and tends to be (October 2015) rather sparse on details; that's fine for most confident python-heads, but people trying to learn python and figure bpy out can benefit more from seeing many short samples.
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π