This video tutorial for Blender Python beginners will go over a script that uses a for loop to create a scene. We will also examine how you can use a while loop instead of a for loop.
Final code:
https://gist.github.com/CGArtPython/004d414871f04bfb2c7605a88ea1e7a7
Beginner Blender Python Exercise: Repeating code with for loops
Beginner Blender Python Exercise: Introduction to If Statements (part 1)
00:00 – Intro
01:09 – Set up the workspace
01:19 – Create a cuboid
09:20 – Stack and rotate the cuboids
18:40 – The 360-degree challenge
22:49 – Adding the while loop
20:01 – Outro
Outro Music
Geographer – Easy Shake
#blender #python #scripting