Welcome to mirror list, hosted at ThFree Co, Russian Federation.

2__colon__3_inch.py « tracking_camera « presets « scripts « release - git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 8936e627d77aa5a1dfac273aa0859fff801c984a (plain)
1
2
3
4
5
6
7
8
9
import bpy
camera = bpy.context.edit_movieclip.tracking.camera

camera.sensor_width = 9.6
camera.units = 'MILLIMETERS'
camera.pixel_aspect = 1
camera.k1 = 0.0
camera.k2 = 0.0
camera.k3 = 0.0