示例#1
0
文件: test.py 项目: mldelibero/geda2
def draw_drawBox_Sch__test(sch_file,pts):
    """Run drawbox sch and launch gschem.
        You should expect to see a box at the coordinates"""
    draw.drawBox_sch(sch_file,pts)
    openSch = """gschem %s""" % sch_file
    subprocess.call(['sh','-c',openSch])
示例#2
0
文件: test.py 项目: mldelibero/geda2
def getCrnPtsSch__test(sch_file):
    pts = getCrnPts.get_MinMax_xy_sch(sch_file)
    print pts
    draw.drawBox_sch(sch_file,pts)
    openSch = """gschem %s""" % sch_file
    subprocess.call(['sh','-c',openSch])