Did I find the right examples for you? yes no

All Samples(0)  |  Call(0)  |  Derive(0)  |  Import(0)

src/b/l/blenderpython-HEAD/scripts/addons_extern/sun_position/map.py   blenderpython(Download)
        self.image.bindcode = 0
        self.isActive = False
        Sun.SP.ShowMap = False
 
    def load_blender_image(self, file_name):
def key_A(event):
    if event.value == 'PRESS':
        if Map.object[0].focused:
            Sun.SP.ObjectGroup = 'ANALEMMA'
        else:
def key_E(event):
    if event.value == 'PRESS':
        if Map.object[0].focused:
            Sun.SP.ObjectGroup = 'ECLIPTIC'
        else:
def day_change_bounds(wf):
    if Sun.SP.Day_of_year + wf > 366:
        Sun.SP.Day_of_year = 1
        Sun.SP.Year += 1
    elif Sun.SP.Day_of_year + wf < 1:
        Sun.SP.Day_of_year = 366

src/b/l/blenderpython-HEAD/scripts/addons_extern/sun_position/hdr.py   blenderpython(Download)
        self.image.bindcode = 0
        self.isActive = False
        Sun.SP.ShowHdr = False
        Sun.SP.BindToSun = True
        Sun.BindToSun = False
            envTex = nt.get(Sun.HDR_texture)
            if envTex.type != "TEX_ENVIRONMENT":
                Sun.SP.ShowHdr = False
            elif envTex.image == None:
                Sun.SP.ShowHdr = False
           if not Hdr.load_blender_image(fileName):
               print("Could not load image file: ", Hdr.image.name)
               Sun.SP.ShowHdr = False
           else:
               try:

src/b/l/blenderpython-HEAD/scripts/addons_extern/sun_position/north.py   blenderpython(Download)
        self.refresh_screen()
 
        Sun.SP.ShowNorth = False
        Sun.ShowNorth = False