From 4d9a6daffe68f6245809ddab9b421d8b8eeab72d Mon Sep 17 00:00:00 2001 From: TurpIF Date: Tue, 4 Mar 2014 19:45:36 +0100 Subject: [PATCH] Ajout d'une docstring pour le controleur de Blender --- assets/BlenderController.py | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/assets/BlenderController.py b/assets/BlenderController.py index 3afbcef..631f8d3 100644 --- a/assets/BlenderController.py +++ b/assets/BlenderController.py @@ -1,9 +1,13 @@ -import threading -import mathutils -import socket -import os -import select +""" +Create a new blender object inside your scene. Then add a new module Python +controller BlenderController.main and connect it with a new always sensor. +""" + import bpy +import sys + +# Put the path of Togetic library inside the syspath +sys.path.append("../") from Togetic.Blender import PositionController