Blender: Using Python in Blender ver. 3

Last Updated on December 9, 2021 by shibatau

I. What do you learn?

We will create simple objects with Python language in Blender.

II. Showing Python Console

III. Run simple codes

Select the cube.["Cube"].select_set(True) 

Delete the cube.


Create a cube.


IV. Creating 600 Suzanne with scripts


1.Create a new general file


2.Create 600 Suzannes

# import libraries
import bpy
from random import randint
# add a monkey
bpy.ops.mesh.primitive_monkey_add(location = (0,0,0))
# add 600 monkeys
number =600
for i in range(0,number):
    x = randint(-30,30)
    y = randint(-30,30)
    z = randint(-30,30)



About shibatau

I was born and grown up in Kyoto. I studied western philosophy at the University and specialized in analytic philosophy, especially Ludwig Wittgenstein at the postgraduate school. I'm interested in new technology, especially machine learning and have been learning R language for two years and began to learn Python last summer. Listening toParamore, Sia, Amazarashi and MIyuki Nakajima. Favorite movies I've recently seen: "FREEHELD". Favorite actors and actresses: Anthony Hopkins, Denzel Washington, Ellen Page, Meryl Streep, Mia Wasikowska and Robert DeNiro. Favorite books: Fyodor Mikhailovich Dostoyevsky, "The Karamazov Brothers", Shinran, "Lamentations of Divergences". Favorite phrase: Salvation by Faith. Twitter: @shibatau

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.