Blender 2.25/2.26...etc.
Python : 
Clic souris avec le Module Draw
    Début   Index
précédentScript Python
Script python Suivant

Le script
 

import Blender
from Blender import Draw

MouseClickG= Blender.Draw.LEFTMOUSE
MouseClickD= Blender.Draw.RIGHTMOUSE
MouseClickM= Blender.Draw.MIDDLEMOUSE

def D():
    pass

def E(evt,val):

    if (evt == MouseClickG):
       Draw.Exit()

    if (evt == MouseClickD):
       print MouseClickD

    if (evt == MouseClickM):
       print MouseClickM

def BE():
    pass

Draw.Register(D,E,BE)


 
 
précédentScript Python
Script python Suivant
Vers le  Haut de page

Les questions concernant cette page  peuvent être posées sur  :
 news://news.zoo-logique.org/3D.Blender

Livre en français
Blender : apprenez, pratiquez, Créez, livre, Ed. Campus Press, coll. Starter Kit
Blender Starter Kit

Forum
FAQ
Lexique
Didacticiels
Compilations
Blender2KT
Débuter
Modelage
Blender python
Materiaux
Lumière
Animation
API python (eng)
Archives nzn
Statistiques
Doc flash Sculptris
Galerie Sculptris

mon site de démos sur youtube