call exporter with python
I actually found a way to track all operations by typing

bpy.app.debug_wm = True


in the script window.

From this, you see too much information, but you can see the actually operations.

To export with


Babylon.js: bpy.ops.scene.babylon(filepath="test.babylon")
STL: bpy.ops.export_mesh.stl(filepath="untitled.stl")


Hope this will help other people.