Did I find the right examples for you? yes no      Crawl my project      Python Jobs

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

src/p/y/PyPRP-HEAD/PyPRP/prp_Wizards.py   PyPRP(Download)
 
                    # both offsets and scales
                    if ((Blender.Ipo.MA_OFSX in ipo) and (Blender.Ipo.MA_OFSY in ipo) and (Blender.Ipo.MA_OFSZ in ipo) and
                        (Blender.Ipo.MA_SIZEX in ipo) and (Blender.Ipo.MA_SIZEY in ipo) and (Blender.Ipo.MA_SIZEZ in ipo) and
                        len(ipo[Blender.Ipo.MA_OFSX].bezierPoints) == len(ipo[Blender.Ipo.MA_SIZEX].bezierPoints)):
 
                    # just offsets
                    elif (Blender.Ipo.MA_OFSX in ipo) and (Blender.Ipo.MA_OFSY in ipo) and (Blender.Ipo.MA_OFSZ in ipo):
                        # check static size range
                        ok = -100 <= sx and sx <= 100 and -100 <= sy and sy <= 100
 
                    # both offsets and scales
                    if ((Blender.Ipo.MA_OFSX in ipo) and (Blender.Ipo.MA_OFSY in ipo) and (Blender.Ipo.MA_OFSZ in ipo) and
                        (Blender.Ipo.MA_SIZEX in ipo) and (Blender.Ipo.MA_SIZEY in ipo) and (Blender.Ipo.MA_SIZEZ in ipo) and
                        len(ipo[Blender.Ipo.MA_OFSX].bezierPoints) == len(ipo[Blender.Ipo.MA_SIZEX].bezierPoints)):
 
                    # just offsets
                    elif (Blender.Ipo.MA_OFSX in ipo) and (Blender.Ipo.MA_OFSY in ipo) and (Blender.Ipo.MA_OFSZ in ipo):
                        if -100 <= sx and sx <= 100 and -100 <= sy and sy <= 100:
                            nAnimated.append(name)

src/p/y/PyPRP-HEAD/PyPRP/prp_MatClasses.py   PyPRP(Download)
 
        # both offsets and scales
        if ((Ipo.MA_OFSX in ipo) and (Ipo.MA_OFSY in ipo) and (Ipo.MA_OFSZ in ipo) and
            (Ipo.MA_SIZEX in ipo) and (Ipo.MA_SIZEY in ipo) and (Ipo.MA_SIZEZ in ipo) and
            (len(ipo[Ipo.MA_OFSX].bezierPoints) == len(ipo[Ipo.MA_SIZEX].bezierPoints))):
                endFrame = xcurve[-1].pt[0]
        # just offsets
        elif (Ipo.MA_OFSX in ipo) and (Ipo.MA_OFSY in ipo) and (Ipo.MA_OFSZ in ipo):
            KeyList = []
 

src/b/l/blender_nif_plugin-HEAD/todo/old_tests/runtest_varia.py   blender_nif_plugin(Download)
        # check that there is material offset animation data
        assert(mat.ipo)
        assert(mat.ipo[Blender.Ipo.MA_OFSX])
        # export
        nif = self.test(