Book Image

Learning Robotics using Python

Book Image

Learning Robotics using Python

Overview of this book

Table of Contents (19 chapters)
Learning Robotics Using Python
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Working with a 3D model of the robot using Blender


In this section, we will design a 3D model of the robot. The 3D model is mainly used for simulation purpose. The modeling will be done using Blender. The version must be greater than 2.6 because we only tested the tutorials on these versions.

The following screenshot shows the blender workspace and tools that can be used to work with 3D models:

The main reason why we are using Blender here is so that we can model the robot using Python scripts. Blender has an inbuilt Python interpreter and a Python script editor for coding purpose. We are not discussing about the user interface of Blender here. We can find a good tutorial of Blender on its website. Refer to the following link to learn about Blender's user interface:

http://www.blender.org/support/tutorials/

Let's start coding in Blender using Python.

Python scripting in Blender

Blender is mainly written in C, C++, and Python. Users can write their own Python script and access all the functionalities...