updateBlender is extendable with python-scripts. Just as maya uses MEL and 3DS-Max uses MAX-script, blender uses python.
- How to successfully install python
- List of some python scripts and plug-ins
1.In order to run certain scripts, you will need a fully installed version of python.
You can get it at: www.python.org
O.K. as many questions will come about python and plug-ins, here we go:
If you are on OSX, you should be fine, as it comes with python 2.3 installed.
On windows XP you need to install it on: C:\python23
On Linux it depends: newer distros come with python 2.3 allready installed, older ones (like mine) with older versions.
Attention: rpm based distros like rh and fc1 have many programs that depend on the already installed python versions (in my case python2.2.x), so don´t just get the rpm and click on it!! It will mess up your whole system (this is a known issue as seen on redhead.com) work around: load down the source and build it yourself with the usual ./configure, make procedure, check the install instructions coming with the source!! If you do so, you might have to rename some of the path ending 23.zip into /…/python2.3 (depending on your path in python)
Next step is to set the PYTHONPATH
On XP, there should be a PYTHONPATH in your environment variables. Normally there is no issue here, if you installed it to your C:\ partition
Now, after our python-install, we want blender to recognize the PYTHONPATH?
First thing to do is open python and write the first 2 lines as seen here and hit return:
On winXP you get something like this:
>>> import sys
>>> print sys.path
[’’, ‘c:\python23’, ‘c:\python23\dlls’, ‘c:\python23\lib’, ‘c:\python23\lib\plat-win’, ‘c:\python23\lib\lib-tk’, ‘c:\python23\pil’]
On Linux it would look like this:
>>> import sys
>>> print sys.path
[’’, ‘/usr/local/lib/python2.3’, ‘/usr/local/lib/python2.3/plat-linux2’, ‘/usr/local/lib/python2.3/lib-tk’, ‘/usr/local/lib/python2.3/lib-dynload’, ‘/usr/local/lib/python2.3/site-packages’]
Now open blender, and set your pythonpath in the “user preferences” (i) window >pathes>Python
Now open a new text window in blender and write again:
Print sys.path and hit alt-p
(you actually just executed your first python-script)
Then check your dos or bash-console (rember to start blender on linux allways with /path_to/blender):and
– there you have it!! Its done!! You see the same path in the blender console.–
Then you have to create on win XP an environment variable PYTHONPATH
On linux you have to do this:
vi /home/user_name/.bashrc there you add:
dont just copy and paste this text here! it might differ on your system, so get the path from python and edit it: all ‘,’ become :
now you should be fine.
2: List of python-scripts and plug-ins
O.K. now python is installed all right lets start and get bussy with some of those sweets.
Blender 2.23/2.25 -2.27 works with python 2.0
Blender 2.28-2.32 works with python 2.2
Blender 2.33- until now works with python 2.3
Some scripts you find in the www, might not work with current versions of blender. Pls. refer to the documentation on their home-sites:
To execute python-scripts: if not explained in a different way, just open the .py in blenders text-window and hit >alt-p
Plug-ins are .dll on win and .so on unix. there are texture plug-ins and sequenz-editor plug-ins. to open them just add new> plug-in and select it from your folder where the plug-ins are. you can set the path to the plug-in folder in user-preferences
the list is in random order and far from complete! there must be like 1000 scripts out there.
read this first:
Blender Plugin Repository >collection of sequenz and texture plug-ins and python scripts
for gamers, various export scripts:
blenderman .rib export (developement freeze)
Fiber > create good looking grass
tut for fiber:
L-system >tree maker
beast >city-builder; also can fake hair and fur with alpha maps
makehuman > create a fully rigged human mesh with a couple of clicks
sculpMesh >Zbrush style sculpting
ter2blend > use terragen landscapes and animations in blender (development interrupted)
script maintenance (adapt it to python 2.3)
some older stuff:
there are many, many more, I will update this list, when I find a minute and did not want to add to many links for scripts only working with older versions.
so authors and users of scripts:
pls. post a link to the home-site of your favorite scripts here!!
dont post a direct download link, as scripts get updated quickly and we want to get the latest versions and some man-pages
cool stuff from ideasman