tornavis/doc/blender_file_format
Campbell Barton e955c94ed3 License Headers: Set copyright to "Blender Authors", add AUTHORS
Listing the "Blender Foundation" as copyright holder implied the Blender
Foundation holds copyright to files which may include work from many
developers.

While keeping copyright on headers makes sense for isolated libraries,
Blender's own code may be refactored or moved between files in a way
that makes the per file copyright holders less meaningful.

Copyright references to the "Blender Foundation" have been replaced with
"Blender Authors", with the exception of `./extern/` since these this
contains libraries which are more isolated, any changed to license
headers there can be handled on a case-by-case basis.

Some directories in `./intern/` have also been excluded:

- `./intern/cycles/` it's own `AUTHORS` file is planned.
- `./intern/opensubdiv/`.

An "AUTHORS" file has been added, using the chromium projects authors
file as a template.

Design task: #110784

Ref !110783.
2023-08-16 00:20:26 +10:00
..
BlendFileDnaExporter_25.py License Headers: Set copyright to "Blender Authors", add AUTHORS 2023-08-16 00:20:26 +10:00
BlendFileReader.py License Headers: Set copyright to "Blender Authors", add AUTHORS 2023-08-16 00:20:26 +10:00
README Spelling fixes in comments and descriptions, patch by luzpaz. 2018-09-03 16:55:01 +02:00
mystery_of_the_blend.css
mystery_of_the_blend.html Spelling fixes in comments and descriptions, patch by luzpaz. 2018-09-03 16:55:01 +02:00

README

To inspect the blend-file-format used by a certain version of blender 2.5x,
navigate to this folder and run this command:

blender2.5 -b -P BlendFileDnaExporter_25.py

where "blender2.5" is your blender executable or a symlink to it.

This creates a temporary dna.blend to be inspected and it produces two new files:

* dna.html: the list of all the structures saved in a blend file with the blender2.5
            executable you have used. If you enable build information when you build blender,
            the dna.html file will also show which svn revision the html refers to.
* dna.css:  the css for the html above

Below you have the help message with a list of options you can use.


Usage:
        blender2.5 --background -noaudio --python BlendFileDnaExporter_25.py [-- [options]]
Options:
        --dna-keep-blend:      doesn't delete the produced blend file DNA export to html
        --dna-debug:           sets the logging level to DEBUG (lots of additional info)
        --dna-versioned        saves version information in the html and blend filenames
        --dna-overwrite-css    overwrite dna.css, useful when modifying css in the script
Examples:
        default:       % blender2.5 --background -noaudio --python BlendFileDnaExporter_25.py
        with options:  % blender2.5 --background -noaudio --python BlendFileDnaExporter_25.py -- --dna-keep-blend --dna-debug