[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [32812] trunk/blender/doc/ blender_file_format: == blender file format ==

Luca Bonavita mindrones at gmail.com
Mon Nov 1 14:27:33 CET 2010


Revision: 32812
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=32812
Author:   mindrones
Date:     2010-11-01 14:27:33 +0100 (Mon, 01 Nov 2010)

Log Message:
-----------
== blender file format ==

- added a readme so that it's easy to understand how to use the py files.
- fixed typos in the usage message.

Modified Paths:
--------------
    trunk/blender/doc/blender_file_format/BlendFileDnaExporter_25.py

Added Paths:
-----------
    trunk/blender/doc/blender_file_format/README

Modified: trunk/blender/doc/blender_file_format/BlendFileDnaExporter_25.py
===================================================================
--- trunk/blender/doc/blender_file_format/BlendFileDnaExporter_25.py	2010-11-01 11:50:15 UTC (rev 32811)
+++ trunk/blender/doc/blender_file_format/BlendFileDnaExporter_25.py	2010-11-01 13:27:33 UTC (rev 32812)
@@ -383,8 +383,8 @@
     print("Options:")
     print("\t--dna-keep-blend:      doesn't delete the produced blend file DNA export to html")
     print("\t--dna-debug:           sets the logging level to DEBUG (lots of additional info)")
-    print("\t--dna-versioned'       saves version informations in the html and blend filenames")
-    print("\t--dna-overwrite-css'   overwrite dna.css, useful when modifying css in the script")
+    print("\t--dna-versioned        saves version informations in the html and blend filenames")
+    print("\t--dna-overwrite-css    overwrite dna.css, useful when modifying css in the script")
     print("Examples:")
     print("\tdefault:       % blender2.5 -b -P BlendFileDnaExporter_25.py")
     print("\twith options:  % blender2.5 -b -P BlendFileDnaExporter_25.py -- --dna-keep-blend --dna-debug\n")

Added: trunk/blender/doc/blender_file_format/README
===================================================================
--- trunk/blender/doc/blender_file_format/README	                        (rev 0)
+++ trunk/blender/doc/blender_file_format/README	2010-11-01 13:27:33 UTC (rev 32812)
@@ -0,0 +1,29 @@
+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 informations 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 -b -P 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 informations in the html and blend filenames
+        --dna-overwrite-css    overwrite dna.css, useful when modifying css in the script
+Examples:
+        default:       % blender2.5 -b -P BlendFileDnaExporter_25.py
+        with options:  % blender2.5 -b -P BlendFileDnaExporter_25.py -- --dna-keep-blend --dna-debug
+
+





More information about the Bf-blender-cvs mailing list