Beginner Blender Python Tutorial: for loop practice (part 2)

preview_player
Показать описание

This video tutorial for Blender Python beginners will go over how to update a script with functions and how to add a basic rotation animation to a scene.

Previous video:
Beginner Blender Python Tutorial: for loop practice

Start code:

Final code:

Beginner Blender Python Exercise: Introduction to If Statements (part 1)

00:00 - Intro
00:28 - Get Code
01:00 - Creating functions
03:34 - Add the create mesh function
04:51 - Add the create next layer function
06:36 - Add the update object transform function
08:40 - Add a rotation animation
20:00 - Add an initial random rotation
21:40 - The animation challenge
26:01 - Outro

Intro Music
Fiery Trails - Silent Partner

Outro Music
Geographer - Easy Shake

#blender #python #scripting
Рекомендации по теме
Комментарии
Автор

Hi Victor. I've got Part 1 complete and I look forward to getting into Part 2! Hopefully tomorrow. I love the animated ones.

I was working pretty steady on this entire playlist until work got wildly busy for a couple months. Now I'm diving back in. Have you done anything with UPBGE? I haven't started yet, on any game engine at all, but I'm loving Blender as a beginner to 3D and Python so I might give the game engine a try.

Thanks for sharing your content is such accessible tutorials for the novice!

jmfs
Автор

Hello. Do you know how to make Image Browser python code? I'm making an addon with Serpens 3, but there's no function for embedding an image browser. So that the texture (Diffuse for example) can be changed from the custom panel.

m.gordon
Автор

Of all the exercises and challenges, this one really made me feel like an actual idiot.

Of course I knew I was supposed to flip the rotation angle somewhere in the script, but for the rest of the steps I had to do to create exactly THAT animation, I didn't know what the hell I was supposed to do. I sat there wasting my time looking and overthinking about how I was supposed to even get to that point like I thought I had to just duplicate and change some lines here and there, then I took a long break from stressing out about it, came back and was still trying many stupid ways that always get this wrong. If I had looked up anything on Google for this, it would only be when you say that I'm allowed to, but I didn't. Was I allowed to?

Eventually I gave up and resorted to watching the solution at the end. God, I'm so pathetic.

Sorry for venting it here, I know it's obviously a damn skill issue I have.

tetrapixel
Автор

Can I ask you to develop a piece of code for my addon for money? I wrote to you on Instagram

m.gordon