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

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

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