Beginner Blender Python Exercise: Circle mesh from scratch (Part 1)

Publié le: 08 mai 2022
sur la chaîne: CG Python
6,721
228

This is the first video in a 2 part exercise for Blender Python beginners.
We will write a Python script that will provide a list of coordinates for the vertices of a circle mesh.

Final Code:
https://gist.github.com/CGArtPython/6...

Parametric Circle equation on Wikipedia
https://en.wikipedia.org/wiki/Paramet...

[Graph] Just the circle function
https://www.desmos.com/calculator/l6p...

[Graph] Moving point on the circle function
https://www.desmos.com/calculator/deb...

Great explanation of the math behind this
"Parametrizing a Circle" by @JCCCmath
   • Parametrizing a Circle  

Blender: How to set up Python console output on Linux
   • Blender: How to set up Python console...  

Blender: How to set up Python console output on macOS
   • Blender: How to set up Python console...  

00:00 - Intro
00:42 - Show end goal
01:45 - Go over the circle equation
04:24 - Write down the steps
05:20 - Import bpy and math
05:48 - Write down the circle equation
08:21 - Visualize the coordinate
10:23 - Repeat code with a for loop
14:29 - Calculate circle segments
18:30 - Create a list of coordinates
21:20 - Pretty-print coordinates
22:33 - Exercise #1
22:13 - Exercise #2
25:54 - Outro

Intro Music
Fiery Trails - Silent Partner

Background Music
Where To - Birocratic

Outro Music
Geographer - Easy Shake

#blender #python #scripting


Sur cette page du site, vous pouvez voir la vidéo en ligne Beginner Blender Python Exercise: Circle mesh from scratch (Part 1) durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur CG Python 08 mai 2022, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 6,721 fois et il a aimé 228 téléspectateurs. Bon visionnage!