Beginner Python Exercise in Blender: Make a cube from a list of vertices
CG Python CG Python
10.2K subscribers
12,268 views
454

 Published On Mar 20, 2022

This is a video exercise for Blender Python beginners.
We will write a Python script that creates a Cube from a list of vertices and faces.

Final code:
https://gist.github.com/CGArtPython/4...

00:00 - Intro
00:30 - Setup Workspace
00:58 - Adding Lists
01:28 - Create mesh data
03:02 - Add a vert
03:27 - Create an object
05:18 - Add to the Scene Collection
06:09 - Removing orphan data
06:35 - Adding verts to form a face
07:13 - Show vert indices
08:23 - Define a face
09:17 - Check face orientation
09:30 - Define remaining verts
10:03 - Define remaining faces
11:18 - Inspecting a face
12:52 - What is a Python script?
13:53 - Exercise #1
14:34 - Exercise #2
15:08 - Outro

Intro Music
Fiery Trails - Silent Partner

Outro Music
Geographer - Easy Shake

#blender #python #scripting

show more

Share/Embed