Open links in new tab
  1. Quickstart - Blender Python API

  1. Blender’s Python API (bpy) allows you to create, modify, and automate almost anything you can do in the UI — including generating objects, animations, and custom tools. You can run scripts directly inside Blender or from the command line.

    Setting Up

    • Open Blender and switch to the Scripting workspace.

    • In the Text Editor, create a new script or open an existing .py file.

    • You can also use the Python Console for quick testing with auto-completion.

    Creating Objects via Python

    Here’s an example that generates a cube and applies transformations:

    import bpy

    # Delete all existing objects
    bpy.ops.object.select_all(action='SELECT')
    bpy.ops.object.delete(use_global=False)

    # Add a cube
    bpy.ops.mesh.primitive_cube_add(size=2, location=(0, 0, 0))
    cube = bpy.context.active_object
    cube.name = "MyCube"

    # Move and scale the cube
    cube.location.z = 1
    cube.scale = (1.5, 1.5, 1.5)

    # Add a material
    mat = bpy.data.materials.new(name="MyMaterial")
    mat.diffuse_color = (0.2, 0.6, 0.8, 1) # RGBA
    cube.data.materials.append(mat)
    Copied!
    Feedback
  2. 【2026最新】コピペ可能!Blenderによる3DモデリングをPython ...

    • Pythonを使ったBlender自動化の基本操作を7つ取り上げて解説してきます。 「Pythonを使ってBlenderを自動化する際の準備」の項目まで準備ができていれば、以下の項目はすべてコピペで実行することが可能です。Blender初心者の方や、Pythonに不慣れな方もぜひ手元の環境で実行してみてください。 基本操作の紹介の最後で、これらの基本操作を組み合わせて実行できる自動化処理の例も掲 …
    See more on unolaboratory.com
  3. Blender Python API Guide for 3D Automation - PyTutorial

    Jan 30, 2026 · Learn how to use the Blender Python API to automate 3D modeling, animation, and rendering tasks with practical Python scripting examples.

  4. Using Python in Blender: For Beginners – Talstra Net

    May 7, 2024 · Learn how to use Python to automate and customize your 3D projects in Blender. This tutorial covers the basics of Blender's Python API, …

  5. Learn Blender Python - Canopy Games

    Jun 30, 2025 · Familiarize yourself with Blender’s interface and core functionality. Understand the basics of Python scripting within Blender. Learn to write simple …

  6. Blender & Python Scripting – Step-by-Step Guide

    In this course, you will learn Blender scripting with Python. You'll start by learning the basics of Python programming, setting up Blender, and understanding the …

  7. Beginner Blender Python Scripting Practice - YouTube

    Beginner Blender Python Scripting Practice CG Python · Course 38 videos Last updated on Feb 7, 2025

  8. Mastering Blender Python: Unleashing the Power of Scripting ...

    Jan 29, 2025 · Whether you're a beginner looking to streamline your workflow or an experienced developer aiming to build advanced add-ons, understanding Blender Python is a valuable skill. This …

  9. Blender API basics - Introduction to Scientific …

    Blender embeds a Python interpreter, which is used for multiple tasks. It is a central feature of Blender, as large parts of the user interface are set up and controlled …

  10. Python in Blender: 3D Scripting & Automation for 2025

    <p>Welcome to *Master Python for Blender: 3D Scripting & Automation 2025* – your ultimate guide to scripting, automating workflows, and creating tools in …

  11. People also ask
    Loading
    Unable to load answer
By using this site you agree to the use of cookies for analytics, personalized content, and ads.Learn more about third party cookies|Microsoft Privacy Policy