"Fossies" - the Fresh Open Source Software Archive

Member "blender-2.92.0-linux64/2.92/scripts/addons/presets/pov/light/08_(2600K)_40w_Tungsten.py" (13 Jan 2021, 324 Bytes) of package /linux/misc/blender-2.92.0-linux64.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 #since 1908
    2 
    3 import bpy
    4 bpy.context.object.data.type = 'POINT'
    5 lampdata = bpy.context.object.data
    6 
    7 lampdata.color = (1.0, 0.8196078431372549, 0.6980392156862745)
    8 lampdata.energy = 2.98424#400/21.446 #lumen values/21.446 or lux when available used as a basis
    9 lampdata.distance = 0.05
   10 lampdata.falloff_type = 'INVERSE_SQUARE'