mirror of
https://github.com/nophead/Mendel90.git
synced 2025-01-17 12:58:16 +01:00
77b4add099
Added hash bangs for Linux users.
21 lines
416 B
Python
21 lines
416 B
Python
#!/usr/bin/env python
|
|
|
|
import sys
|
|
from bom import boms
|
|
from sheets import sheets
|
|
from stls import stls
|
|
from plates import plates
|
|
|
|
def make_machine(machine):
|
|
boms(machine)
|
|
sheets(machine)
|
|
stls(machine)
|
|
plates(machine)
|
|
|
|
if __name__ == '__main__':
|
|
if len(sys.argv) > 1:
|
|
make_machine(sys.argv[1])
|
|
else:
|
|
print "usage: make_machine [mendel|sturdy|your_machine]"
|
|
sys.exit(1)
|