Translate blend file to python How can I get equivalent python code for a created blend file from blender. I want to generate java code for corresponding python code of a blender. I am unable to get python code of blender file either inside or outside the blender.
Blender has no facility to write a .blend file as a series of Python instructions.

For limited uses you could write your own script (Its been done before for rigify armatures for eg), but for the entire blend file this becomes a large task.