"Fossies" - the Fresh Open Source Software Archive

Member "blender-2.93.1/release/scripts/addons/presets/pov/light/23_(30000K)_40W_Black_Light_Bulb.py" (22 Apr 2021, 344 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 #Starting from 1918 (World War I Wood's glass)
    2 
    3 import bpy
    4 bpy.context.object.data.type = 'POINT'
    5 lampdata = bpy.context.object.data
    6 
    7 lampdata.color = (0.6549019813537598, 0.0, 1.0)
    8 lampdata.energy = 1.86515#100/21.446 #lumen values/21.446 or lux when available used as a basis
    9 lampdata.distance = 0.01
   10 lampdata.falloff_type = 'INVERSE_SQUARE'