When coding, expect lots of errors. My finished files are useful for testing and comparing.
Writing a Script That Makes a Simple 3D Model
- finished Blender file – introTut5.blend
- finished script file – intro1.py
Creating a New Operator That Makes a 3D Model Using a Template
- start file – introTut5.blend
- finished file – operatorTut23a.blend
How To Link a Script to a Button and How To Make a Script Into an Add-on
- start file – operatorTut23a.blend
- finished Blender file – addonTut26a.blend
- finished script file – monkeyrobot1.py
Creating a Panel That allows the User to Add and Place Bricks
- finished Blender file – bricksTut21.blend
- finished script file – add_bricks_simple.py
Create a New Mesh Object Using Python Code
- finished Blender file – brickTut22.blend
- finished script file – addon_add_brick.py
Adding New Properties to Objects & Linking Them to Update Functions
- finished Blender file – propTut25.blend
- finished script file – myBool_zlayer.py
- finished Blender file – light11.blend
- finished script file – lightSwitch.py
Creating New Materials, Creating a Property & Using It to Change Colors
- finished Blender file – propEnum4.blend
- finished script file – change_color.py
Bmesh Example Scripts Explained & Assigning Different Colors To Faces
- finished Blender file – bmeshTut4.blend
- finished script file (using object mode) – grid.py
- finished script file (using edit mode) – gridEditMode.py
What Next?
Making your own panel for the things you do often (similar to setting up macros) would practise and develop these techniques.
Creating add-ons give limitless ways to extend Blender, lots of projects.