#NEWLINE# def init( ) : #NEWLINE# #INDENT# nAttr = OpenMaya . MFnNumericAttribute ( ) #NEWLINE# kFloat = OpenMaya . MFnNumericData . kFloat #NEWLINE# Circler . input = nAttr . create ( 'input' , 'in' , kFloat , 0.0 ) #NEWLINE# nAttr . setStorable ( True ) #NEWLINE# Circler . scale = nAttr . create ( 'scale' , 'sc' , nAttr , 10.0 ) #NEWLINE# nAttr . setStorable ( True ) #NEWLINE# Circler . frames = nAttr . create ( 'frames' , 'fr' , kFloat , 48.0 ) #NEWLINE# nAttr . setStorable ( True ) #NEWLINE# Circler . outSine = nAttr . create ( 'outSine' , 'so' , kFloat , 0.0 ) #NEWLINE# nAttr . setWritable ( False ) #NEWLINE# nAttr . setStorable ( False ) #NEWLINE# Circler . outCosine = nAttr . create ( 'outCosine' , 'co' , kFloat , 0.0 ) #NEWLINE# nAttr . setWritable ( False ) #NEWLINE# nAttr . setStorable ( False ) #NEWLINE# Circler . addAttribute ( Circler . input ) #NEWLINE# Circler . addAttribute ( Circler . scale ) #NEWLINE# Circler . addAttribute ( Circler . frames ) #NEWLINE# Circler . addAttribute ( Circler . outSine ) #NEWLINE# Circler . addAttribute ( Circler . outCosine ) #NEWLINE# Circler . attributeAffects ( Circler . input , Circler . outSine ) #NEWLINE# Circler . attributeAffects ( Circler . input , Circler . outCosine ) #NEWLINE# Circler . attributeAffects ( Circler . scale , Circler . outSine ) #NEWLINE# Circler . attributeAffects ( Circler . scale , Circler . outCosine ) #NEWLINE# Circler . attributeAffects ( Circler . frames , Circler . outSine ) #NEWLINE# Circler . attributeAffects ( Circler . frames , Circler . outCosine )