Blender  V2.59
Functions | Variables
ui_snapshot Namespace Reference

Functions

def clear_startup_blend
def force_redraw
def fake_poll
def screenshot
def context_setup
def main

Variables

 REMOVE_CMP_IMAGES = True
string TEMP_DIR = "/tmp"
dictionary PROPERTY_MAPPING
string magick_command = 'convert "%s" "%s" \( -clone 0 -clone 1 -compose difference -composite -threshold 0 \) -delete 1 -alpha off -compose copy_opacity -composite -trim "%s" '

Function Documentation

def ui_snapshot::clear_startup_blend ( )

Definition at line 65 of file ui_snapshot.py.

Referenced by main().

def ui_snapshot::context_setup (   bl_context,
  class_name 
)

Definition at line 87 of file ui_snapshot.py.

Referenced by main().

def ui_snapshot::fake_poll (   cls,
  context 
)

Definition at line 80 of file ui_snapshot.py.

def ui_snapshot::force_redraw ( )

Definition at line 77 of file ui_snapshot.py.

Referenced by screenshot().

def ui_snapshot::main ( )

Definition at line 108 of file ui_snapshot.py.

References clear_startup_blend(), context_setup(), and screenshot().

def ui_snapshot::screenshot (   path)

Definition at line 83 of file ui_snapshot.py.

References force_redraw().

Referenced by main().


Variable Documentation

string ui_snapshot::magick_command = 'convert "%s" "%s" \( -clone 0 -clone 1 -compose difference -composite -threshold 0 \) -delete 1 -alpha off -compose copy_opacity -composite -trim "%s" '

Definition at line 60 of file ui_snapshot.py.

Initial value:
00001 {
00002     "armature_edit": 'DATA',
00003     "bone": 'BONE',
00004     "bone_constraint": '',
00005     "constraint": '',
00006     "curve_edit": '',
00007     "data": '',
00008     "imagepaint": '',
00009     "lattice_edit": 'DATA',
00010     "material": 'MATERIAL',
00011     "mball_edit": '',
00012     "mesh_edit": '',
00013     "modifier": '',
00014     "object": 'OBJECT',
00015     "objectmode": '',
00016     "particle": '',
00017     "particlemode": '',
00018     "physics": '',
00019     "posemode": '',  # toolbar
00020     "render": 'RENDER',
00021     "scene": 'SCENE',
00022     "surface_edit": '',
00023     "text_edit": '',
00024     "texture": '',
00025     "vertexpaint": '',
00026     "weightpaint": '',
00027     "world": 'WORLD',
00028 }

Definition at line 30 of file ui_snapshot.py.

Definition at line 27 of file ui_snapshot.py.

string ui_snapshot::TEMP_DIR = "/tmp"

Definition at line 28 of file ui_snapshot.py.