Page 1 of 1
Is it possible to convert older 2.4x scripts to 2.65a?
Posted: Tue Jan 22, 2013 12:21 pm
I know the API has changed quite a bit, but is there a step by step process to port older scripts to what Blender is currently using? Are there any sources to describe how to revise an existing script to port it for use with Blender 2.65a? I guess that might be a good project for someone to make somekind of python script for doing automated tasks like this
Posted: Wed Jan 23, 2013 12:04 am
there's neither a converter nor is there a migration guide.
And i really recommend to rewrite 2.4x scripts for 2.5x and later, the API changed too drastically to port anything. It is possible, but looks horrible (in terms of code aesthetic), doesn't comply to the new API paradigms and wouldn't benefit from any of the new utilities (no need to define matrix helper functions any longer since we got a comprehensive mathutils.Matrix type).
A good point to learn the new API is the documentation:
and also the IO addons included with blender.