Posted: Tue Oct 29, 2002 3:22 am
Joined: 28 Oct 2002
Posts: 15
So does anyone know where to get the up-to-date Python API? I've looked everywhere. The official (most uptodate) one should reside somewhere on this site shouldn't it?
thanks.
J.
Posted: Tue Oct 29, 2002 5:16 am
Joined: 14 Oct 2002
Posts: 122
http://www.python.org/
i think thats what you want.
_________________
dittohead
Posted: Tue Oct 29, 2002 8:45 am
Joined: 28 Oct 2002
Posts: 15
I've got one that dates to early 2001 ithink... is that the most uptodate?
I assume it isn't, because
Blender.getCurrentScene()
makes the interpreter say 'invalid atttribute' or something like that.. and that's in that API and most of the tuts.
J.
Posted: Wed Oct 30, 2002 12:18 am
Joined: 18 Oct 2002
Posts: 72
erm, python is supposed to be self duocmenting, isn't it?
i can't remember the code off the top of my head, but you can display the functions and things in the console window using "print".
some proper python hacker could tell you how. ask theeth, eeshlo, green, someone like that.
also, i don't know if this works with 2.25 or 2.25b. i know there was a bug in 2.23 that prevented this from working.
BEAT
[/code]
Posted: Wed Oct 30, 2002 5:27 am
Joined: 16 Oct 2002
Posts: 47
If you mean the Python API in Blender, this script should do it:
http://www.blenderbuch.de/tutor/python2/Python2_eng.html
The first script on the page (docstrings.py) is the one. However, I've had to mess a little with it to get it to work at all (it crashes blender), and then it chokes after a certain part

. Hmm, I'm not so keen on the whole stdout stuff (I really am a file.write man

)
(NB about the webpage: at the bottom are the links to the tgz and zip with all the files for the page - should include docstrings).
Posted: Wed Oct 30, 2002 7:08 pm
Joined: 19 Oct 2002
Posts: 327
| ray_theray wrote: |
... However, I've had to mess a little with it to get it to work at all (it crashes blender), and then it chokes after a certain part ...
|
In b2.23, you shouldn't touch the NMesh module.
use b2.25, instead.
_________________
Zoo-3D.Blender, Ze French-Speaking Community SKB My french book about Blender.
Posted: Thu Oct 31, 2002 10:38 am
Joined: 16 Oct 2002
Posts: 63
Also Zr's Docbrowser still works fine! Also to get through the URL mentioned above.
carsten.