#NEWLINE# def __init__( self , settings , **kwargs ) : #NEWLINE# #INDENT# if ( kwargs . get ( 'id' ) is not None ) : #NEWLINE# #INDENT# super ( ExcellonTool , self ) . __init__ ( id = kwargs . get ( 'id' ) ) #NEWLINE# #UNINDENT# self . settings = kwargs #NEWLINE# self . number = kwargs . get ( 'number' ) #NEWLINE# self . feed_rate = kwargs . get ( 'feed_rate' ) #NEWLINE# self . retract_rate = kwargs . get ( 'retract_rate' ) #NEWLINE# self . rpm = kwargs . get ( 'rpm' ) #NEWLINE# self . diameter = kwargs . get ( 'diameter' ) #NEWLINE# self . max_hit_count = kwargs . get ( 'max_hit_count' ) #NEWLINE# self . depth_offset = kwargs . get ( 'depth_offset' ) #NEWLINE# self . hit_count = 0