Package pyffi :: Package spells :: Package nif :: Module dump
[hide private]
[frames] | no frames]

Module dump

source code

Spells for dumping particular blocks from nifs.
Classes [hide private]
  SpellDumpAll
Dump the whole nif file.
  SpellDumpTex
Dump the texture and material info of all geometries.
  SpellHtmlReport
Make a html report of selected blocks.
  SpellExportPixelData
Export embedded images as DDS files.
Functions [hide private]
 
tohex(value, nbytes=4)
Improved version of hex.
source code
 
dumpArray(arr)
Format an array.
source code
 
dumpBlock(block)
Return formatted string for block without following references.
source code
 
dumpAttr(attr)
Format an attribute.
source code
Variables [hide private]
  __package__ = 'pyffi.spells.nif'
Function Details [hide private]

dumpArray(arr)

source code 
Format an array.
Parameters:
  • arr (L{pyffi.object_models.xml.array.Array}) - An array.
Returns:
String describing the array.

dumpBlock(block)

source code 
Return formatted string for block without following references.
Parameters:
  • block (L{NifFormat.NiObject}) - The block to print.
Returns:
String string describing the block.

dumpAttr(attr)

source code 
Format an attribute.
Parameters:
  • attr ((anything goes)) - The attribute to print.
Returns:
String for the attribute.