Developer Documentation
OpenFlipper Python Scripting and Batch Mode

OpenFlipper Batch mode with python

OpenFlipper can be started in batch mode without a graphical user interface by providing "-b" as a command line option. Furthermore you have to provide an OpenFlipper python script (extension is .ofp), which will get executed. To get output to the command line, you also have to provide the command line switch "-c". Only plugins which support batch mode ( They implement an nogui() function ), will be loaded. For example, no renderers, postprocessors or other plugins providing only user interface or graphical functionality will be loaded. You can see on the command line (when "-c" is given), which plugins are activated and which are skipped in batch mode.

DataTypes

Matrix4x4 data type

The Matrix4x4T type used in the C++ code is mapped from python. Details can be found here: Matrix4x4 data type used for python scripting

3 Dimensional vector type

The Vector type used in the C++ code is mapped from python. Details can be found here: Vector data type used for python scripting

IDList data type

The IdList type used in the C++ code is mapped from python. Details can be found here: IDList data type used for python scripting