/blender-python

3D model generation using blender and python script. This repository hosts sample code appearing in the blog articles at Rinkak

Primary LanguagePythonMIT LicenseMIT

blender-python

This project is a part of rinkak blog (https://www.rinkak.com/us/blog?hl=ja). You can create 3D models for 3D print using blender and python script. The blog is continuing, so sample codes in this repository will be updated periodically.

Get started

  1. First of all, you have to set up the environment to run python scripts in blender. I've already write an article about this issue, so please check it. (This article is currently written in Japanese, but it will be translated to English in the near future.)
  2. Clone this repository to your local.
  3. Run scripts like this.
blender -P tut1.py

Complement

Codes in blenderlib are for auto-completion in your editor. Though these codes are not maintained with the latest python api in blender, it may work well for almost part of your projects.

Blog articles list

  1. Environment setting
  2. Add primitive objects
  3. Boolean operation & 3D print
  4. Apply simple deform modifier

Author & License