Exemplo n.º 1
0
def getCrnPtsPcb__test(pcb_file):
    pts = getCrnPts.get_MinMax_xy_pcb(pcb_file)
    print pts
    print "pcb file", pcb_file
    draw.drawBox_pcb(pcb_file,pts)
    openPcb = """pcb %s""" % pcb_file
    print "openpcb: ",open
    subprocess.call(['sh','-c',openPcb])
Exemplo n.º 2
0
def draw_drawBoxPcb__test(file,pts):
    """Call drawbox pcb and launch pcb.
        You should expect to see a box at the coordinates"""
    draw.drawBox_pcb(file,pts)
    openPcb = """pcb %s""" % file
    subprocess.call(['sh','-c',openPcb])