Assimp  v3.1.1 (June 2014)
gen_db Namespace Reference

Functions

def clean (f)
 
def extract_zip ()
 
def gen_db (ext_list, outfile)
 
def make_zip ()
 
def process_dir (d, outfile, file_filter)
 

Variables

 assimp_bin_path = sys.argv[1]
 
 err
 
 ext_list = m[10:].split(",")
 
 nozip = True
 
 outfile = open(os.path.join("..", "results", "gen_regression_db_output.txt"), "w")
 
 preview = True
 
 stdout
 
string usage
 

Function Documentation

§ clean()

def gen_db.clean (   f)

§ extract_zip()

def gen_db.extract_zip ( )
Unzip <settings.database_name>.zip to
./<settings.database_name>

§ gen_db()

def gen_db.gen_db (   ext_list,
  outfile 
)
Generate the crash dump database in
./<settings.database_name>

§ make_zip()

def gen_db.make_zip ( )
Zip the contents of ./<settings.database_name>
to <settings.database_name>.zip using DEFLATE
compression to minimize the file size. 

§ process_dir()

def gen_db.process_dir (   d,
  outfile,
  file_filter 
)
Generate small dump records for all files in 'd' 

Variable Documentation

§ assimp_bin_path

gen_db.assimp_bin_path = sys.argv[1]

§ err

gen_db.err

§ ext_list

gen_db.ext_list = m[10:].split(",")

§ nozip

bool gen_db.nozip = True

§ outfile

gen_db.outfile = open(os.path.join("..", "results", "gen_regression_db_output.txt"), "w")

§ preview

bool gen_db.preview = True

§ stdout

gen_db.stdout

§ usage

string gen_db.usage
Initial value:
1 = """gen_db [assimp_binary] [-i=...] [-e=...] [-p] [-n]
2 
3 The assimp_cmd (or assimp) binary to use is specified by the first
4 command line argument and defaults to ``assimp``.
5 
6 To build, set ``ASSIMP_BUILD_ASSIMP_TOOLS=ON`` in CMake. If generating
7 configs for an IDE, make sure to build the assimp_cmd project.
8 
9 -i,--include: List of file extensions to update dumps for. If omitted,
10  all file extensions are updated except those in `exclude`.
11  Example: -ixyz,abc
12  -i.xyz,.abc
13  --include=xyz,abc
14 
15 -e,--exclude: Merged with settings.exclude_extensions to produce a
16  list of all file extensions to ignore. If dumps exist,
17  they are not altered. If not, theu are not created.
18 
19 -p,--preview: Preview list of file extensions touched by the update.
20  Dont' change anything.
21 
22 -n,--nozip: Don't pack to ZIP archive. Keep all dumps in individual files.
23 """