summaryrefslogtreecommitdiff
path: root/examples/load_directory.py
blob: 6e1f901dd6ca6225655c32e50673304913330a4c (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/usr/bin/env python3

if __name__ == '__main__':
    import argparse
    parser = argparse.ArgumentParser()
    parser.add_argument('input', help='Input Gerber directory')
    args = parser.parse_args()

    import gerbonara
    print(gerbonara.LayerStack.from_directory(args.input))