blender/release/scripts/presets/camera/Nexus_5.py

6 lines
185 B
Python
Raw Normal View History

import bpy
bpy.context.object.data.sensor_width = 4.5
bpy.context.object.data.sensor_height = 3.37
bpy.context.object.data.lens = 3.91
bpy.context.object.data.sensor_fit = 'HORIZONTAL'