# PYTHON SCRIPTING IN BLENDER
let's work in here!
The last time I worked on this stuff was over a year ago in [this repo](https://github.com/mkuzmick/the-blender-tools). We may as well clone it and get started that way.
```
cd ~/Development
git clone https://github.com/mkuzmick/the-blender-tools.git
cd the-blender-tools
code .
```
a very simple script
```
import bpy
bpy.ops.mesh.primitive_cube_add(size=2, enter_editmode=False, align='WORLD', location=(0, 0, 0), scale=(1, 1, 1))
bpy.ops.transform.translate(value=(0,0,3.71049))
```
and a simple loop concept
```
import bpy
bpy.ops.mesh.primitive_cube_add(size=2, enter_editmode=False, align='WORLD', location=(0, 0, 0), scale=(1, 1, 1))
bpy.ops.transform.translate(value=(0,0,3.71049))
for x in range(10):
bpy.ops.mesh.primitive_cube_add(size=2, enter_editmode=False, align='WORLD', location=(0, 0, 0), scale=(1, 1, 1))
bpy.ops.transform.translate(value=(2*x,2*x,3.71049))
```