2.4x and 2.5x scripting

I am new to Blender. Is there a guide for porting 2.4x python scripts to 2.5x? The API seems to have changed a lot.

Specifically, I am looking for a per vertex ambient occlusion script. I can only find 2.4x ones. But I am unfamiliar with either 2.4x and 2.5x API to know what new functions/structures to replace when porting 2.4x script to 2.5x.

There is a video demonstrating using a VertexAO.py for blender 2.57


But I don’t know where to find the script.

I was really hoping to leapfrog to 2.57 Python scripting directly, but the scarcity of working ones is dulling my effort.

Thanks

Change is a cruel mistress :slight_smile:

The docs are getting better for the API - http://www.blender.org/documentation/blender_python_api_2_56_4/ - that helps explain the functions. But there isn’t a “conversion” scheme or doc that I’m aware of, though there are some examples or just look at scripts that come with Blender to see how they work and leverage off those. Best bet is to open “Info” window (drag top toolbar down in default view) to see what operations are done when working with Blender.

there are more recent dox:
http://www.blender.org/documentation/blender_python_api_2_57_release

Cool - didn’t realize there were different (newer) links to sub-versions of python doc… scary. Especially since I used the Blender Org links to get Documentation… :slight_smile:

they’re probably all the same :slight_smile:
( just kidding )