Advertisement

Trying to use blender 2.55 beta API

Started by November 28, 2010 08:27 AM
3 comments, last by Darg 14 years ago
Right now I'm just trying to get the API documentations and I found a guide here: link

I can't even figure out how to install the Python Setup Tools because I don't know what version of python came bundled with python 2.55 so I don't know what version of the tools to download...

I tried a few different versions but none of the installers could find python and I'm not even sure if I get the right installer that it will work since python was was a bundle with blender and did not create any registration keys to tell it's location.

Has anyone else done this?
I believe Python 3.0 is bundled with Blender 2.5x. That page is to download a documentation generator, which you don't need as much, because the api is documented on the website there.

All you need to do to write your scripts is make a text window in Blender, and start writing your script. Then you an run it with the menu option(Text->Run script) or alt-p.

This link is good to have too.
Advertisement
Quote: Original post by Daaark
I believe Python 3.0 is bundled with Blender 2.5x. That page is to download a documentation generator, which you don't need as much, because the api is documented on the website there.

All you need to do to write your scripts is make a text window in Blender, and start writing your script. Then you an run it with the menu option(Text->Run script) or alt-p.

This link is good to have too.


How am I suppose to know what is inside classes and stuff? Like I need to know how to get the displayObject from a bone but displayObject no longer works...
There is documentation on their website and you can use the in-blender scripting command line to explore scene objects before you type scripts etc.
I recently made quite a crude model exporter for blender and I found that a LOT of the documentation on the blender website is out of date. There are a tonne of things that have been changed or removed completely. This is very annoying when all you're trying to do is find face uv coordinates or whatever I was getting stuck with at the time. All the guides and tutorials were saying how easy it was and just do this and this and you're done but then the function calls wouldn't be there in the latest version!

Anyway sorry to rant. Just try to make sure that the documentation you're reading is for blender 2.55 and not earlier versions. Also they have a scripting section on their forums so ask questions on there and you're more likely to get a good answer.
Portfolio & Blog:http://scgamedev.tumblr.com/

This topic is closed to new replies.

Advertisement