Using Python classes in Blender

Опубликовано: 15 Октябрь 2024
на канале: CG Python
6,186
278

This is a video tutorial for Blender Python beginners.
We will go over what are Python classes, and how to use Python classes.
I'll share 3 versions of the same script using step-by-step commands, functions, and classes.

Example Class:
https://gist.github.com/CGArtPython/3...

Beginner Python Exercise in Blender: Make a cube from a list of vertices
   • Beginner Python Exercise in Blender: ...  

Step-by-step example 1:
https://gist.github.com/CGArtPython/b...

With functions example 1:
https://gist.github.com/CGArtPython/a...

With classes example 1:
https://gist.github.com/CGArtPython/e...

Step-by-step example 2:
https://gist.github.com/CGArtPython/6...

With functions example 2:
https://gist.github.com/CGArtPython/5...

With classes example 2:
https://gist.github.com/CGArtPython/1...

Step-by-step example 3:
https://gist.github.com/CGArtPython/3...

With functions example 3:
https://gist.github.com/CGArtPython/4...

With classes example 3:
https://gist.github.com/CGArtPython/c...


00:00 - Intro
00:45 - What are Python classes?
03:29 - How to use Python classes?
10:23 - Step-by-step example 1
11:13 - With functions example 1
13:03 - With classes example 1
16:27 - Step-by-step example 2
17:49 - With functions example 2
18:57 - With classes example 2
21:40 - Step-by-step example 3
23:25 - With functions example 3
24:26 - With classes example 3
29:28 - Summary
30:28 - Outro

Intro Music
Fiery Trails - Silent Partner

Outro Music
Geographer - Easy Shake

house blueprint image by Michael_Hiraeth
https://pixabay.com/illustrations/tec...

house image by Pexels
https://pixabay.com/photos/house-arch...

blueprint image by xresch
https://pixabay.com/illustrations/blu...

#blender #python #scripting