def getGerber(self, flashes=True):
        if flashes == True:
            gerber = (self._preamble+
                      self._flattened_commands+
                      self._flashes+
                      self._postamble)
        else:
            gerber = (self._preamble+
                      self._flattened_commands+
                      self._postamble)
        
        return gerber
Return the complete Gerber
dataset/ETHPy150Open boldport/pcbmode/pcbmode/utils/gerber.py/Gerber.getGerber