#NEWLINE# @ drill_color . setter #NEWLINE# def drill_color( self , color ) : #NEWLINE# #INDENT# if ( len ( color ) != 3 ) : #NEWLINE# #INDENT# raise TypeError ( 'Drill color must be a tuple of R, G, and B values' ) #NEWLINE# #UNINDENT# for c in color : #NEWLINE# #INDENT# if ( ( c < 0 ) or ( c > 1 ) ) : #NEWLINE# #INDENT# raise ValueError ( 'Channel values must be between 0.0 and 1.0' ) #NEWLINE# #UNINDENT# #UNINDENT# self . _drill_color = self