def to_gerber(self, settings=None):
        if any(self.modifiers):
            return '%ADD{0}{1},{2}*%'.format(self.d, self.shape, ','.join(['X'.join(["%.4g" % x for x in modifier]) for modifier in self.modifiers]))
        else:
            return '%ADD{0}{1}*%'.format(self.d, self.shape)
dataset/ETHPy150Open curtacircuitos/pcb-tools/gerber/gerber_statements.py/ADParamStmt.to_gerber/original