#NEWLINE# def to_excellon( self , settings ) : #NEWLINE# #INDENT# stmt = ( 'R%d' % self . count ) #NEWLINE# if ( ( self . xdelta is not None ) and ( self . xdelta != 0.0 ) ) : #NEWLINE# #INDENT# stmt += ( 'X%s' % write_gerber_value ( self . xdelta , settings . format , settings . zero_suppression ) ) #NEWLINE# #UNINDENT# if ( ( self . ydelta is not None ) and ( self . ydelta != 0.0 ) ) : #NEWLINE# #INDENT# stmt += ( 'Y%s' % write_gerber_value ( self . ydelta , settings . format , settings . zero_suppression ) ) #NEWLINE# #UNINDENT# return stmt