"Fossies" - the Fresh Open Source Software Archive

Member "blender-2.93.1/release/scripts/presets/camera/1_colon_2.5_inch.py" (22 Apr 2021, 135 Bytes) of package /linux/misc/blender-2.93.1.tar.xz:

As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Python source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 import bpy
    2 bpy.context.camera.sensor_width = 5.76
    3 bpy.context.camera.sensor_height = 4.29
    4 bpy.context.camera.sensor_fit = 'HORIZONTAL'