Python generator for creating lightning effects in CINEMA 4D