Beispiel #1
0
def generate_gerber():
    args = lambda: None
    args.input_pcb = os.path.join(PATH_THIS, 'panel-daisy.kicad_pcb')
    args.input_net = ''
    args.manufacturer = 'pcbpool'
    args.output_dir = os.path.join(PATH_THIS, 'artifacts')

    kcgen.generate_pcb(args)
Beispiel #2
0
def build():
    args = lambda: None
    args.input_net = os.path.join(PATH_THIS, 'switch.net')
    args.input_pcb = os.path.join(PATH_THIS, 'switch.kicad_pcb')
    args.manufacturer = 'pcbpool'
    args.output_dir = os.path.join(PATH_THIS, 'artifacts')

    kcgen.generate_pcb(args)
    kcgen.generate_bom(args)