"Fossies" - the Fresh Open Source Software Archive

Member "blender-2.93.1/release/scripts/presets/tracking_camera/1__colon__2.3_inch.py" (22 Apr 2021, 192 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 camera = bpy.context.edit_movieclip.tracking.camera
    3 
    4 camera.sensor_width = 6.16
    5 camera.units = 'MILLIMETERS'
    6 camera.pixel_aspect = 1
    7 camera.k1 = 0.0
    8 camera.k2 = 0.0
    9 camera.k3 = 0.0