Book Image

Learning Robotics using Python

Book Image

Learning Robotics using Python

Overview of this book

If you are an engineer, a researcher, or a hobbyist, and you are interested in robotics and want to build your own robot, this book is for you. Readers are assumed to be new to robotics but should have experience with Python.
Table of Contents (14 chapters)
13
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:

Working with a 3D model of the robot using Blender

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...