Blender (jusqu'à 2.49)
Python 
Connaître les valeurs 
des types Modifiers
(Blender 2.49)
    Début   Index
précédentScript Python
Module Object:insertkey Suivant

 
from Blender import *
ob = Object.Get('Cube')      
mods = ob.modifiers            
print Modifier.Types 
liste=['BEVEL', 'CLOTH', 'SHRINKWRAP', 'MESHDEFORM', 'LATTICE', 'EDGESPLIT', 'SMOOTH', 
'PARTICLEINSTANCE', 'CURVE', 'CAST', 'WAVE', 'EXPLODE', 'SUBSURF', 'DECIMATE', 'BOOLEAN', 'BUILD',
'DISPLACE', 'MIRROR', 'ARMATURE', 'ARRAY', 'PARTICLESYSTEM']

for l in liste :
 exec "print '%s:', Modifier.Types.%s"%(l,l)


 
précédentScript Python
Module Object:insertkey 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