Python’s Integration with Blender
Blender accepts code instructions in the same way as it interacts: via a graphical user interface.. That allows artists and studios to implement their own features and automation.
Python, a highly extensible programming language with low barriers to entry, is widely used in computer graphics.
Though Blender’s core is written in C and C++, menus and graphic elements use Python. That allows custom and factory functionalities to share the same look and feel.
In this chapter, we’ll learn how to run Python commands in Blender and where to look for their outcome. We will also see where a history of past instructions is found and how to use that to our advantage. Lastly, we will introduce a code editor and a version control system and see how they help make our work easier.
By the end of this chapter, you will understand how a programmer works and why it is not so different from using software in the first place.
In this chapter, we will cover the following main topics:
- The scripting workspace
- Python execution
- Version control