import bpy bpy.context.camera.sensor_width = 4.8 bpy.context.camera.sensor_height = 3.6 bpy.context.camera.lens = 3.70 bpy.context.camera.sensor_fit = 'HORIZONTAL'