This video tutorial for Blender Python beginners will go over a script that refactors a script that creates a rolling cube animation.
Previous video:
Beginner Blender Python Tutorial: Rolling Cube (Part 1)
Start code:
https://gist.github.com/CGArtPython/4c88ecda9160f883cec2af641e541d6f
Final code:
https://gist.github.com/CGArtPython/27d4ad4dd3ab7d7578f6e27b29b5d81f
Beginner Blender Python Playlist:
00:00 – Intro
00:36 – Get code
01:34 – Create the main function
02:22 – Add the create cube function
03:28 – Add the create empty function
04:17 – Move the Parenting code into a function
06:01 – Move the insert keyframe code into a function
07:36 – Move the cube revolution code into a function
11:40 – Move the rest of the code into a function
14:05 – Outro
Intro Music
Fiery Trails – Silent Partner
Outro Music
Geographer – Easy Shake
#blender #python #scripting