Free

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

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/42627bf88df26f4f01599b32d8eb0a02

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

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


View on YouTube
  • Price type: Free